Home
last modified time | relevance | path

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

12

/linux/drivers/s390/net/
H A Dctcm_mpc.c107 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 Dctcm_main.c74 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 Dctcm_main.h260 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb);
/linux/net/bridge/
H A Dbr_input.c267 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 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/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/devlink/
H A Ddpipe.c195 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 Dfailover.h22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
H A Dxfrm.h458 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 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.c503 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 Dipvlan.h156 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb);
/linux/drivers/net/
H A Dveth.c753 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 Dnet_failover.c358 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 Dtap.c255 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 Dmacsec.c1130 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 Dteam_core.c741 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 Ddev.c5555 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 Dchtls_cm.c
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c1846 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()

12