/linux/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 314 static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb, in ipvlan_rcv_frame() argument 322 struct sk_buff *skb = *pskb; in ipvlan_rcv_frame() 338 *pskb = skb; in ipvlan_rcv_frame() 712 static rx_handler_result_t ipvlan_handle_mode_l3(struct sk_buff **pskb, in ipvlan_handle_mode_l3() argument 718 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l3() 727 ret = ipvlan_rcv_frame(addr, pskb, false); in ipvlan_handle_mode_l3() 733 static rx_handler_result_t ipvlan_handle_mode_l2(struct sk_buff **pskb, in ipvlan_handle_mode_l2() argument 736 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l2() 757 ret = ipvlan_handle_mode_l3(pskb, port); in ipvlan_handle_mode_l2() 763 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb) in ipvlan_handle_frame() argument [all …]
|
H A D | ipvlan.h | 156 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb);
|
/linux/drivers/s390/net/ |
H A D | ctcm_mpc.c | 107 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb); 1028 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcmpc_unpack_skb() argument 1046 header = (struct th_header *)pskb->data; in ctcmpc_unpack_skb() 1055 CTCM_PR_DBGDATA("%s: pskb len: %04x \n", __func__, pskb->len); in ctcmpc_unpack_skb() 1057 pskb->dev = dev; in ctcmpc_unpack_skb() 1058 pskb->ip_summed = CHECKSUM_UNNECESSARY; in ctcmpc_unpack_skb() 1059 skb_pull(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb() 1074 __skb_push(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb() 1075 skb_queue_tail(&ch->io_queue, pskb); in ctcmpc_unpack_skb() 1090 while ((pskb->len > 0) && !pdu_last_seen) { in ctcmpc_unpack_skb() [all …]
|
H A D | ctcm_main.c | 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->protocol = cpu_to_be16(header->type); in ctcm_unpack_skb() 128 if ((header->length > skb_tailroom(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/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, size); 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/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/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/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/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/net/ |
H A D | failover.h | 22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
|
/linux/include/linux/ |
H A D | if_tap.h | 76 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb);
|
/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/ |
H A D | veth.c | 725 struct sk_buff **pskb) in veth_convert_skb_to_xdp_buff() argument 727 struct sk_buff *skb = *pskb; in veth_convert_skb_to_xdp_buff() 733 if (skb_pp_cow_data(rq->page_pool, pskb, XDP_PACKET_HEADROOM)) in veth_convert_skb_to_xdp_buff() 736 skb = *pskb; in veth_convert_skb_to_xdp_buff() 752 *pskb = skb; in veth_convert_skb_to_xdp_buff() 757 *pskb = NULL; in veth_convert_skb_to_xdp_buff()
|
H A D | net_failover.c | 358 static rx_handler_result_t net_failover_handle_frame(struct sk_buff **pskb) in net_failover_handle_frame() argument 360 struct sk_buff *skb = *pskb; in net_failover_handle_frame()
|
H A D | macvlan.c | 445 static rx_handler_result_t macvlan_handle_frame(struct sk_buff **pskb) in macvlan_handle_frame() argument 448 struct sk_buff *skb = *pskb; in macvlan_handle_frame() 468 *pskb = skb; in macvlan_handle_frame() 519 *pskb = skb; in macvlan_handle_frame()
|
/linux/drivers/net/team/ |
H A D | team_core.c | 722 static rx_handler_result_t team_handle_frame(struct sk_buff **pskb) in team_handle_frame() argument 724 struct sk_buff *skb = *pskb; in team_handle_frame() 733 *pskb = skb; in team_handle_frame() 2418 static int __send_and_alloc_skb(struct sk_buff **pskb, in __send_and_alloc_skb() argument 2424 if (*pskb) { in __send_and_alloc_skb() 2425 err = send_func(*pskb, team, portid); in __send_and_alloc_skb() 2429 *pskb = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in __send_and_alloc_skb() 2430 if (!*pskb) in __send_and_alloc_skb()
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_recv.h | 260 struct sk_buff *pskb; 278 struct sk_buff *pskb; global() member
|
/linux/net/core/ |
H A D | dev.c | 5254 netif_skb_check_for_xdp(struct sk_buff **pskb, const struct bpf_prog *prog) in netif_skb_check_for_xdp() argument 5256 struct sk_buff *skb = *pskb; in netif_skb_check_for_xdp() 5259 if (!skb_cow_data_for_xdp(this_cpu_read(system_page_pool), pskb, prog)) in netif_skb_check_for_xdp() 5276 static u32 netif_receive_generic_xdp(struct sk_buff **pskb, in netif_receive_generic_xdp() argument 5280 struct sk_buff *skb = *pskb; in netif_receive_generic_xdp() 5298 if (netif_skb_check_for_xdp(pskb, xdp_prog)) in netif_receive_generic_xdp() 5302 __skb_pull(*pskb, mac_len); in netif_receive_generic_xdp() 5304 act = bpf_prog_run_generic_xdp(*pskb, xdp, xdp_prog); in netif_receive_generic_xdp() 5311 bpf_warn_invalid_xdp_action((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp() 5314 trace_xdp_exception((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp() [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_tx.c | 183 struct sk_buff **pskb) in ath12k_dp_tx_align_payload() argument 187 struct sk_buff *skb2, *skb = *pskb; in ath12k_dp_tx_align_payload() 212 *pskb = skb2; in ath12k_dp_tx_align_payload()
|