Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/staging/rtl8712/
Dusb_ops_linux.c209 _pkt *pskb = precvbuf->pskb; in r8712_usb_read_port_complete() local
216 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete()
220 skb_put(pskb, purb->actual_length); in r8712_usb_read_port_complete()
221 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete()
274 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in r8712_usb_read_port()
276 if (!precvbuf->pskb) { in r8712_usb_read_port()
277 precvbuf->pskb = netdev_alloc_skb(adapter->pnetdev, in r8712_usb_read_port()
279 if (!precvbuf->pskb) in r8712_usb_read_port()
281 tmpaddr = (addr_t)precvbuf->pskb->data; in r8712_usb_read_port()
283 skb_reserve(precvbuf->pskb, in r8712_usb_read_port()
[all …]
Drtl8712_recv.c57 struct sk_buff *pskb = NULL; in r8712_init_recv_priv() local
88 pskb = netdev_alloc_skb(padapter->pnetdev, MAX_RECVBUF_SZ + in r8712_init_recv_priv()
90 if (pskb) { in r8712_init_recv_priv()
91 tmpaddr = (addr_t)pskb->data; in r8712_init_recv_priv()
93 skb_reserve(pskb, (RECVBUFF_ALIGN_SZ - alignment)); in r8712_init_recv_priv()
94 skb_queue_tail(&precvpriv->free_recv_skb_queue, pskb); in r8712_init_recv_priv()
96 pskb = NULL; in r8712_init_recv_priv()
1006 static int recvbuf2recvframe(struct _adapter *padapter, struct sk_buff *pskb) in recvbuf2recvframe() argument
1020 pbuf = pskb->data; in recvbuf2recvframe()
1024 transfer_len = pskb->len; in recvbuf2recvframe()
[all …]
Drecv_linux.c62 precvbuf->pskb = NULL; in r8712_os_recvbuf_resource_alloc()
78 if (precvbuf->pskb) in r8712_os_recvbuf_resource_free()
79 dev_kfree_skb_any(precvbuf->pskb); in r8712_os_recvbuf_resource_free()
Drtl8712_recv.h106 _pkt *pskb; member
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188eu_recv.c52 struct sk_buff *pskb = NULL; in rtw_hal_init_recv_priv() local
57 pskb = __netdev_alloc_skb(padapter->pnetdev, in rtw_hal_init_recv_priv()
59 if (pskb) { in rtw_hal_init_recv_priv()
60 kmemleak_not_leak(pskb); in rtw_hal_init_recv_priv()
62 pskb); in rtw_hal_init_recv_priv()
64 pskb = NULL; in rtw_hal_init_recv_priv()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c31 static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb) in recvbuf2recvframe() argument
47 transfer_len = (s32)pskb->len; in recvbuf2recvframe()
48 pbuf = pskb->data; in recvbuf2recvframe()
373 skb_put(precvbuf->pskb, purb->actual_length); in usb_read_port_complete()
374 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete()
379 precvbuf->pskb = NULL; in usb_read_port_complete()
387 skb_put(precvbuf->pskb, purb->actual_length); in usb_read_port_complete()
388 precvbuf->pskb = NULL; in usb_read_port_complete()
439 if (!precvbuf->reuse || !precvbuf->pskb) { in usb_read_port()
440 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in usb_read_port()
[all …]
/Linux-v4.19/drivers/net/ipvlan/
Dipvlan_core.c316 static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb, in ipvlan_rcv_frame() argument
324 struct sk_buff *skb = *pskb; in ipvlan_rcv_frame()
340 *pskb = skb; in ipvlan_rcv_frame()
682 static rx_handler_result_t ipvlan_handle_mode_l3(struct sk_buff **pskb, in ipvlan_handle_mode_l3() argument
688 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l3()
697 ret = ipvlan_rcv_frame(addr, pskb, false); in ipvlan_handle_mode_l3()
703 static rx_handler_result_t ipvlan_handle_mode_l2(struct sk_buff **pskb, in ipvlan_handle_mode_l2() argument
706 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l2()
727 ret = ipvlan_handle_mode_l3(pskb, port); in ipvlan_handle_mode_l2()
733 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb) in ipvlan_handle_frame() argument
[all …]
/Linux-v4.19/drivers/s390/net/
Dctcm_mpc.c107 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb);
1040 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcmpc_unpack_skb() argument
1058 header = (struct th_header *)pskb->data; in ctcmpc_unpack_skb()
1067 CTCM_PR_DBGDATA("%s: pskb len: %04x \n", __func__, pskb->len); in ctcmpc_unpack_skb()
1069 pskb->dev = dev; in ctcmpc_unpack_skb()
1070 pskb->ip_summed = CHECKSUM_UNNECESSARY; in ctcmpc_unpack_skb()
1071 skb_pull(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1086 __skb_push(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1087 skb_queue_tail(&ch->io_queue, pskb); in ctcmpc_unpack_skb()
1102 while ((pskb->len > 0) && !pdu_last_seen) { in ctcmpc_unpack_skb()
[all …]
Dctcm_main.c75 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 …]
Dnetiucv.c615 struct sk_buff *pskb) in netiucv_unpack_skb() argument
621 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
622 pskb->dev = dev; in netiucv_unpack_skb()
623 pskb->ip_summed = CHECKSUM_NONE; in netiucv_unpack_skb()
624 pskb->protocol = cpu_to_be16(ETH_P_IP); in netiucv_unpack_skb()
628 struct ll_header *header = (struct ll_header *) pskb->data; in netiucv_unpack_skb()
633 skb_pull(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
637 if (skb_tailroom(pskb) < header->next) { in netiucv_unpack_skb()
639 header->next, skb_tailroom(pskb)); in netiucv_unpack_skb()
642 skb_put(pskb, header->next); in netiucv_unpack_skb()
[all …]
/Linux-v4.19/net/bridge/
Dbr_input.c211 rx_handler_result_t br_handle_frame(struct sk_buff **pskb) in br_handle_frame() argument
214 struct sk_buff *skb = *pskb; in br_handle_frame()
259 *pskb = skb; in br_handle_frame()
270 *pskb = skb; in br_handle_frame()
293 *pskb = skb; in br_handle_frame()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c335 precvframe->u.hdr.pkt = rtw_skb_clone(precvbuf->pskb); in rtl8723bs_recv_tasklet()
442 if (precvbuf->pskb == NULL) { in rtl8723bs_init_recv_priv()
446 precvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in rtl8723bs_init_recv_priv()
448 if (precvbuf->pskb) { in rtl8723bs_init_recv_priv()
449 precvbuf->pskb->dev = padapter->pnetdev; in rtl8723bs_init_recv_priv()
451 tmpaddr = (SIZE_PTR)precvbuf->pskb->data; in rtl8723bs_init_recv_priv()
453 skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in rtl8723bs_init_recv_priv()
456 if (precvbuf->pskb == NULL) { in rtl8723bs_init_recv_priv()
Dsdio_ops.c955 if (!recvbuf->pskb) { in sd_recv_rxfifo()
959 recvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in sd_recv_rxfifo()
961 if (recvbuf->pskb) { in sd_recv_rxfifo()
962 recvbuf->pskb->dev = adapter->pnetdev; in sd_recv_rxfifo()
964 tmpaddr = (SIZE_PTR)recvbuf->pskb->data; in sd_recv_rxfifo()
966 skb_reserve(recvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in sd_recv_rxfifo()
969 if (!recvbuf->pskb) { in sd_recv_rxfifo()
976 readbuf = recvbuf->pskb->data; in sd_recv_rxfifo()
986 recvbuf->phead = recvbuf->pskb->head; in sd_recv_rxfifo()
987 recvbuf->pdata = recvbuf->pskb->data; in sd_recv_rxfifo()
[all …]
/Linux-v4.19/net/netfilter/
Dxt_socket.c56 struct sk_buff *pskb = (struct sk_buff *)skb; in socket_match() local
84 pskb->mark = sk->sk_mark; in socket_match()
117 struct sk_buff *pskb = (struct sk_buff *)skb; in socket_mt6_v1_v2_v3() local
145 pskb->mark = sk->sk_mark; in socket_mt6_v1_v2_v3()
Dxt_cluster.c84 struct sk_buff *pskb = (struct sk_buff *)skb; in xt_cluster_mt() local
109 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c247 struct sk_buff *pskb = NULL; in rtl8723_cmd_send_packet() local
253 pskb = __skb_dequeue(&ring->queue); in rtl8723_cmd_send_packet()
254 kfree_skb(pskb); in rtl8723_cmd_send_packet()
/Linux-v4.19/drivers/staging/octeon/
Dethernet-rx.c227 struct sk_buff **pskb = NULL; in cvm_oct_poll() local
255 pskb = (struct sk_buff **) in cvm_oct_poll()
258 prefetch(pskb); in cvm_oct_poll()
269 skb = *pskb; in cvm_oct_poll()
/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.h23 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb);
Drmnet_handlers.c183 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb) in rmnet_rx_handler() argument
185 struct sk_buff *skb = *pskb; in rmnet_rx_handler()
/Linux-v4.19/net/hsr/
Dhsr_slave.c22 static rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb) in hsr_handle_frame() argument
24 struct sk_buff *skb = *pskb; in hsr_handle_frame()
/Linux-v4.19/net/openvswitch/
Dvport-netdev.c71 static rx_handler_result_t netdev_frame_hook(struct sk_buff **pskb) in netdev_frame_hook() argument
73 struct sk_buff *skb = *pskb; in netdev_frame_hook()
/Linux-v4.19/include/net/
Dfailover.h22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dfw.c386 struct sk_buff *pskb = NULL; in _rtl8822be_send_bcn_or_cmd_packet() local
403 pskb = __skb_dequeue(&ring->queue); in _rtl8822be_send_bcn_or_cmd_packet()
405 if (!pskb) in _rtl8822be_send_bcn_or_cmd_packet()
411 pci_unmap_single(rtlpci->pdev, dma_addr, pskb->len, in _rtl8822be_send_bcn_or_cmd_packet()
413 kfree_skb(pskb); in _rtl8822be_send_bcn_or_cmd_packet()
/Linux-v4.19/include/linux/
Dif_tap.h76 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb);
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c57 if (precvbuf->pskb) in rtw_os_recvbuf_resource_free()
59 dev_kfree_skb_any(precvbuf->pskb); in rtw_os_recvbuf_resource_free()

12