/openbmc/linux/drivers/staging/rtl8712/ |
H A D | usb_ops_linux.c | 197 _pkt *pskb = precvbuf->pskb; in r8712_usb_read_port_complete() local 204 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 208 skb_put(pskb, purb->actual_length); in r8712_usb_read_port_complete() 209 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 262 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in r8712_usb_read_port() 264 if (!precvbuf->pskb) { in r8712_usb_read_port() 265 precvbuf->pskb = netdev_alloc_skb(adapter->pnetdev, in r8712_usb_read_port() 267 if (!precvbuf->pskb) in r8712_usb_read_port() 269 tmpaddr = (addr_t)precvbuf->pskb->data; in r8712_usb_read_port() 271 skb_reserve(precvbuf->pskb, in r8712_usb_read_port() [all …]
|
H A D | rtl8712_recv.c | 40 struct sk_buff *pskb = NULL; in r8712_init_recv_priv() local 68 pskb = netdev_alloc_skb(padapter->pnetdev, MAX_RECVBUF_SZ + in r8712_init_recv_priv() 70 if (pskb) { in r8712_init_recv_priv() 71 tmpaddr = (addr_t)pskb->data; in r8712_init_recv_priv() 73 skb_reserve(pskb, (RECVBUFF_ALIGN_SZ - alignment)); in r8712_init_recv_priv() 74 skb_queue_tail(&precvpriv->free_recv_skb_queue, pskb); in r8712_init_recv_priv() 76 pskb = NULL; in r8712_init_recv_priv() 971 static void recvbuf2recvframe(struct _adapter *padapter, struct sk_buff *pskb) in recvbuf2recvframe() argument 985 pbuf = pskb->data; in recvbuf2recvframe() 989 transfer_len = pskb->len; in recvbuf2recvframe() [all …]
|
H A D | recv_linux.c | 49 precvbuf->pskb = NULL; in r8712_os_recvbuf_resource_alloc() 65 if (precvbuf->pskb) in r8712_os_recvbuf_resource_free() 66 dev_kfree_skb_any(precvbuf->pskb); in r8712_os_recvbuf_resource_free()
|
H A D | rtl8712_recv.h | 94 _pkt *pskb; member
|
/openbmc/linux/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 311 static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb, in ipvlan_rcv_frame() argument 319 struct sk_buff *skb = *pskb; in ipvlan_rcv_frame() 335 *pskb = skb; in ipvlan_rcv_frame() 698 static rx_handler_result_t ipvlan_handle_mode_l3(struct sk_buff **pskb, in ipvlan_handle_mode_l3() argument 704 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l3() 713 ret = ipvlan_rcv_frame(addr, pskb, false); in ipvlan_handle_mode_l3() 719 static rx_handler_result_t ipvlan_handle_mode_l2(struct sk_buff **pskb, in ipvlan_handle_mode_l2() argument 722 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l2() 743 ret = ipvlan_handle_mode_l3(pskb, port); in ipvlan_handle_mode_l2() 749 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb) in ipvlan_handle_frame() argument [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_input.c | 253 static int nf_hook_bridge_pre(struct sk_buff *skb, struct sk_buff **pskb) in nf_hook_bridge_pre() argument 281 *pskb = skb; in nf_hook_bridge_pre() 325 static rx_handler_result_t br_handle_frame(struct sk_buff **pskb) in br_handle_frame() argument 328 struct sk_buff *skb = *pskb; in br_handle_frame() 372 *pskb = skb; in br_handle_frame() 383 *pskb = skb; in br_handle_frame() 424 return nf_hook_bridge_pre(skb, pskb); in br_handle_frame() 439 static rx_handler_result_t br_handle_frame_dummy(struct sk_buff **pskb) in br_handle_frame_dummy() argument
|
/openbmc/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 | netiucv.c | 579 struct sk_buff *pskb) in netiucv_unpack_skb() argument 585 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb() 586 pskb->dev = dev; in netiucv_unpack_skb() 587 pskb->ip_summed = CHECKSUM_NONE; in netiucv_unpack_skb() 588 pskb->protocol = cpu_to_be16(ETH_P_IP); in netiucv_unpack_skb() 592 struct ll_header *header = (struct ll_header *) pskb->data; in netiucv_unpack_skb() 597 skb_pull(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb() 601 if (skb_tailroom(pskb) < header->next) { in netiucv_unpack_skb() 603 header->next, skb_tailroom(pskb)); in netiucv_unpack_skb() 606 skb_put(pskb, header->next); in netiucv_unpack_skb() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | sdio_ops.c | 809 if (!recvbuf->pskb) { in sd_recv_rxfifo() 813 recvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in sd_recv_rxfifo() 814 if (!recvbuf->pskb) in sd_recv_rxfifo() 817 recvbuf->pskb->dev = adapter->pnetdev; in sd_recv_rxfifo() 819 tmpaddr = (SIZE_PTR)recvbuf->pskb->data; in sd_recv_rxfifo() 821 skb_reserve(recvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in sd_recv_rxfifo() 825 readbuf = recvbuf->pskb->data; in sd_recv_rxfifo() 832 recvbuf->phead = recvbuf->pskb->head; in sd_recv_rxfifo() 833 recvbuf->pdata = recvbuf->pskb->data; in sd_recv_rxfifo() 834 skb_set_tail_pointer(recvbuf->pskb, size); in sd_recv_rxfifo() [all …]
|
H A D | rtl8723bs_recv.c | 399 if (!precvbuf->pskb) { in rtl8723bs_init_recv_priv() 403 precvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in rtl8723bs_init_recv_priv() 405 if (precvbuf->pskb) { in rtl8723bs_init_recv_priv() 406 precvbuf->pskb->dev = padapter->pnetdev; in rtl8723bs_init_recv_priv() 408 tmpaddr = (SIZE_PTR)precvbuf->pskb->data; in rtl8723bs_init_recv_priv() 410 skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in rtl8723bs_init_recv_priv()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/include/net/ |
H A D | failover.h | 22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | recv_linux.c | 49 if (precvbuf->pskb) { in rtw_os_recvbuf_resource_free() 50 dev_kfree_skb_any(precvbuf->pskb); in rtw_os_recvbuf_resource_free()
|
/openbmc/linux/net/devlink/ |
H A D | dpipe.c | 196 static int devlink_dpipe_send_and_alloc_skb(struct sk_buff **pskb, in devlink_dpipe_send_and_alloc_skb() argument 201 if (*pskb) { in devlink_dpipe_send_and_alloc_skb() 202 err = genlmsg_reply(*pskb, info); in devlink_dpipe_send_and_alloc_skb() 206 *pskb = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in devlink_dpipe_send_and_alloc_skb() 207 if (!*pskb) in devlink_dpipe_send_and_alloc_skb()
|
/openbmc/linux/include/linux/ |
H A D | if_tap.h | 76 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb);
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_device.c | 119 struct sk_buff *skb2, *nskb, *pskb = NULL; in validate_xmit_xfrm() local 220 pskb->next = nskb; in validate_xmit_xfrm() 226 pskb = skb2; in validate_xmit_xfrm()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | pci.c | 1035 struct sk_buff *pskb = NULL; in _rtl_pci_prepare_bcn_tasklet() local 1045 pskb = __skb_dequeue(&ring->queue); in _rtl_pci_prepare_bcn_tasklet() 1050 if (pskb) { in _rtl_pci_prepare_bcn_tasklet() 1054 pskb->len, DMA_TO_DEVICE); in _rtl_pci_prepare_bcn_tasklet() 1055 kfree_skb(pskb); in _rtl_pci_prepare_bcn_tasklet() 1059 pskb = ieee80211_beacon_get(hw, mac->vif, 0); in _rtl_pci_prepare_bcn_tasklet() 1060 if (!pskb) in _rtl_pci_prepare_bcn_tasklet() 1062 hdr = rtl_get_hdr(pskb); in _rtl_pci_prepare_bcn_tasklet() 1063 info = IEEE80211_SKB_CB(pskb); in _rtl_pci_prepare_bcn_tasklet() 1069 (u8 *)pbuffer_desc, info, NULL, pskb, in _rtl_pci_prepare_bcn_tasklet() [all …]
|
/openbmc/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()
|