Home
last modified time | relevance | path

Searched refs:pskb (Results 1 – 25 of 36) sorted by relevance

12

/linux/net/bridge/
H A Dbr_input.c259 static int nf_hook_bridge_pre(struct sk_buff *skb, struct sk_buff **pskb) in nf_hook_bridge_pre() argument
287 *pskb = skb; in nf_hook_bridge_pre()
331 static rx_handler_result_t br_handle_frame(struct sk_buff **pskb) in br_handle_frame() argument
335 struct sk_buff *skb = *pskb; in br_handle_frame()
381 *pskb = skb; in br_handle_frame()
393 *pskb = skb; in br_handle_frame()
434 return nf_hook_bridge_pre(skb, pskb); in br_handle_frame()
450 static rx_handler_result_t br_handle_frame_dummy(struct sk_buff **pskb) in br_handle_frame_dummy() argument
/linux/drivers/staging/rtl8723bs/hal/
H A Dsdio_ops.c808 if (!recvbuf->pskb) { in sd_recv_rxfifo()
812 recvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in sd_recv_rxfifo()
813 if (!recvbuf->pskb) in sd_recv_rxfifo()
816 recvbuf->pskb->dev = adapter->pnetdev; in sd_recv_rxfifo()
818 tmpaddr = (SIZE_PTR)recvbuf->pskb->data; in sd_recv_rxfifo()
820 skb_reserve(recvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in sd_recv_rxfifo()
824 readbuf = recvbuf->pskb->data; in sd_recv_rxfifo()
831 recvbuf->phead = recvbuf->pskb->head; in sd_recv_rxfifo()
832 recvbuf->pdata = recvbuf->pskb->data; in sd_recv_rxfifo()
833 skb_set_tail_pointer(recvbuf->pskb, siz in sd_recv_rxfifo()
[all...]
H A Drtl8723bs_recv.c398 if (!precvbuf->pskb) { in rtl8723bs_init_recv_priv()
402 precvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in rtl8723bs_init_recv_priv()
404 if (precvbuf->pskb) { in rtl8723bs_init_recv_priv()
405 precvbuf->pskb->dev = padapter->pnetdev; in rtl8723bs_init_recv_priv()
407 tmpaddr = (SIZE_PTR)precvbuf->pskb->data; in rtl8723bs_init_recv_priv()
409 skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in rtl8723bs_init_recv_priv()
/linux/drivers/s390/net/
H A Dctcm_main.c73 * pskb The received skb.
75 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcm_unpack_skb() argument
79 __u16 len = *((__u16 *) pskb->data); in ctcm_unpack_skb()
81 skb_put(pskb, 2 + LL_HEADER_LENGTH); in ctcm_unpack_skb()
82 skb_pull(pskb, 2); in ctcm_unpack_skb()
83 pskb->dev = dev; in ctcm_unpack_skb()
84 pskb->ip_summed = CHECKSUM_UNNECESSARY; in ctcm_unpack_skb()
88 struct ll_header *header = (struct ll_header *)pskb->data; in ctcm_unpack_skb()
90 skb_pull(pskb, LL_HEADER_LENGTH); in ctcm_unpack_skb()
110 pskb in ctcm_unpack_skb()
[all...]
H A Dctcm_main.h260 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb);
/linux/net/netfilter/
H A Dxt_socket.c52 struct sk_buff *pskb = (struct sk_buff *)skb; in socket_match() local
80 pskb->mark = READ_ONCE(sk->sk_mark); in socket_match()
113 struct sk_buff *pskb = (struct sk_buff *)skb; in socket_mt6_v1_v2_v3() local
141 pskb->mark = READ_ONCE(sk->sk_mark); in socket_mt6_v1_v2_v3()
H A Dxt_cluster.c81 struct sk_buff *pskb = (struct sk_buff *)skb; in xt_cluster_mt() local
106 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dfw.c121 struct sk_buff *pskb; in _rtl92d_cmd_send_packet() local
124 pskb = __skb_dequeue(&ring->queue); in _rtl92d_cmd_send_packet()
125 kfree_skb(pskb); in _rtl92d_cmd_send_packet()
/linux/drivers/staging/octeon/
H A Dethernet-rx.c220 struct sk_buff **pskb = NULL; in cvm_oct_poll() local
248 pskb = (struct sk_buff **) in cvm_oct_poll()
251 prefetch(pskb); in cvm_oct_poll()
262 skb = *pskb; in cvm_oct_poll()
/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_handlers.h14 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb);
H A Drmnet_handlers.c200 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb) in rmnet_rx_handler() argument
202 struct sk_buff *skb = *pskb; in rmnet_rx_handler()
/linux/net/openvswitch/
H A Dvport-netdev.c57 static rx_handler_result_t netdev_frame_hook(struct sk_buff **pskb) in netdev_frame_hook() argument
59 struct sk_buff *skb = *pskb; in netdev_frame_hook()
/linux/net/hsr/
H A Dhsr_slave.c24 static rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb) in hsr_handle_frame() argument
26 struct sk_buff *skb = *pskb; in hsr_handle_frame()
/linux/include/net/
H A Dfailover.h22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
/linux/drivers/staging/rtl8723bs/os_dep/
H A Drecv_linux.c48 if (precvbuf->pskb) in rtw_os_recvbuf_resource_free()
49 dev_kfree_skb_any(precvbuf->pskb); in rtw_os_recvbuf_resource_free()
/linux/include/linux/
H A Dif_tap.h76 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb);
/linux/net/xfrm/
H A Dxfrm_device.c121 struct sk_buff *skb2, *nskb, *pskb = NULL; in validate_xmit_xfrm() local
218 pskb->next = nskb; in validate_xmit_xfrm()
224 pskb = skb2; in validate_xmit_xfrm()
/linux/drivers/net/wireless/virtual/
H A Dvirt_wifi.c499 static rx_handler_result_t virt_wifi_rx_handler(struct sk_buff **pskb) in virt_wifi_rx_handler() argument
501 struct sk_buff *skb = *pskb; in virt_wifi_rx_handler()
515 *pskb = skb; in virt_wifi_rx_handler()
/linux/drivers/net/ipvlan/
H A Dipvlan.h156 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb);
/linux/drivers/net/
H A Dveth.c751 struct sk_buff **pskb) in veth_convert_skb_to_xdp_buff() argument
753 struct sk_buff *skb = *pskb; in veth_convert_skb_to_xdp_buff()
759 if (skb_pp_cow_data(rq->page_pool, pskb, XDP_PACKET_HEADROOM)) in veth_convert_skb_to_xdp_buff()
762 skb = *pskb; in veth_convert_skb_to_xdp_buff()
778 *pskb = skb; in veth_convert_skb_to_xdp_buff()
783 *pskb = NULL; in veth_convert_skb_to_xdp_buff()
H A Dmacvlan.c446 static rx_handler_result_t macvlan_handle_frame(struct sk_buff **pskb) in macvlan_handle_frame() argument
449 struct sk_buff *skb = *pskb; in macvlan_handle_frame()
469 *pskb = skb; in macvlan_handle_frame()
520 *pskb = skb; in macvlan_handle_frame()
/linux/drivers/net/team/
H A Dteam_core.c723 static rx_handler_result_t team_handle_frame(struct sk_buff **pskb) in team_handle_frame() argument
725 struct sk_buff *skb = *pskb; in team_handle_frame()
734 *pskb = skb; in team_handle_frame()
2401 static int __send_and_alloc_skb(struct sk_buff **pskb, in __send_and_alloc_skb() argument
2407 if (*pskb) { in __send_and_alloc_skb()
2408 err = send_func(*pskb, team, portid); in __send_and_alloc_skb()
2412 *pskb = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in __send_and_alloc_skb()
2413 if (!*pskb) in __send_and_alloc_skb()
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_recv.h260 struct sk_buff *pskb; member
/linux/net/core/
H A Ddev.c5323 netif_skb_check_for_xdp(struct sk_buff **pskb, const struct bpf_prog *prog) in netif_skb_check_for_xdp() argument
5325 struct sk_buff *skb = *pskb; in netif_skb_check_for_xdp()
5329 err = skb_cow_data_for_xdp(this_cpu_read(system_page_pool.pool), pskb, prog); in netif_skb_check_for_xdp()
5348 static u32 netif_receive_generic_xdp(struct sk_buff **pskb, in netif_receive_generic_xdp() argument
5352 struct sk_buff *skb = *pskb; in netif_receive_generic_xdp()
5370 if (netif_skb_check_for_xdp(pskb, xdp_prog)) in netif_receive_generic_xdp()
5374 __skb_pull(*pskb, mac_len); in netif_receive_generic_xdp()
5376 act = bpf_prog_run_generic_xdp(*pskb, xdp, xdp_prog); in netif_receive_generic_xdp()
5383 bpf_warn_invalid_xdp_action((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp()
5386 trace_xdp_exception((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp()
[all …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c2237 struct sk_buff *pskb = csk->wr_skb_head; in chtls_rx_ack() local
2240 if (unlikely(!pskb)) { in chtls_rx_ack()
2245 csum = (__force u32)pskb->csum; in chtls_rx_ack()
2247 pskb->csum = (__force __wsum)(csum - credits); in chtls_rx_ack()
2252 kfree_skb(pskb); in chtls_rx_ack()

12