/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-sll.c | 137 u_short ether_type; local 150 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); 152 if (ether_type <= ETHERMTU) { 156 switch (ether_type) { 177 ether_type)); 182 tok2str(ethertype_values, "Unknown", ether_type), 183 ether_type)); 202 u_short ether_type; local 239 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); 246 if (ether_type < [all...] |
H A D | print-symantec.c | 38 uint16_t ether_type; member in struct:symantec_header 50 etype = EXTRACT_16BITS(&sp->ether_type); 80 u_short ether_type; local 95 ether_type = EXTRACT_16BITS(&sp->ether_type); 97 if (ether_type <= ETHERMTU) { 98 /* ether_type not known, print raw packet */ 104 } else if (ethertype_print(ndo, ether_type, p, length, caplen, NULL, NULL) == 0) { 105 /* ether_type not known, print raw packet */
|
H A D | print-medsa.c | 50 u_short ether_type; member in struct:medsa_pkthdr 145 u_short ether_type; local 160 ether_type = EXTRACT_16BITS(&medsa->ether_type); 161 if (ether_type <= ETHERMTU) { 172 ether_type), 173 ether_type)); 174 if (ethertype_print(ndo, ether_type, bp, length, caplen, src, dst) == 0) { 175 /* ether_type not known, print raw packet */ 179 ether_type), [all...] |
H A D | print-ap1394.c | 94 u_short ether_type; local 110 ether_type = EXTRACT_16BITS(&fp->firewire_type); 115 if (ethertype_print(ndo, ether_type, p, length, caplen, &src, &dst) == 0) { 116 /* ether_type not known, print raw packet */
|
H A D | print-ether.c | 326 u_short ether_type, const u_char *p, 330 switch (ether_type) { 325 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen, const struct lladdr_info *src, const struct lladdr_info *dst) argument
|
/freebsd-11-stable/sys/net/ |
H A D | firewire.h | 43 uint32_t ether_type :16; member in struct:fw_encap::__anon12245 45 uint32_t ether_type :16; 55 uint32_t ether_type :16; member in struct:fw_encap::__anon12246 59 uint32_t ether_type :16;
|
H A D | if_ethersubr.c | 196 memcpy(&eh->ether_type, &etype, sizeof(eh->ether_type)); 237 memcpy(&eh->ether_type, &etype, sizeof(etype)); 252 memcpy(&eh->ether_type, &etype, sizeof(etype)); 452 if (ntohs(eh->ether_type) == ETHERTYPE_VLAN || 523 etype = ntohs(eh->ether_type); 803 u_short ether_type; local 817 ether_type = ntohs(eh->ether_type); 858 switch (ether_type) { [all...] |
H A D | if_llc.h | 79 u_int16_t ether_type; member in struct:llc::__anon12277::__anon12282
|
H A D | if_fwsubr.c | 244 enc->unfrag.ether_type = type; 291 enc->firstfrag.ether_type = type; 536 type = enc->firstfrag.ether_type; 539 type = enc->unfrag.ether_type;
|
H A D | if_fddisubr.c | 190 type = eh->ether_type; 246 l->llc_snap.ether_type = htons(type); 425 type = ntohs(l->llc_snap.ether_type);
|
H A D | if_bridge.c | 3108 u_int16_t ether_type; local 3131 ether_type = ntohs(eh1->ether_type); 3136 if (ether_type < ETHERMTU) { 3143 ether_type = htons(llc2->llc_un.type_snap.ether_type); 3157 switch (ether_type) { 3204 switch (ether_type) { 3225 switch (ether_type) {
|
H A D | if_iso88025subr.c | 335 l->llc_snap.ether_type = htons(snap_type); 508 type = ntohs(l->llc_snap.ether_type); 530 printf("iso88025_input: unexpected llc_snap ether_type 0x%02x\n", type);
|
/freebsd-11-stable/stand/libsa/ |
H A D | ether.c | 72 eh->ether_type = htons(etype); 123 *etype = ntohs(eh->ether_type);
|
/freebsd-11-stable/stand/ofw/libofw/ |
H A D | ofw_net.c | 102 printf("type: 0x%x\n", eh->ether_type & 0xffff); 184 printf("type: 0x%x\n", eh->ether_type & 0xffff);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_pppoe.c | 671 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1067 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1073 privp->eh.ether_type = 1156 if (wh->eh.ether_type == 1158 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC; 1160 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1199 if (wh->eh.ether_type == 1201 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC; 1203 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1479 neg->pkt->pkt_header.eh.ether_type [all...] |
/freebsd-11-stable/usr.sbin/wake/ |
H A D | wake.c | 166 pkt.hdr.ether_type = htons(0);
|
/freebsd-11-stable/sys/kern/ |
H A D | uipc_mbufhash.c | 98 etype = ntohs(eh->ether_type);
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | resend.c | 111 eh->ether_type = htons((u_short)ETHERTYPE_IP);
|
H A D | ip.c | 75 eh->ether_type = htons(ETHERTYPE_IP); 121 eh->ether_type = htons(ETHERTYPE_IP);
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_input.c | 325 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) || 326 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) { 360 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh)); 387 *framelen = ntohs(eh->ether_type) /* encap'd frame size */ 389 eh->ether_type = llc->llc_un.type_snap.ether_type;
|
H A D | ieee80211_wds.c | 633 if (eh->ether_type != htons(ETHERTYPE_PAE)) { 637 eh->ether_type, m->m_pkthdr.len); 649 eh->ether_type != htons(ETHERTYPE_PAE)) {
|
/freebsd-11-stable/stand/uboot/lib/ |
H A D | net.c | 250 printf("type: 0x%x\n", eh->ether_type & 0xffff);
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | packet.c | 104 eh.ether_type = htons(ETHERTYPE_IP);
|
/freebsd-11-stable/sys/dev/le/ |
H A D | am79900.c | 631 ntohs(eh.ether_type)); 653 ntohs(eh.ether_type));
|
H A D | am7990.c | 593 ntohs(eh.ether_type)); 616 ntohs(eh.ether_type));
|