/freebsd-9.3-release/contrib/tcpdump/ |
H A D | ether.h | 47 struct ether_header { struct 55 * compilers may pad "struct ether_header" to a multiple of 4 bytes, 56 * for example, so "sizeof (struct ether_header)" may not give the right
|
H A D | print-rrcp.c | 91 register const struct ether_header *ep; 95 ep = (const struct ether_header *)cp;
|
H A D | print-ether.c | 97 register const struct ether_header *ep; 100 ep = (const struct ether_header *)bp; 135 struct ether_header *ep; 154 ep = (struct ether_header *)p;
|
H A D | print-ipfc.c | 84 struct ether_header ehdr;
|
/freebsd-9.3-release/lib/libstand/ |
H A D | ether.c | 65 struct ether_header *eh; 72 eh = (struct ether_header *)pkt - 1; 101 struct ether_header *eh; 108 eh = (struct ether_header *)pkt - 1;
|
H A D | arp.c | 80 struct ether_header eh; 87 struct ether_header eh;
|
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | sirix.c | 67 struct ether_header *eh = (struct ether_header *)pkt;
|
H A D | sockraw.c | 72 struct ether_header *eh; 75 eh = (struct ether_header *)pkt;
|
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_ether_echo.c | 110 struct ether_header *eh; 122 eh = mtod(m, struct ether_header *);
|
H A D | ng_ether.c | 686 if (m->m_pkthdr.len < sizeof(struct ether_header)) { 690 if (m->m_len < sizeof(struct ether_header) 691 && (m = m_pullup(m, sizeof(struct ether_header))) == NULL) 699 && (m = m_pullup(m, sizeof(struct ether_header))) == NULL) 704 mtod(m, struct ether_header *)->ether_shost, 727 if (m->m_pkthdr.len < sizeof(struct ether_header)) { 731 if (m->m_len < sizeof(struct ether_header) && 732 (m = m_pullup(m, sizeof(struct ether_header))) == NULL)
|
H A D | ng_pppoe.h | 216 struct ether_header eh;
|
/freebsd-9.3-release/sys/net/ |
H A D | if_ethersubr.c | 86 int (*ef_inputp)(struct ifnet*, struct ether_header *eh, struct mbuf *m); 105 CTASSERT(sizeof (struct ether_header) == ETHER_ADDR_LEN * 2 + 2); 167 struct ether_header *eh; 291 eh = (struct ether_header *)dst->sa_data; 297 eh = (struct ether_header *)dst->sa_data; 327 eh = mtod(m, struct ether_header *); 459 struct ether_header *eh; 460 struct ether_header save_eh; 495 eh = mtod(m, struct ether_header *); 517 if (eh != mtod(m, struct ether_header *)) [all...] |
H A D | if_ef.c | 103 extern int (*ef_inputp)(struct ifnet*, struct ether_header *eh, struct mbuf *m); 115 static int ef_input(struct ifnet*, struct ether_header *, struct mbuf *); 237 ef_inputEII(struct mbuf *m, struct ether_header *eh, u_short ether_type) 266 ef_inputSNAP(struct mbuf *m, struct ether_header *eh, struct llc* l, 286 ef_input8022(struct mbuf *m, struct ether_header *eh, struct llc* l, 309 ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
|
H A D | ieee8023ad_lacp.h | 143 struct ether_header ldu_eh; 169 struct ether_header mdu_eh;
|
/freebsd-9.3-release/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 97 struct ether_header *eh; 166 struct ether_header *eh = pkt;
|
/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_superg.c | 84 memcpy(dst, src, sizeof(struct ether_header)) 247 #define FF_LLC_SIZE (sizeof(struct ether_header) + sizeof(struct llc)) 272 sizeof(struct ether_header)); 339 const struct ether_header *eh) 345 m_adj(m, sizeof(struct ether_header) - sizeof(struct llc)); 355 M_PREPEND(m, sizeof(struct ether_header), M_DONTWAIT); 358 "%s: no space for ether_header\n", __func__); 363 mtod(m, struct ether_header *)->ether_type = htons(payload); 378 struct ether_header eh1, eh2; 397 sizeof(struct ether_header), [all...] |
H A D | ieee80211_input.c | 249 struct ether_header *eh = mtod(m, struct ether_header *); 282 struct ether_header *eh; 307 eh = mtod(m, struct ether_header *); 334 eh = mtod(m, struct ether_header *); 346 #define FF_LLC_SIZE (sizeof(struct ether_header) + sizeof(struct llc)) 347 struct ether_header *eh; 360 eh = mtod(m, struct ether_header *); /* 802.3 header is first */ 363 + sizeof(struct ether_header) - sizeof(struct llc); 366 sizeof(struct ether_header)); [all...] |
/freebsd-9.3-release/sys/dev/snc/ |
H A D | dp83932.c | 137 #define SNC_SHOWTXHDR 0x01 /* show tx ether_header */ 138 #define SNC_SHOWRXHDR 0x02 /* show rx ether_header */ 574 if (totlen < ETHERMIN + sizeof(struct ether_header)) { 575 int pad = ETHERMIN + sizeof(struct ether_header) - totlen; 577 totlen = ETHERMIN + sizeof(struct ether_header); 914 struct ether_header eh; 983 * Do not trunc ether_header length. 1062 struct ether_header *et; 1065 if (len <= sizeof(struct ether_header) || 1066 len > ETHERMTU + sizeof(struct ether_header)) { [all...] |
/freebsd-9.3-release/sys/netatalk/ |
H A D | aarp.c | 186 struct ether_header *eh; 226 eh = (struct ether_header *)sa.sa_data; 366 struct ether_header *eh; 520 eh = (struct ether_header *)sa.sa_data; 609 struct ether_header *eh; 669 eh = (struct ether_header *)sa.sa_data;
|
/freebsd-9.3-release/contrib/ipfilter/ipsd/ |
H A D | sdlpi.c | 204 *fwp++ = ENF_PUSHWORD + sizeof(struct ether_header)/sizeof(short)+4; 209 *fwp++ = ENF_PUSHWORD + sizeof(struct ether_header)/sizeof(short)+4;
|
H A D | snit.c | 142 *fwp++ = ENF_PUSHWORD + sizeof(struct ether_header)/sizeof(short)+4; 147 *fwp++ = ENF_PUSHWORD + sizeof(struct ether_header)/sizeof(short)+4;
|
/freebsd-9.3-release/libexec/bootpd/tools/bootptest/ |
H A D | print-bootp.c | 103 register struct ether_header *eh; 107 eh = (struct ether_header *) packetp;
|
/freebsd-9.3-release/sbin/dhclient/ |
H A D | packet.c | 100 struct ether_header eh; 169 struct ether_header eh;
|
/freebsd-9.3-release/sys/boot/powerpc/ps3/ |
H A D | ps3net.c | 114 struct ether_header *eh; 198 struct ether_header *eh;
|
/freebsd-9.3-release/sys/netgraph/netflow/ |
H A D | ng_netflow.c | 682 struct ether_header *eh; 685 M_CHECK(sizeof(struct ether_header)); 686 eh = mtod(m, struct ether_header *); 693 eh = mtod(m, struct ether_header *); 695 l3_off = sizeof(struct ether_header); 704 eh = mtod(m, struct ether_header *); 706 l3_off = sizeof(struct ether_header); 714 sizeof(struct ether_header));
|