Home
last modified time | relevance | path

Searched refs:pskb (Results 1 – 25 of 36) 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/wireless/ath/ath12k/
H A Ddp_tx.c195 int ath12k_dp_tx_align_payload(struct ath12k_dp *dp, struct sk_buff **pskb) in ath12k_dp_tx_align_payload() argument
199 struct sk_buff *skb2, *skb = *pskb; in ath12k_dp_tx_align_payload()
224 *pskb = skb2; in ath12k_dp_tx_align_payload()
H A Ddp_tx.h25 int ath12k_dp_tx_align_payload(struct ath12k_dp *dp, struct sk_buff **pskb);
/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.c203 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb) in rmnet_rx_handler() argument
205 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/include/net/
H A Dfailover.h22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
/linux/net/hsr/
H A Dhsr_slave.c24 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/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()
233 skb->prev = pskb; in validate_xmit_xfrm()
/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/linux/
H A Dif_tap.h76 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb);
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dpci.c1031 struct sk_buff *pskb = NULL; in _rtl_pci_prepare_bcn_tasklet() local
1041 pskb = __skb_dequeue(&ring->queue); in _rtl_pci_prepare_bcn_tasklet()
1046 if (pskb) { in _rtl_pci_prepare_bcn_tasklet()
1050 pskb->len, DMA_TO_DEVICE); in _rtl_pci_prepare_bcn_tasklet()
1051 kfree_skb(pskb); in _rtl_pci_prepare_bcn_tasklet()
1055 pskb = ieee80211_beacon_get(hw, mac->vif, 0); in _rtl_pci_prepare_bcn_tasklet()
1056 if (!pskb) in _rtl_pci_prepare_bcn_tasklet()
1058 hdr = rtl_get_hdr(pskb); in _rtl_pci_prepare_bcn_tasklet()
1059 info = IEEE80211_SKB_CB(pskb); in _rtl_pci_prepare_bcn_tasklet()
1065 (u8 *)pbuffer_desc, info, NULL, pskb, in _rtl_pci_prepare_bcn_tasklet()
[all …]
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()
/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.h158 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb);
/linux/drivers/net/
H A Dveth.c754 struct sk_buff **pskb) in veth_convert_skb_to_xdp_buff() argument
756 struct sk_buff *skb = *pskb; in veth_convert_skb_to_xdp_buff()
762 if (skb_pp_cow_data(rq->page_pool, pskb, XDP_PACKET_HEADROOM)) in veth_convert_skb_to_xdp_buff()
765 skb = *pskb; in veth_convert_skb_to_xdp_buff()
781 *pskb = skb; in veth_convert_skb_to_xdp_buff()
786 *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 Dmacvlan.c460 static rx_handler_result_t macvlan_handle_frame(struct sk_buff **pskb) in macvlan_handle_frame() argument
463 struct sk_buff *skb = *pskb; in macvlan_handle_frame()
483 *pskb = skb; in macvlan_handle_frame()
538 *pskb = skb; in macvlan_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() argument
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()

12