/drivers/staging/wlan-ng/ |
H A D | p80211netdev.c | 97 static int p80211knetdev_hard_start_xmit(struct sk_buff *skb, 205 * skb skbuff containing a full 802.11 frame. 211 void p80211netdev_rx(wlandevice_t *wlandev, struct sk_buff *skb) argument 214 skb_queue_tail(&wlandev->nsd_rxq, skb); 224 * @skb: pointer to socket buffer 230 static int p80211_convert_to_ether(wlandevice_t *wlandev, struct sk_buff *skb) argument 234 hdr = (struct p80211_hdr_a3 *) skb->data; 249 if (skb_p80211_to_ether(wlandev, wlandev->ethconv, skb) == 0) { 250 skb->dev->last_rx = jiffies; 252 wlandev->netdev->stats.rx_bytes += skb 269 struct sk_buff *skb = NULL; local 320 p80211knetdev_hard_start_xmit(struct sk_buff *skb, netdevice_t *netdev) argument 844 struct sk_buff *skb; local [all...] |
/drivers/isdn/hisax/ |
H A D | l3ni1.c | 430 struct sk_buff *skb; local 433 if (!(skb = l3_alloc_skb(4))) 435 p = skb_put(skb, 4); 437 l3_msg(pc->st, DL_DATA | REQUEST, skb); 444 struct sk_buff *skb; local 455 if (!(skb = l3_alloc_skb(7))) 457 memcpy(skb_put(skb, 7), tmp, 7); 458 l3_msg(pc->st, DL_DATA | REQUEST, skb); 464 struct sk_buff *skb; local 476 if (!(skb 488 struct sk_buff *skb; local 518 struct sk_buff *skb; local 663 check_infoelements(struct l3_process *pc, struct sk_buff *skb, int *checklist) argument 814 l3ni1_get_channel_id(struct l3_process *pc, struct sk_buff *skb) argument 837 l3ni1_get_cause(struct l3_process *pc, struct sk_buff *skb) argument 878 struct sk_buff *skb; local 916 struct sk_buff *skb = arg; local 1141 DecodeSI2(struct sk_buff *skb) argument 1173 struct sk_buff *skb; local 1287 struct sk_buff *skb = arg; local 1326 struct sk_buff *skb = arg; local 1365 struct sk_buff *skb = arg; local 1403 struct sk_buff *skb = arg; local 1423 struct sk_buff *skb = arg; local 1444 struct sk_buff *skb = arg; local 1613 struct sk_buff *skb; local 1670 struct sk_buff *skb = arg; local 1688 struct sk_buff *skb; local 1717 struct sk_buff *skb = arg; local 1807 struct sk_buff *skb = arg; local 1864 struct sk_buff *skb = arg; local 1906 struct sk_buff *skb = arg; local 1918 struct sk_buff *skb = arg; local 1942 struct sk_buff *skb; local 2028 struct sk_buff *skb; local 2137 struct sk_buff *skb = arg; local 2205 struct sk_buff *skb; local 2299 struct sk_buff *skb = arg; local 2356 struct sk_buff *skb = arg; local 2371 struct sk_buff *skb; local 2400 struct sk_buff *skb = arg; local 2417 struct sk_buff *skb = arg; local 2445 struct sk_buff *skb; local 2475 struct sk_buff *skb = arg; local 2509 struct sk_buff *skb = arg; local 2542 struct sk_buff *skb = arg; local 2626 l3ni1_SendSpid(struct l3_process *pc, u_char pr, struct sk_buff *skb, int iNewState) argument 2675 struct sk_buff *skb = arg; local 2844 global_handler(struct PStack *st, int mt, struct sk_buff *skb) argument 2893 struct sk_buff *skb = arg; local [all...] |
/drivers/net/ |
H A D | macvlan.c | 198 static int macvlan_broadcast_one(struct sk_buff *skb, argument 205 return __dev_forward_skb(dev, skb); 207 skb->dev = dev; 209 skb->pkt_type = PACKET_BROADCAST; 211 skb->pkt_type = PACKET_MULTICAST; 231 static void macvlan_broadcast(struct sk_buff *skb, argument 236 const struct ethhdr *eth = eth_hdr(skb); 243 if (skb->protocol == htons(ETH_P_PAUSE)) 256 nskb = skb_clone(skb, GFP_ATOMIC); 262 macvlan_count_rx(vlan, skb 272 struct sk_buff *skb; local 312 macvlan_broadcast_enqueue(struct macvlan_port *port, struct sk_buff *skb) argument 361 macvlan_forward_source_one(struct sk_buff *skb, struct macvlan_dev *vlan) argument 385 macvlan_forward_source(struct sk_buff *skb, struct macvlan_port *port, const unsigned char *addr) argument 404 struct sk_buff *skb = *pskb; local 469 macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) argument 498 macvlan_netpoll_send_skb(struct macvlan_dev *vlan, struct sk_buff *skb) argument 509 macvlan_start_xmit(struct sk_buff *skb, struct net_device *dev) argument 540 macvlan_hard_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned len) argument 1399 macvlan_fill_info_macaddr(struct sk_buff *skb, const struct macvlan_dev *vlan, const int i) argument 1415 macvlan_fill_info(struct sk_buff *skb, const struct net_device *dev) argument [all...] |
H A D | virtio_net.c | 182 static inline struct skb_vnet_hdr *skb_vnet_hdr(struct sk_buff *skb) argument 184 return (struct skb_vnet_hdr *)skb->cb; 249 struct sk_buff *skb; local 257 skb = netdev_alloc_skb_ip_align(vi->dev, GOOD_COPY_LEN); 258 if (unlikely(!skb)) 261 hdr = skb_vnet_hdr(skb); 278 if (copy > skb_tailroom(skb)) 279 copy = skb_tailroom(skb); 280 memcpy(skb_put(skb, copy), p, copy); 287 skb_add_rx_frag(skb, 322 struct sk_buff * skb = buf; local 336 struct sk_buff *skb = page_to_skb(rq, page, 0, len, PAGE_SIZE); local 438 struct sk_buff *skb; local 541 struct sk_buff *skb; local 835 struct sk_buff *skb; local 852 xmit_skb(struct send_queue *sq, struct sk_buff *skb) argument 918 start_xmit(struct sk_buff *skb, struct net_device *dev) argument [all...] |
H A D | xen-netfront.c | 72 #define NETFRONT_SKB_CB(skb) ((struct netfront_cb *)((skb)->cb)) 128 struct sk_buff *skb; member in union:netfront_queue::skb_entry 185 BUILD_BUG_ON(sizeof(list->skb) != sizeof(list->link)); 186 return (unsigned long)list->skb < PAGE_OFFSET; 217 struct sk_buff *skb = queue->rx_skbs[i]; local 219 return skb; 271 struct sk_buff *skb; local 291 skb = __netdev_alloc_skb(queue->info->netdev, 294 if (unlikely(!skb)) 400 struct sk_buff *skb; local 451 xennet_make_frags(struct sk_buff *skb, struct netfront_queue *queue, struct xen_netif_tx_request *tx) argument 550 xennet_count_skb_frag_slots(struct sk_buff *skb) argument 569 xennet_select_queue(struct net_device *dev, struct sk_buff *skb, void *accel_priv, select_queue_fallback_t fallback) argument 587 xennet_start_xmit(struct sk_buff *skb, struct net_device *dev) argument 730 xennet_move_rx_slot(struct netfront_queue *queue, struct sk_buff *skb, grant_ref_t ref) argument 754 struct sk_buff *skb; local 795 struct sk_buff *skb = xennet_get_rx_skb(queue, cons); local 867 xennet_set_skb_gso(struct sk_buff *skb, struct xen_netif_extra_info *gso) argument 896 xennet_fill_frags(struct netfront_queue *queue, struct sk_buff *skb, struct sk_buff_head *list) argument 927 checksum_setup(struct net_device *dev, struct sk_buff *skb) argument 956 struct sk_buff *skb; local 991 struct sk_buff *skb; local 1141 struct sk_buff *skb; local 1168 struct sk_buff *skb; local [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 192 /* free skb in the packet ring at pos idx 202 struct sk_buff *skb = tx_buf->skb; local 207 /* prefetch skb end pointer to speedup dev_kfree_skb() */ 208 prefetch(&skb->end); 210 DP(NETIF_MSG_TX_DONE, "fp[%d]: pkt_idx %d buff @(%p)->skb %p\n", 211 txdata->txq_index, idx, tx_buf, skb); 260 /* release skb */ 261 WARN_ON(!skb); 262 if (likely(skb)) { 510 bnx2x_set_gro_params(struct sk_buff *skb, u16 parsing_flags, u16 len_on_bd, unsigned int pkt_len, u16 num_of_coalesced_segs) argument 574 bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_agg_info *tpa_info, u16 pages, struct sk_buff *skb, struct eth_end_agg_rx_cqe *cqe, u16 cqe_idx) argument 684 bnx2x_gro_ip_csum(struct bnx2x *bp, struct sk_buff *skb) argument 696 bnx2x_gro_ipv6_csum(struct bnx2x *bp, struct sk_buff *skb) argument 708 bnx2x_gro_csum(struct bnx2x *bp, struct sk_buff *skb, void (*gro_func)(struct bnx2x*, struct sk_buff*)) argument 717 bnx2x_gro_receive(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct sk_buff *skb) argument 748 struct sk_buff *skb = NULL; local 843 bnx2x_csum_validate(struct sk_buff *skb, union eth_rx_cqe *cqe, struct bnx2x_fastpath *fp, struct bnx2x_eth_q_stats *qstats) argument 897 struct sk_buff *skb; local 1909 bnx2x_select_queue(struct net_device *dev, struct sk_buff *skb, void *accel_priv, select_queue_fallback_t fallback) argument 3327 bnx2x_xmit_type(struct bnx2x *bp, struct sk_buff *skb) argument 3378 bnx2x_pkt_req_lin(struct bnx2x *bp, struct sk_buff *skb, u32 xmit_type) argument 3461 bnx2x_set_pbd_gso(struct sk_buff *skb, struct eth_tx_parse_bd_e1x *pbd, u32 xmit_type) argument 3496 bnx2x_set_pbd_csum_enc(struct bnx2x *bp, struct sk_buff *skb, u32 *parsing_data, u32 xmit_type) argument 3530 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb, u32 *parsing_data, u32 xmit_type) argument 3552 bnx2x_set_sbd_csum(struct bnx2x *bp, struct sk_buff *skb, struct eth_tx_start_bd *tx_start_bd, u32 xmit_type) argument 3573 bnx2x_set_pbd_csum(struct bnx2x *bp, struct sk_buff *skb, struct eth_tx_parse_bd_e1x *pbd, u32 xmit_type) argument 3621 bnx2x_update_pbds_gso_enc(struct sk_buff *skb, struct eth_tx_parse_bd_e2 *pbd_e2, struct eth_tx_parse_2nd_bd *pbd2, u16 *global_data, u32 xmit_type) argument 3693 bnx2x_set_ipv6_ext_e2(struct sk_buff *skb, u32 *parsing_data, u32 xmit_type) argument 3714 bnx2x_start_xmit(struct sk_buff *skb, struct net_device *dev) argument [all...] |
/drivers/bluetooth/ |
H A D | btwilink.c | 98 static long st_receive(void *priv_data, struct sk_buff *skb) argument 103 if (!skb) 107 kfree_skb(skb); 111 /* Forward skb to HCI core layer */ 112 err = hci_recv_frame(lhst->hdev, skb); 114 BT_ERR("Unable to push skb to HCI core(%d)", err); 118 lhst->hdev->stat.byte_rx += skb->len; 254 static int ti_st_send_frame(struct hci_dev *hdev, struct sk_buff *skb) argument 264 /* Prepend skb with frame type */ 265 memcpy(skb_push(skb, [all...] |
H A D | dtl1_cs.c | 148 register struct sk_buff *skb; local 156 skb = skb_dequeue(&(info->txq)); 157 if (!skb) 161 len = dtl1_write(iobase, 32, skb->data, skb->len); 163 if (len == skb->len) { 165 kfree_skb(skb); 167 skb_pull(skb, len); 168 skb_queue_head(&(info->txq), skb); 179 static void dtl1_control(struct dtl1_info *info, struct sk_buff *skb) argument 388 dtl1_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) argument [all...] |
/drivers/net/wireless/p54/ |
H A D | p54usb.c | 142 struct sk_buff *skb = (struct sk_buff *) urb->context; local 143 struct p54u_rx_info *info = (struct p54u_rx_info *)skb->cb; 147 skb_unlink(skb, &priv->rx_queue); 150 dev_kfree_skb_irq(skb); 154 skb_put(skb, urb->actual_length); 157 skb_pull(skb, priv->common.tx_hdr_len); 159 skb_pull(skb, 4); 160 skb_put(skb, 4); 163 if (p54_rx(dev, skb)) { 164 skb 197 struct sk_buff *skb = urb->context; local 226 struct sk_buff *skb; local 294 p54u_tx_lm87(struct ieee80211_hw *dev, struct sk_buff *skb) argument 323 p54u_tx_net2280(struct ieee80211_hw *dev, struct sk_buff *skb) argument [all...] |
/drivers/net/wireless/rtlwifi/ |
H A D | rc.c | 32 *if skb is special data like DHCP/EAPOL, we set should 39 struct sk_buff *skb, bool not_data) 59 if (rtl_is_special_data(rtlpriv->mac80211.hw, skb, true) || not_data) { 148 struct sk_buff *skb = txrc->skb; local 149 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); 151 __le16 fc = rtl_get_fc(skb); 158 rix = _rtl_rc_get_highest_rix(rtlpriv, sta, skb, not_data); 193 struct sk_buff *skb) 197 struct ieee80211_hdr *hdr = rtl_get_hdr(skb); 37 _rtl_rc_get_highest_rix(struct rtl_priv *rtlpriv, struct ieee80211_sta *sta, struct sk_buff *skb, bool not_data) argument 190 rtl_tx_status(void *ppriv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta, struct sk_buff *skb) argument [all...] |
/drivers/net/wireless/b43legacy/ |
H A D | pio.c | 103 struct sk_buff *skb) 107 skb->data[skb->len - 1]); 186 struct sk_buff *skb, 197 B43legacy_WARN_ON(skb_shinfo(skb)->nr_frags != 0); 199 txhdr, skb->data, skb->len, 200 IEEE80211_SKB_CB(skb), 206 octets = skb->len + txhdr_size; 209 tx_data(queue, txhdr, (u8 *)skb 102 tx_complete(struct b43legacy_pioqueue *queue, struct sk_buff *skb) argument 185 pio_tx_write_fragment(struct b43legacy_pioqueue *queue, struct sk_buff *skb, struct b43legacy_pio_txpacket *packet, size_t txhdr_size) argument 233 struct sk_buff *skb = packet->skb; local 466 b43legacy_pio_tx(struct b43legacy_wldev *dev, struct sk_buff *skb) argument 576 struct sk_buff *skb; local [all...] |
H A D | dma.c | 322 if (meta->skb) { 324 dev_kfree_skb_irq(meta->skb); 326 dev_kfree_skb(meta->skb); 327 meta->skb = NULL; 461 struct sk_buff *skb; local 465 skb = __dev_alloc_skb(ring->rx_buffersize, gfp_flags); 466 if (unlikely(!skb)) 468 dmaaddr = map_descbuffer(ring, skb->data, 474 dev_kfree_skb_any(skb); 476 skb 1013 struct sk_buff *skb = *in_skb; local 1133 b43legacy_dma_tx(struct b43legacy_wldev *dev, struct sk_buff *skb) argument 1311 struct sk_buff *skb; local [all...] |
/drivers/usb/gadget/function/ |
H A D | f_phonet.c | 47 struct sk_buff *skb; member in struct:f_phonet::__anon6982 207 struct sk_buff *skb = req->context; local 212 dev->stats.tx_bytes += skb->len; 222 dev_kfree_skb_any(skb); 226 static int pn_net_xmit(struct sk_buff *skb, struct net_device *dev) argument 233 if (skb->protocol != htons(ETH_P_PHONET)) 242 req->buf = skb->data; 243 req->length = skb->len; 246 req->context = skb; 252 skb 325 struct sk_buff *skb; local [all...] |
/drivers/nfc/ |
H A D | port100.c | 739 struct sk_buff *skb) 742 int payload_len = skb->len; 744 skb_push(skb, PORT100_FRAME_HEADER_LEN); 745 skb_put(skb, PORT100_FRAME_TAIL_LEN); 747 port100_tx_frame_init(skb->data, cmd_code); 748 port100_tx_update_payload_len(skb->data, payload_len); 749 port100_tx_frame_finish(skb->data); 898 struct sk_buff *skb; local 900 skb = alloc_skb(dev->skb_headroom + dev->skb_tailroom + size, 902 if (skb) 738 port100_build_cmd_frame(struct port100 *dev, u8 cmd_code, struct sk_buff *skb) argument 910 struct sk_buff *skb; local 933 struct sk_buff *skb; local 957 struct sk_buff *skb; local 980 struct sk_buff *skb, *resp; local 1001 struct sk_buff *skb; local 1032 struct sk_buff *skb; local 1133 port100_in_send_cmd(struct nfc_digital_dev *ddev, struct sk_buff *skb, u16 _timeout, nfc_digital_cmd_complete_t cb, void *arg) argument 1159 struct sk_buff *skb; local 1190 struct sk_buff *skb; local 1300 port100_tg_send_cmd(struct nfc_digital_dev *ddev, struct sk_buff *skb, u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) argument 1336 struct sk_buff *skb; local 1388 struct sk_buff *skb; local [all...] |
/drivers/net/ethernet/sfc/ |
H A D | rx.c | 40 /* Size of buffer allocated for skb header area. */ 430 struct sk_buff *skb; local 432 skb = napi_get_frags(napi); 433 if (unlikely(!skb)) { 443 skb_set_hash(skb, efx_rx_buf_hash(efx, eh), 445 skb->ip_summed = ((rx_buf->flags & EFX_RX_PKT_CSUMMED) ? 449 skb_fill_page_desc(skb, skb_shinfo(skb)->nr_frags, 453 skb->len += rx_buf->len; 454 if (skb_shinfo(skb) 478 struct sk_buff *skb; local 620 struct sk_buff *skb; local 832 efx_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb, u16 rxq_index, u32 flow_id) argument [all...] |
/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_tkip.c | 296 static int rtllib_tkip_encrypt(struct sk_buff *skb, int hdr_len, void *priv) argument 302 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 310 if (skb_headroom(skb) < 8 || skb_tailroom(skb) < 4 || 311 skb->len < hdr_len) 314 hdr = (struct rtllib_hdr_4addr *) skb->data; 328 len = skb->len - hdr_len; 329 pos = skb_push(skb, 8); 350 icv = skb_put(skb, 4); 378 static int rtllib_tkip_decrypt(struct sk_buff *skb, in argument 520 michael_mic_hdr(struct sk_buff *skb, u8 *hdr) argument 551 rtllib_michael_mic_add(struct sk_buff *skb, int hdr_len, void *priv) argument 600 rtllib_michael_mic_verify(struct sk_buff *skb, int keyidx, int hdr_len, void *priv) argument [all...] |
H A D | rtllib_rx.c | 48 struct sk_buff *skb, struct rtllib_rx_stats *rx_status, 51 skb->dev = ieee->dev; 52 skb_reset_mac_header(skb); 53 skb_pull(skb, hdr_length); 54 skb->pkt_type = PACKET_OTHERHOST; 55 skb->protocol = htons(ETH_P_80211_RAW); 56 memset(skb->cb, 0, sizeof(skb->cb)); 57 netif_rx(skb); 70 if (entry->skb ! 47 rtllib_monitor_rx(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_status, size_t hdr_length) argument 95 struct sk_buff *skb = NULL; local 206 rtllib_rx_frame_mgmt(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, u16 type, u16 stype) argument 241 rtllib_is_eapol_frame(struct rtllib_device *ieee, struct sk_buff *skb, size_t hdrlen) argument 282 rtllib_rx_frame_decrypt(struct rtllib_device *ieee, struct sk_buff *skb, struct lib80211_crypt_data *crypt) argument 324 rtllib_rx_frame_decrypt_msdu(struct rtllib_device *ieee, struct sk_buff *skb, int keyidx, struct lib80211_crypt_data *crypt) argument 742 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, struct rtllib_rxb *rxb, u8 *src, u8 *dst) argument 871 rtllib_rx_get_hdrlen(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 893 rtllib_rx_check_duplicate(struct rtllib_device *ieee, struct sk_buff *skb, u8 multicast) argument 1021 rtllib_rx_get_crypt(struct rtllib_device *ieee, struct sk_buff *skb, struct lib80211_crypt_data **crypt, size_t hdrlen) argument 1055 rtllib_rx_decrypt(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, struct lib80211_crypt_data *crypt, size_t hdrlen) argument 1261 rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1430 rtllib_rx_Master(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1436 rtllib_rx_Monitor(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1461 rtllib_rx_Mesh(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1470 rtllib_rx(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 2690 rtllib_rx_mgt(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *stats) argument [all...] |
H A D | rtllib_crypt_ccmp.c | 189 static int rtllib_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv) argument 195 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 197 if (skb_headroom(skb) < CCMP_HDR_LEN || 198 skb_tailroom(skb) < CCMP_MIC_LEN || 199 skb->len < hdr_len) 202 data_len = skb->len - hdr_len; 203 pos = skb_push(skb, CCMP_HDR_LEN); 225 hdr = (struct rtllib_hdr_4addr *) skb->data; 234 mic = skb_put(skb, CCMP_MIC_LEN); 262 static int rtllib_ccmp_decrypt(struct sk_buff *skb, in argument [all...] |
/drivers/atm/ |
H A D | atmtcp.c | 47 struct sk_buff *skb; local 54 skb = alloc_skb(sizeof(*msg),GFP_KERNEL); 55 if (!skb) return -ENOMEM; 59 dev_kfree_skb(skb); 62 atm_force_charge(out_vcc,skb->truesize); 63 new_msg = (struct atmtcp_control *) skb_put(skb,sizeof(*new_msg)); 70 out_vcc->push(out_vcc,skb); 190 static int atmtcp_v_send(struct atm_vcc *vcc,struct sk_buff *skb) argument 199 if (vcc->pop) vcc->pop(vcc,skb); 200 else dev_kfree_skb(skb); 282 atmtcp_c_send(struct atm_vcc *vcc,struct sk_buff *skb) argument [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3cdev.h | 58 int (*send)(struct t3cdev *dev, struct sk_buff *skb); 59 int (*recv)(struct t3cdev *dev, struct sk_buff **skb, int n);
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_selftest.c | 51 struct sk_buff *skb; local 60 skb = netdev_alloc_skb(priv->dev, MLX4_LOOPBACK_TEST_PAYLOAD + ETH_HLEN + NET_IP_ALIGN); 61 if (!skb) 64 skb_reserve(skb, NET_IP_ALIGN); 66 ethh = (struct ethhdr *)skb_put(skb, sizeof(struct ethhdr)); 67 packet = (unsigned char *)skb_put(skb, packet_size); 71 skb_set_mac_header(skb, 0); 76 err = mlx4_en_xmit(skb, priv->dev);
|
/drivers/net/fddi/skfp/h/ |
H A D | osdef1st.h | 109 struct sk_buff *skb; member in struct:s_txd_os 114 struct sk_buff *skb; member in struct:s_rxd_os
|
/drivers/nfc/st21nfcb/ |
H A D | ndlc.h | 54 int ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb); 55 void ndlc_recv(struct llt_ndlc *ndlc, struct sk_buff *skb);
|
/drivers/isdn/i4l/ |
H A D | isdn_net.c | 193 isdn_net_unreachable(struct net_device *dev, struct sk_buff *skb, char *reason) argument 195 if (skb) { 197 u_short proto = ntohs(skb->protocol); 204 dst_link_failure(skb); 877 isdn_net_log_skb(struct sk_buff *skb, isdn_net_local *lp) argument 880 const u_char *p = skb_network_header(skb); 881 unsigned short proto = ntohs(skb->protocol); 888 if (p < skb->data || skb_network_header(skb) >= skb_tail_pointer(skb)) { 964 isdn_net_write_super(isdn_net_local *lp, struct sk_buff *skb) argument 989 struct sk_buff *skb; local 1005 isdn_net_writebuf_skb(isdn_net_local *lp, struct sk_buff *skb) argument 1051 isdn_net_xmit(struct net_device *ndev, struct sk_buff *skb) argument 1117 isdn_net_adjust_hdr(struct sk_buff *skb, struct net_device *dev) argument 1166 isdn_net_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument 1364 isdn_net_type_trans(struct sk_buff *skb, struct net_device *dev) argument 1415 struct sk_buff *skb; local 1515 struct sk_buff *skb; local 1580 struct sk_buff *skb; local 1634 struct sk_buff *skb; local 1672 isdn_net_ciscohdlck_slarp_in(isdn_net_local *lp, struct sk_buff *skb) argument 1732 isdn_net_ciscohdlck_receive(isdn_net_local *lp, struct sk_buff *skb) argument 1785 isdn_net_receive(struct net_device *ndev, struct sk_buff *skb) argument 1878 isdn_net_rcv_skb(int idx, struct sk_buff *skb) argument 1898 isdn_net_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned plen) argument 1956 isdn_net_rebuild_header(struct sk_buff *skb) argument [all...] |
/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_ccmp.c | 195 static int ieee80211_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv) argument 201 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); 203 if (skb_headroom(skb) < CCMP_HDR_LEN || 204 skb_tailroom(skb) < CCMP_MIC_LEN || 205 skb->len < hdr_len) 208 data_len = skb->len - hdr_len; 209 pos = skb_push(skb, CCMP_HDR_LEN); 212 // mic = skb_put(skb, CCMP_MIC_LEN); 232 hdr = (struct ieee80211_hdr_4addr *) skb->data; 243 mic = skb_put(skb, CCMP_MIC_LE 270 ieee80211_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv) argument [all...] |