Searched defs:h_proto (Results 1 - 8 of 8) sorted by relevance

/drivers/net/usb/
H A Dlg-vl600.c43 * 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(&ethhdr->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);
/drivers/net/wireless/ipw2x00/
H A Dlibipw_tx.c129 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 Dieee80211_tx.c158 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/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c158 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/staging/rtl8712/
H A Dif_ether.h123 unsigned short h_proto; /* packet type ID field */ member in struct:ethhdr
H A Drtl871x_xmit.c205 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/staging/rtl8192e/
H A Drtllib_tx.c156 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/firewire/
H A Dnet.c84 __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;

Completed in 41 milliseconds