Searched refs:ethhdr (Results 1 - 25 of 52) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/
H A Darpping.h14 struct ethhdr ethhdr; /* Ethernet header */ member in struct:arpMsg
H A Darpping.c61 memcpy(arp.ethhdr.h_dest, MAC_BCAST_ADDR, 6); /* MAC DA */
62 memcpy(arp.ethhdr.h_source, mac, 6); /* MAC SA */
63 arp.ethhdr.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dif_ether.h113 struct ethhdr { struct
122 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb)
124 return (struct ethhdr *)skb_mac_header(skb);
H A Dif_arcnet.h86 struct ethhdr eth; /* standard ethernet header (yuck!) */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ethernet/
H A Deth.c81 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN);
125 struct ethhdr *eth = (struct ethhdr *)skb->data;
156 struct ethhdr *eth;
212 struct ethhdr *eth = eth_hdr(skb);
226 struct ethhdr *eth;
229 eth = (struct ethhdr *)
253 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pppoecd/
H A Dpppoe2.c114 struct ethhdr ethhdr; /* ethernet header */ member in struct:pppoe_packet
116 struct ether_header ethhdr; /* ethernet header */
246 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.h_dest[i]);
249 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.ether_dhost[i]);
254 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.h_source[i]);
257 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.ether_shost[i]);
262 (unsigned)ntohs(p->ethhdr.h_proto));
265 (unsigned)ntohs(p->ethhdr.ether_type));
269 switch((unsigned)ntohs(p->ethhdr
[all...]
H A Dpppoe.c113 struct ethhdr ethhdr; /* ethernet header */ member in struct:pppoe_packet
115 struct ether_header ethhdr; /* ethernet header */
235 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.h_dest[i]);
238 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.ether_dhost[i]);
243 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.h_source[i]);
246 fprintf(log_file, "%02x:", (unsigned)p->ethhdr.ether_shost[i]);
251 (unsigned)ntohs(p->ethhdr.h_proto));
254 (unsigned)ntohs(p->ethhdr.ether_type));
258 switch((unsigned)ntohs(p->ethhdr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dqeth_eddp.h57 struct ethhdr mac;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/include/linux/
H A Dif_ether.h92 struct ethhdr struct
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/
H A Dpppoe.h81 #define ethhdr ether_header macro
95 #define ethhdr ether_header macro
207 struct ethhdr ethHdr; /* Ethernet header */
223 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD)
H A Dif.c552 data_size = size - sizeof(struct ethhdr);
556 memcpy((char *)xmitbuf, (char *)pkt + sizeof(struct ethhdr), data_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/llc/
H A Dllc_output.c64 struct ethhdr *eth;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/bnep/
H A Dbnep.h164 struct ethhdr eh;
H A Dnetdev.c147 struct ethhdr *eh = (void *) skb->data;
159 struct ethhdr *eh = (void *) skb->data;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dmyri_sbus.c312 static void dump_ehdr(struct ethhdr *ehdr)
325 struct ethhdr *ehdr = (struct ethhdr *) (stuff + 2);
368 struct ethhdr *eth;
687 struct ethhdr *eth = (struct ethhdr *) skb_push(skb, ETH_HLEN);
735 struct ethhdr *eth = (struct ethhdr *) (pad + MYRI_PAD_LEN);
771 struct ethhdr *eth;
776 eth = (struct ethhdr *) (pa
[all...]
H A Dplip.c546 struct ethhdr *eth;
999 plip_rewrite_address(struct net_device *dev, struct ethhdr *eth)
1023 plip_rewrite_address (dev, (struct ethhdr *)skb->data);
1036 struct ethhdr *eth;
1038 eth = (struct ethhdr*)(((u8*)hh->hh_data) +
H A Drionet.c186 struct ethhdr *eth = (struct ethhdr *)skb->data;
H A Dsunlance.c894 struct ethhdr __iomem *eth = (struct ethhdr __iomem *) packet;
907 struct ethhdr *eth = (struct ethhdr *) packet;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/hamradio/
H A Dbpqether.c172 struct ethhdr *eth;
178 if (!pskb_may_pull(skb, sizeof(struct ethhdr)))
200 if (skb_cow(skb, sizeof(struct ethhdr)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ieee80211/
H A Dieee80211_tx.c107 * | 2 bytes for Type --> ,T. | (sizeof ethhdr)
224 struct ethhdr *eth;
227 eth = (struct ethhdr *)skb->data;
294 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
345 skb_pull(skb, sizeof(struct ethhdr));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/
H A Drx.c169 struct ethhdr *p_ethhdr;
230 p_ethhdr = (struct ethhdr *)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/
H A Dray_cs.c1002 unsigned short int proto = ((struct ethhdr *)data)->h_proto;
1043 memcpy_toio(ptx->mac.addr_1, ((struct ethhdr *)data)->h_dest, 2 * ADDRLEN);
1051 memcpy_toio(ptx->mac.addr_1, ((struct ethhdr *)data)->h_dest, ADDRLEN);
1053 memcpy_toio(ptx->mac.addr_3, ((struct ethhdr *)data)->h_source, ADDRLEN);
1059 memcpy_toio(ptx->mac.addr_2, ((struct ethhdr *)data)->h_source, ADDRLEN);
1060 memcpy_toio(ptx->mac.addr_3, ((struct ethhdr *)data)->h_dest, ADDRLEN);
2326 struct ethhdr *peth;
2365 peth = (struct ethhdr *)(skb->data + delta);
2373 peth = (struct ethhdr *)(skb->data + delta);
2383 peth = (struct ethhdr *)(sk
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-core/
H A Ddvb_net.c168 struct ethhdr *eth;
224 struct ethhdr *hdr = (struct ethhdr*) p->ule_next_hdr;
226 int framelen = p->ule_sndu_len - ((p->ule_next_hdr+sizeof(struct ethhdr)) - p->ule_skb->data);
345 struct ethhdr *ethh = NULL;
725 ethh = (struct ethhdr *)priv->ule_skb->data;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dnetpoll.c47 sizeof(struct iphdr) + sizeof(struct ethhdr))
286 struct ethhdr *eth;
330 eth = (struct ethhdr *) skb_push(skb, ETH_HLEN);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/usb/
H A Dnet1080.c60 __le16 packet_len; // payload size (including ethhdr)
77 + sizeof (struct ethhdr) \

Completed in 650 milliseconds

123