/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-sll.c | 56 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 D | ether.h | 50 u_int16_t ether_type; member in struct:ether_header
|
H A D | print-symantec.c | 44 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 D | print-ether.c | 98 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 D | print-ap1394.c | 93 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 D | phase2.h | 31 #define llc_ether_type llc_un.type_snap.ether_type
|
H A D | aarp.c | 231 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 D | firewire.h | 43 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 D | if_ef.c | 237 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 D | if_fddisubr.c | 219 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 D | if_llc.h | 79 u_int16_t ether_type; member in struct:llc::__anon9560::__anon9565
|
H A D | if_ethersubr.c | 96 #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 D | if_fwsubr.c | 238 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 D | ether.c | 77 eh->ether_type = htons(etype); 125 *etype = ntohs(eh->ether_type);
|
H A D | if_ether.h | 52 u_int16_t ether_type; member in struct:ether_header
|
/freebsd-9.3-release/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 102 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 D | ps3net.c | 120 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 D | ng_pppoe.c | 622 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 D | ip_compat.h | 182 __u16 ether_type; member in struct:__anon1601
|
/freebsd-9.3-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 184 __u16 ether_type; member in struct:__anon1608
|
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | resend.c | 119 eh->ether_type = htons((u_short)ETHERTYPE_IP);
|
/freebsd-9.3-release/usr.sbin/wake/ |
H A D | wake.c | 164 pkt.hdr.ether_type = htons(0);
|
/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_input.c | 300 !(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 D | ieee80211_superg.c | 273 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 D | ieee80211_adhoc.c | 562 if (eh->ether_type != htons(ETHERTYPE_PAE)) { 566 eh->ether_type, m->m_pkthdr.len); 578 eh->ether_type != htons(ETHERTYPE_PAE)) {
|