Searched refs:h_proto (Results 1 - 25 of 72) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ethernet/
H A Deth.c86 eth->h_proto = htons(type);
88 eth->h_proto = htons(len);
131 switch (eth->h_proto) {
139 dev->name, ntohs(eth->h_proto));
198 if (ntohs(eth->h_proto) >= 1536)
199 return eth->h_proto;
248 eth->h_proto = type;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bridge/netfilter/
H A Debt_log.c87 ntohs(eth_hdr(skb)->h_proto));
94 if ((bitmask & EBT_LOG_IP) && eth_hdr(skb)->h_proto ==
111 if ((bitmask & EBT_LOG_IP6) && eth_hdr(skb)->h_proto ==
135 ((eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) ||
136 (eth_hdr(skb)->h_proto == htons(ETH_P_RARP)))) {
H A Debt_among.c72 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) {
80 } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {
103 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) {
111 } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {
H A Debt_snat.c29 eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/udhcp/
H A Darpping.c20 uint16_t h_proto; /* 0c packet type ID field */ member in struct:arpMsg
64 arp.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/include/linux/
H A Dif_ether.h96 unsigned short h_proto; /* packet type ID field */ member in struct:ethhdr
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/netfilter/
H A Dip6t_eui64.c36 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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);
296 } else if(ETH_P_PAE == ntohs(((struct ethhdr *)skb->data)->h_proto)) {
348 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192su/ieee80211/
H A Dieee80211_tx.c157 static inline int ieee80211_put_snap(u8 *data, u16 h_proto) argument
167 if (h_proto == 0x8137 || h_proto == 0x80f3)
175 *(u16 *)(data + SNAP_SIZE) = htons(h_proto);
277 if (eth->h_proto != htons(ETH_P_IP))
644 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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);
279 if (eth->h_proto != htons(ETH_P_IP))
633 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/udhcpd/
H A Darpping.c63 arp.ethhdr.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dif_ether.h128 __be16 h_proto; /* packet type ID field */ member in struct:ethhdr
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udhcpd/
H A Darpping.c63 arp.ethhdr.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/
H A Dpppoe.h84 #define h_proto ether_type macro
100 #define h_proto ether_type macro
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/fnic/
H A Dfnic_fcs.c147 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);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/bnep/
H A Dcore.c332 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2));
340 if (ntohs(s->eh.h_proto) == 0x8100) {
343 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2));
365 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2));
378 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/lockd/
H A Dhost.c121 if (host->h_proto != ni->protocol)
171 host->h_proto = ni->protocol;
356 .protocol = host->h_proto,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/
H A Deth1394.h84 __be16 h_proto; /* packet type ID field */ member in struct:eth1394hdr
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/llc/
H A Dllc_input.c116 __be16 pdulen = eth_hdr(skb)->h_proto;
H A Dllc_s_ac.c155 data_size = ntohs(eth_hdr(skb)->h_proto) - 3;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dmyri_sbus.c342 "h_proto(%04x)]\n",
343 ehdr->h_dest, ehdr->h_source, ehdr->h_proto);
407 if (ntohs(eth->h_proto) >= 1536)
408 return eth->h_proto;
722 eth->h_proto = htons(type);
724 eth->h_proto = htons(len);
766 switch (eth->h_proto)
776 dev->name, (int)eth->h_proto);
804 eth->h_proto = type;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192e/ieee80211/
H A Dieee80211_tx.c159 static inline int ieee80211_put_snap(u8 *data, u16 h_proto) argument
169 if (h_proto == 0x8137 || h_proto == 0x80f3)
177 *(u16 *)(data + SNAP_SIZE) = htons(h_proto);
280 if (eth->h_proto != htons(ETH_P_IP))
645 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pppoecd/
H A Dpppoe2.c262 (unsigned)ntohs(p->ethhdr.h_proto));
269 switch((unsigned)ntohs(p->ethhdr.h_proto))
311 if (ntohs(p->ethhdr.h_proto) != ETH_P_PPPOE_DISC)
663 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_DISC);
736 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_DISC);
809 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_DISC);
869 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_SESS);
1114 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_SESS);
1527 if (packet->ethhdr.h_proto != htons(ETH_P_PPPOE_SESS))
1530 ntohs(packet->ethhdr.h_proto));
[all...]
H A Dpppoe.c251 (unsigned)ntohs(p->ethhdr.h_proto));
258 switch((unsigned)ntohs(p->ethhdr.h_proto))
300 if (ntohs(p->ethhdr.h_proto) != ETH_P_PPPOE_DISC)
815 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_DISC);
888 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_DISC);
961 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_DISC);
1215 packet->ethhdr.h_proto = htons(ETH_P_PPPOE_SESS);
1573 if (packet->ethhdr.h_proto != htons(ETH_P_PPPOE_SESS))
1576 ntohs(packet->ethhdr.h_proto));

Completed in 355 milliseconds

123