| /linux/drivers/s390/net/ |
| H A D | ctcm_mpc.c | 107 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb); 1027 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcmpc_unpack_skb() argument 1045 header = (struct th_header *)pskb->data; in ctcmpc_unpack_skb() 1054 CTCM_PR_DBGDATA("%s: pskb len: %04x \n", __func__, pskb->len); in ctcmpc_unpack_skb() 1056 pskb->dev = dev; in ctcmpc_unpack_skb() 1057 pskb->ip_summed = CHECKSUM_UNNECESSARY; in ctcmpc_unpack_skb() 1058 skb_pull(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb() 1073 __skb_push(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb() 1074 skb_queue_tail(&ch->io_queue, pskb); in ctcmpc_unpack_skb() 1089 while ((pskb->len > 0) && !pdu_last_seen) { in ctcmpc_unpack_skb() [all …]
|
| H A D | ctcm_main.c | 74 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcm_unpack_skb() argument 78 __u16 len = *((__u16 *) pskb->data); in ctcm_unpack_skb() 80 skb_put(pskb, 2 + LL_HEADER_LENGTH); in ctcm_unpack_skb() 81 skb_pull(pskb, 2); in ctcm_unpack_skb() 82 pskb->dev = dev; in ctcm_unpack_skb() 83 pskb->ip_summed = CHECKSUM_UNNECESSARY; in ctcm_unpack_skb() 87 struct ll_header *header = (struct ll_header *)pskb->data; in ctcm_unpack_skb() 89 skb_pull(pskb, LL_HEADER_LENGTH); in ctcm_unpack_skb() 109 pskb->protocol = cpu_to_be16(header->type); in ctcm_unpack_skb() 127 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/net/ipvlan/ |
| H A D | ipvlan_core.c | 324 static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb, in ipvlan_rcv_frame() argument 332 struct sk_buff *skb = *pskb; in ipvlan_rcv_frame() 348 *pskb = skb; in ipvlan_rcv_frame() 723 static rx_handler_result_t ipvlan_handle_mode_l3(struct sk_buff **pskb, in ipvlan_handle_mode_l3() argument 729 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l3() 738 ret = ipvlan_rcv_frame(addr, pskb, false); in ipvlan_handle_mode_l3() 744 static rx_handler_result_t ipvlan_handle_mode_l2(struct sk_buff **pskb, in ipvlan_handle_mode_l2() argument 747 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l2() 771 ret = ipvlan_handle_mode_l3(pskb, port); in ipvlan_handle_mode_l2() 777 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/net/bridge/ |
| H A D | br_input.c | 267 static int nf_hook_bridge_pre(struct sk_buff *skb, struct sk_buff **pskb) in nf_hook_bridge_pre() argument 295 *pskb = skb; in nf_hook_bridge_pre() 339 static rx_handler_result_t br_handle_frame(struct sk_buff **pskb) in br_handle_frame() argument 343 struct sk_buff *skb = *pskb; in br_handle_frame() 389 *pskb = skb; in br_handle_frame() 401 *pskb = skb; in br_handle_frame() 442 return nf_hook_bridge_pre(skb, pskb); in br_handle_frame() 458 static rx_handler_result_t br_handle_frame_dummy(struct sk_buff **pskb) in br_handle_frame_dummy() argument
|
| /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/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/net/devlink/ |
| H A D | dpipe.c | 195 static int devlink_dpipe_send_and_alloc_skb(struct sk_buff **pskb, in devlink_dpipe_send_and_alloc_skb() argument 200 if (*pskb) { in devlink_dpipe_send_and_alloc_skb() 201 err = genlmsg_reply(*pskb, info); in devlink_dpipe_send_and_alloc_skb() 205 *pskb = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in devlink_dpipe_send_and_alloc_skb() 206 if (!*pskb) in devlink_dpipe_send_and_alloc_skb()
|
| /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/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/realtek/rtlwifi/ |
| H A D | pci.c | 1013 struct sk_buff *pskb = NULL; in _rtl_pci_prepare_bcn_tasklet() local 1023 pskb = __skb_dequeue(&ring->queue); in _rtl_pci_prepare_bcn_tasklet() 1028 if (pskb) { in _rtl_pci_prepare_bcn_tasklet() 1032 pskb->len, DMA_TO_DEVICE); in _rtl_pci_prepare_bcn_tasklet() 1033 kfree_skb(pskb); in _rtl_pci_prepare_bcn_tasklet() 1037 pskb = ieee80211_beacon_get(hw, mac->vif, 0); in _rtl_pci_prepare_bcn_tasklet() 1038 if (!pskb) in _rtl_pci_prepare_bcn_tasklet() 1040 hdr = rtl_get_hdr(pskb); in _rtl_pci_prepare_bcn_tasklet() 1041 info = IEEE80211_SKB_CB(pskb); in _rtl_pci_prepare_bcn_tasklet() 1047 (u8 *)pbuffer_desc, info, NULL, pskb, in _rtl_pci_prepare_bcn_tasklet() [all …]
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | virt_wifi.c | 501 static rx_handler_result_t virt_wifi_rx_handler(struct sk_buff **pskb) in virt_wifi_rx_handler() argument 503 struct sk_buff *skb = *pskb; in virt_wifi_rx_handler() 517 *pskb = skb; in virt_wifi_rx_handler()
|
| /linux/drivers/net/ |
| H A D | veth.c | 753 struct sk_buff **pskb) in veth_convert_skb_to_xdp_buff() argument 755 struct sk_buff *skb = *pskb; in veth_convert_skb_to_xdp_buff() 761 if (skb_pp_cow_data(rq->page_pool, pskb, XDP_PACKET_HEADROOM)) in veth_convert_skb_to_xdp_buff() 764 skb = *pskb; in veth_convert_skb_to_xdp_buff() 780 *pskb = skb; in veth_convert_skb_to_xdp_buff() 785 *pskb = NULL; in veth_convert_skb_to_xdp_buff()
|
| H A D | macvlan.c | 452 static rx_handler_result_t macvlan_handle_frame(struct sk_buff **pskb) in macvlan_handle_frame() argument 455 struct sk_buff *skb = *pskb; in macvlan_handle_frame() 475 *pskb = skb; in macvlan_handle_frame() 526 *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() 2351 static int __send_and_alloc_skb(struct sk_buff **pskb, in __send_and_alloc_skb() argument 2357 if (*pskb) { in __send_and_alloc_skb() 2358 err = send_func(*pskb, team, portid); in __send_and_alloc_skb() 2362 *pskb = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in __send_and_alloc_skb() 2363 if (!*pskb) in __send_and_alloc_skb()
|
| /linux/net/core/ |
| H A D | dev.c | 5506 netif_skb_check_for_xdp(struct sk_buff **pskb, const struct bpf_prog *prog) in netif_skb_check_for_xdp() argument 5508 struct sk_buff *skb = *pskb; in netif_skb_check_for_xdp() 5512 err = skb_cow_data_for_xdp(this_cpu_read(system_page_pool.pool), pskb, prog); in netif_skb_check_for_xdp() 5531 static u32 netif_receive_generic_xdp(struct sk_buff **pskb, in netif_receive_generic_xdp() argument 5535 struct sk_buff *skb = *pskb; in netif_receive_generic_xdp() 5553 if (netif_skb_check_for_xdp(pskb, xdp_prog)) in netif_receive_generic_xdp() 5557 __skb_pull(*pskb, mac_len); in netif_receive_generic_xdp() 5559 act = bpf_prog_run_generic_xdp(*pskb, xdp, xdp_prog); in netif_receive_generic_xdp() 5566 bpf_warn_invalid_xdp_action((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp() 5569 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 | 2239 struct sk_buff *pskb = csk->wr_skb_head; in chtls_rx_ack() local 2242 if (unlikely(!pskb)) { in chtls_rx_ack() 2247 csum = (__force u32)pskb->csum; in chtls_rx_ack() 2249 pskb->csum = (__force __wsum)(csum - credits); in chtls_rx_ack() 2254 kfree_skb(pskb); in chtls_rx_ack()
|