/drivers/staging/rtl8712/ |
H A D | if_ether.h | 123 unsigned short h_proto; /* packet type ID field */ member in struct:ethhdr
|
H A D | rtl871x_xmit.c | 205 pattrib->ether_type = ntohs(etherhdr.h_proto); 555 static sint r8712_put_snap(u8 *data, u16 h_proto) argument 564 if (h_proto == 0x8137 || h_proto == 0x80f3) 571 *(u16 *)(data + SNAP_SIZE) = htons(h_proto);
|
/drivers/net/wireless/ipw2x00/ |
H A D | libipw_tx.c | 129 static int libipw_copy_snap(u8 * data, __be16 h_proto) argument 139 if (h_proto == htons(ETH_P_AARP) || h_proto == htons(ETH_P_IPX)) 147 memcpy(data + SNAP_SIZE, &h_proto, sizeof(u16)); 229 if (eth->h_proto != htons(ETH_P_IP)) 295 ether_type = ((struct ethhdr *)skb->data)->h_proto;
|
/drivers/staging/rtl8187se/ieee80211/ |
H A D | ieee80211_tx.c | 158 static inline int ieee80211_put_snap(u8 *data, u16 h_proto) argument 168 if (h_proto == 0x8137 || h_proto == 0x80f3) 176 *(u16 *)(data + SNAP_SIZE) = htons(h_proto); 297 } else if(ETH_P_PAE == ntohs(((struct ethhdr *)skb->data)->h_proto)) { 349 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
|
/drivers/net/usb/ |
H A D | lg-vl600.c | 43 * multiplexing by using non standard values of the .h_proto field. 62 __be16 h_proto; member in struct:vl600_pkt_hdr 191 * the h_proto field is in the same place so we just leave it 195 if (be16_to_cpup(ðhdr->h_proto) == ETH_P_ARP && 214 ethhdr->h_proto = __constant_htons(ETH_P_IPV6); 296 * h_proto field is in the same place so we just leave it alone and 304 packet->h_proto = htons(ETH_P_IP);
|
H A D | sierra_net.c | 225 skb->protocol = eth_hdr(skb)->h_proto; 747 eth->h_proto = cpu_to_be16(ETH_P_IP);
|
/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_tx.c | 158 static inline int ieee80211_put_snap(u8 *data, u16 h_proto) argument 168 if (h_proto == 0x8137 || h_proto == 0x80f3) 176 *(u16 *)(data + SNAP_SIZE) = htons(h_proto); 280 if (eth->h_proto != htons(ETH_P_IP)) 634 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
|
/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 147 if (eh->h_proto == htons(ETH_P_8021Q)) { 152 if (eh->h_proto == htons(ETH_P_FIP)) { 157 if (eh->h_proto != htons(ETH_P_FCOE)) 483 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; 536 eth_hdr->h_proto = htons(ETH_P_FCOE);
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_selftest.c | 71 ethh->h_proto = htons(ETH_P_ARP);
|
/drivers/staging/rtl8192e/ |
H A D | rtllib_tx.c | 156 inline int rtllib_put_snap(u8 *data, u16 h_proto) argument 166 if (h_proto == 0x8137 || h_proto == 0x80f3) 174 *(u16 *)(data + SNAP_SIZE) = htons(h_proto); 259 if (eth->h_proto != htons(ETH_P_IP)) 602 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
|
/drivers/net/wireless/mwifiex/ |
H A D | main.c | 368 switch (eth->h_proto) { 373 eth->h_proto, tid, skb->priority); 376 pr_debug("data: ARP packet: %04x\n", eth->h_proto);
|
H A D | 11n_aggr.c | 82 tx_header->eth803_hdr.h_proto = htons(skb_src->len + LLC_SNAP_LEN);
|
/drivers/firewire/ |
H A D | net.c | 84 __be16 h_proto; /* packet type ID field */ member in struct:fwnet_header 235 put_unaligned_be16(type, &h->h_proto); 256 if (get_unaligned_be16(&h->h_proto) == ETH_P_IP) 260 be16_to_cpu(h->h_proto)); 274 h->h_proto = type; 633 if (ntohs(eth->h_proto) >= 1536) { 634 protocol = eth->h_proto; 1301 proto = hdr_buf.h_proto;
|
/drivers/media/dvb/dvb-core/ |
H A D | dvb_net.c | 188 if (ntohs(eth->h_proto) >= 1536) 189 return eth->h_proto; 231 if(ntohs(hdr->h_proto) < 1536) { 234 if(framelen != ntohs(hdr->h_proto)) { 747 ethh->h_proto = htons(priv->ule_sndu_type);
|
/drivers/net/wireless/ |
H A D | ray_cs.c | 955 __be16 proto = ((struct ethhdr *)data)->h_proto; 2308 peth->h_proto = htons(len - RX_MAC_HEADER_LENGTH); 2316 peth->h_proto = type; 2324 peth->h_proto = 2332 peth->h_proto = type; 2339 peth->h_proto = type;
|
/drivers/net/wimax/i2400m/ |
H A D | netdev.c | 445 eth_hdr->h_proto = protocol;
|
/drivers/net/plip/ |
H A D | plip.c | 563 if (ntohs(eth->h_proto) >= 1536) 564 return eth->h_proto;
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | dhd_linux.c | 288 if (ntohs(eh->h_proto) == ETH_P_PAE) 477 type = ntohs(eh->h_proto);
|
/drivers/net/wireless/orinoco/ |
H A D | main.c | 389 if (ntohs(eh->h_proto) > ETH_DATA_LEN) { /* Ethernet-II frame */ 406 hdr.eth.h_proto = htons(len); 1056 hdr->h_proto = htons(length);
|
/drivers/isdn/i4l/ |
H A D | isdn_net.c | 1388 if (ntohs(eth->h_proto) >= 1536) 1389 return eth->h_proto; 1969 if (eth->h_proto != htons(ETH_P_IP)) { 1972 dev->name, (int) eth->h_proto);
|
/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 384 payload->header.h_proto = htons(ETH_P_IP);
|
/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 298 sol->eth.h_proto = htons(ETH_P_FIP); 454 kal->eth.h_proto = htons(ETH_P_FIP); 536 cap->eth.h_proto = htons(ETH_P_FIP); 1887 frame->eth.h_proto = htons(ETH_P_FIP);
|
/drivers/net/bonding/ |
H A D | bond_3ad.c | 844 lacpdu_header->hdr.h_proto = PKT_TYPE_LACPDU; 885 marker_header->hdr.h_proto = PKT_TYPE_LACPDU;
|
/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1050 gfar_set_attribute(value->h_proto, mask->h_proto, RQFCR_PID_ETY, tab);
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | txrx.c | 128 ether_type = be16_to_cpu(datap->h_proto); 980 payload_8023_len = ntohs(hdr->h_proto);
|