| /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/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/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/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);
|
| H A D | xfrm.h | 458 int (*output)(struct xfrm_state *, struct sk_buff *pskb); 469 void (*encap)(struct xfrm_state *, struct sk_buff *pskb); 471 int (*xmit)(struct xfrm_state *, struct sk_buff *pskb, netdev_features_t features);
|
| /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 | 503 static rx_handler_result_t virt_wifi_rx_handler(struct sk_buff **pskb) in virt_wifi_rx_handler() argument 505 struct sk_buff *skb = *pskb; in virt_wifi_rx_handler() 519 *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 | 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 | 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 | tap.c | 255 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb) in tap_handle_frame() argument 257 struct sk_buff *skb = *pskb; in tap_handle_frame()
|
| H A D | macsec.c | 1130 static rx_handler_result_t macsec_handle_frame(struct sk_buff **pskb) in macsec_handle_frame() argument 1132 struct sk_buff *skb = *pskb; in macsec_handle_frame() 1157 *pskb = skb; in macsec_handle_frame() 1285 *pskb = NULL; in macsec_handle_frame() 1311 *pskb = NULL; in macsec_handle_frame() 1322 *pskb = NULL; in macsec_handle_frame() 1369 *pskb = skb; in macsec_handle_frame()
|
| /linux/drivers/net/team/ |
| H A D | team_core.c | 741 static rx_handler_result_t team_handle_frame(struct sk_buff **pskb) in team_handle_frame() argument 743 struct sk_buff *skb = *pskb; in team_handle_frame() 752 *pskb = skb; in team_handle_frame() 2596 static int __send_and_alloc_skb(struct sk_buff **pskb, in __send_and_alloc_skb() 2602 if (*pskb) { in __send_and_alloc_skb() 2603 err = send_func(*pskb, team, portid); in __send_and_alloc_skb() 2607 *pskb = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in __send_and_alloc_skb() 2608 if (!*pskb) in __send_and_alloc_skb() 2594 __send_and_alloc_skb(struct sk_buff ** pskb,struct team * team,u32 portid,team_nl_send_func_t * send_func) __send_and_alloc_skb() argument
|
| /linux/net/core/ |
| H A D | dev.c | 5555 netif_skb_check_for_xdp(struct sk_buff **pskb, const struct bpf_prog *prog) in netif_skb_check_for_xdp() 5557 struct sk_buff *skb = *pskb; in netif_skb_check_for_xdp() 5561 err = skb_cow_data_for_xdp(this_cpu_read(system_page_pool.pool), pskb, prog); in netif_skb_check_for_xdp() 5580 static u32 netif_receive_generic_xdp(struct sk_buff **pskb, in netif_receive_generic_xdp() 5584 struct sk_buff *skb = *pskb; in netif_receive_generic_xdp() 5602 if (netif_skb_check_for_xdp(pskb, xdp_prog)) in netif_receive_generic_xdp() 5606 __skb_pull(*pskb, mac_len); in netif_receive_generic_xdp() 5608 act = bpf_prog_run_generic_xdp(*pskb, xdp, xdp_prog); in netif_receive_generic_xdp() 5615 bpf_warn_invalid_xdp_action((*pskb)->dev, xdp_prog, act); in netif_receive_generic_xdp() 5618 trace_xdp_exception((*pskb) in netif_receive_generic_xdp() 5551 netif_skb_check_for_xdp(struct sk_buff ** pskb,const struct bpf_prog * prog) netif_skb_check_for_xdp() argument 5576 netif_receive_generic_xdp(struct sk_buff ** pskb,struct xdp_buff * xdp,const struct bpf_prog * xdp_prog) netif_receive_generic_xdp() argument 5656 do_xdp_generic(const struct bpf_prog * xdp_prog,struct sk_buff ** pskb) do_xdp_generic() argument 5972 __netif_receive_skb_core(struct sk_buff ** pskb,bool pfmemalloc,struct packet_type ** ppt_prev) __netif_receive_skb_core() argument [all...] |
| /linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| H A D | chtls_cm.c | |
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | core.c | 1846 struct sk_buff *pskb = NULL; in rtl_cmd_send_packet() local 1851 pskb = __skb_dequeue(&ring->queue); in rtl_cmd_send_packet() 1852 if (pskb) in rtl_cmd_send_packet() 1853 dev_kfree_skb_irq(pskb); in rtl_cmd_send_packet()
|