Searched refs:ether_type (Results 1 - 25 of 89) sorted by relevance

1234

/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-sll.c56 u_short ether_type; local
69 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
71 if (ether_type <= ETHERMTU) {
75 switch (ether_type) {
96 ether_type);
101 tok2str(ethertype_values, "Unknown", ether_type),
102 ether_type);
120 u_short ether_type; local
145 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
152 if (ether_type <
[all...]
H A Dether.h50 u_int16_t ether_type; member in struct:ether_header
H A Dprint-symantec.c44 u_int16_t ether_type; member in struct:symantec_header
56 etype = EXTRACT_16BITS(&sp->ether_type);
86 u_short ether_type; local
101 ether_type = EXTRACT_16BITS(&sp->ether_type);
103 if (ether_type <= ETHERMTU) {
104 /* ether_type not known, print raw packet */
110 } else if (ethertype_print(gndo, ether_type, p, length, caplen) == 0) {
111 /* ether_type not known, print raw packet */
H A Dprint-ether.c98 u_int16_t ether_type; local
106 ether_type = EXTRACT_16BITS(&ep->ether_type);
108 if (ether_type <= ETHERMTU)
112 tok2str(ethertype_values,"Unknown", ether_type),
113 ether_type));
115 if (ether_type <= ETHERMTU)
118 (void)ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ether_type)));
137 u_short ether_type; local
157 ether_type
323 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen) argument
[all...]
H A Dprint-ap1394.c93 u_short ether_type; local
108 ether_type = EXTRACT_16BITS(&fp->firewire_type);
109 if (ethertype_print(gndo, ether_type, p, length, caplen) == 0) {
110 /* ether_type not known, print raw packet */
/freebsd-9.3-release/sys/netatalk/
H A Dphase2.h31 #define llc_ether_type llc_un.type_snap.ether_type
H A Daarp.c231 eh->ether_type = htons(sizeof(struct llc) +
253 eh->ether_type = htons(ETHERTYPE_AARP);
525 eh->ether_type = htons(sizeof(struct llc) +
543 eh->ether_type = htons(ETHERTYPE_AARP);
674 eh->ether_type = htons(sizeof(struct llc) +
693 eh->ether_type = htons(ETHERTYPE_AARP);
/freebsd-9.3-release/sys/net/
H A Dfirewire.h43 uint32_t ether_type :16; member in struct:fw_encap::__anon9534
45 uint32_t ether_type :16;
55 uint32_t ether_type :16; member in struct:fw_encap::__anon9535
59 uint32_t ether_type :16;
H A Dif_ef.c237 ef_inputEII(struct mbuf *m, struct ether_header *eh, u_short ether_type) argument
241 switch(ether_type) {
267 u_short ether_type)
271 switch(ether_type) {
287 u_short ether_type)
291 switch(ether_type) {
311 u_short ether_type; local
319 ether_type = ntohs(eh->ether_type);
321 if (ether_type < ETHERMT
266 ef_inputSNAP(struct mbuf *m, struct ether_header *eh, struct llc* l, u_short ether_type) argument
286 ef_input8022(struct mbuf *m, struct ether_header *eh, struct llc* l, u_short ether_type) argument
[all...]
H A Dif_fddisubr.c219 llc.llc_snap.ether_type = htons(ETHERTYPE_AT);
247 type = eh->ether_type;
303 l->llc_snap.ether_type = htons(type);
479 ntohs(l->llc_snap.ether_type) == ETHERTYPE_AT) {
487 ntohs(l->llc_snap.ether_type) == ETHERTYPE_AARP) {
500 type = ntohs(l->llc_snap.ether_type);
H A Dif_llc.h79 u_int16_t ether_type; member in struct:llc::__anon9560::__anon9565
H A Dif_ethersubr.c96 #define llc_snap_ether_type llc_un.type_snap.ether_type
299 type = eh->ether_type;
328 (void)memcpy(&eh->ether_type, &type,
329 sizeof(eh->ether_type));
601 etype = ntohs(eh->ether_type);
814 u_short ether_type; local
835 ether_type = ntohs(eh->ether_type);
876 switch (ether_type) {
919 if (ether_type > ETHERMT
[all...]
H A Dif_fwsubr.c238 enc->unfrag.ether_type = type;
285 enc->firstfrag.ether_type = type;
530 type = enc->firstfrag.ether_type;
533 type = enc->unfrag.ether_type;
/freebsd-9.3-release/lib/libstand/
H A Dether.c77 eh->ether_type = htons(etype);
125 *etype = ntohs(eh->ether_type);
H A Dif_ether.h52 u_int16_t ether_type; member in struct:ether_header
/freebsd-9.3-release/sys/boot/ofw/libofw/
H A Dofw_net.c102 printf("type: 0x%x\n", eh->ether_type & 0xffff);
170 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/freebsd-9.3-release/sys/boot/powerpc/ps3/
H A Dps3net.c120 printf("type: 0x%x\n", eh->ether_type & 0xffff);
204 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/freebsd-9.3-release/sys/netgraph/
H A Dng_pppoe.c622 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
948 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC;
954 privp->eh.ether_type =
1204 neg->pkt->pkt_header.eh.ether_type = wh->eh.ether_type;
1314 switch(wh->eh.ether_type) {
1547 if (sp->pkt_hdr.eh.ether_type ==
1549 sp->pkt_hdr.eh.ether_type
1552 sp->pkt_hdr.eh.ether_type
1596 sp->pkt_hdr.eh.ether_type
[all...]
/freebsd-9.3-release/contrib/ipfilter/ipsd/Celler/
H A Dip_compat.h182 __u16 ether_type; member in struct:__anon1601
/freebsd-9.3-release/contrib/ipfilter/ipsend/.OLD/
H A Dip_compat.h184 __u16 ether_type; member in struct:__anon1608
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dresend.c119 eh->ether_type = htons((u_short)ETHERTYPE_IP);
/freebsd-9.3-release/usr.sbin/wake/
H A Dwake.c164 pkt.hdr.ether_type = htons(0);
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_input.c300 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) ||
301 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) {
335 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh));
362 *framelen = ntohs(eh->ether_type) /* encap'd frame size */
364 eh->ether_type = llc->llc_un.type_snap.ether_type;
H A Dieee80211_superg.c273 if (llc->llc_snap.ether_type != htons(ATH_FF_ETH_TYPE))
352 llc->llc_snap.ether_type = eh->ether_type;
363 mtod(m, struct ether_header *)->ether_type = htons(payload);
485 llc->llc_snap.ether_type = htons(ATH_FF_ETH_TYPE);
H A Dieee80211_adhoc.c562 if (eh->ether_type != htons(ETHERTYPE_PAE)) {
566 eh->ether_type, m->m_pkthdr.len);
578 eh->ether_type != htons(ETHERTYPE_PAE)) {

Completed in 203 milliseconds

1234