/linux/net/bridge/ |
H A D | br_input.c | 259 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 D | sdio_ops.c | 808 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 D | rtl8723bs_recv.c | 398 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 D | ctcm_main.c | 73 * 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 D | ctcm_main.h | 260 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb);
|
/linux/net/netfilter/ |
H A D | xt_socket.c | 52 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 D | xt_cluster.c | 81 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 D | fw.c | 121 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 D | ethernet-rx.c | 220 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 D | rmnet_handlers.h | 14 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb);
|
H A D | rmnet_handlers.c | 200 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 D | vport-netdev.c | 57 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 D | hsr_slave.c | 24 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 D | failover.h | 22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
|
/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | recv_linux.c | 48 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 D | if_tap.h | 76 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb);
|
/linux/net/xfrm/ |
H A D | xfrm_device.c | 121 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 D | virt_wifi.c | 499 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 D | ipvlan.h | 156 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb);
|
/linux/drivers/net/ |
H A D | veth.c | 751 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 D | macvlan.c | 446 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 D | team_core.c | 723 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 D | rtw_recv.h | 260 struct sk_buff *pskb; member
|
/linux/net/core/ |
H A D | dev.c | 5323 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 D | chtls_cm.c | 2237 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()
|