/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-sll.c | 136 u_short ether_type; local 149 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); 151 if (ether_type <= ETHERMTU) { 155 switch (ether_type) { 176 ether_type)); 181 tok2str(ethertype_values, "Unknown", ether_type), 182 ether_type)); 200 u_short ether_type; local 225 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); 232 if (ether_type < [all...] |
H A D | ether.h | 49 uint16_t ether_type; member in struct:ether_header
|
H A D | print-ether.c | 96 uint16_t ether_type; local 104 ether_type = EXTRACT_16BITS(&ep->ether_type); 106 if (ether_type <= ETHERMTU) 110 tok2str(ethertype_values,"Unknown", ether_type), 111 ether_type)); 113 if (ether_type <= ETHERMTU) 116 ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ether_type))); 135 u_short ether_type; local 155 ether_type 318 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-symantec.c | 37 uint16_t ether_type; member in struct:symantec_header 49 etype = EXTRACT_16BITS(&sp->ether_type); 79 u_short ether_type; local 94 ether_type = EXTRACT_16BITS(&sp->ether_type); 96 if (ether_type <= ETHERMTU) { 97 /* ether_type not known, print raw packet */ 103 } else if (ethertype_print(ndo, ether_type, p, length, caplen) == 0) { 104 /* ether_type not known, print raw packet */
|
H A D | print-ap1394.c | 87 u_short ether_type; local 102 ether_type = EXTRACT_16BITS(&fp->firewire_type); 103 if (ethertype_print(ndo, ether_type, p, length, caplen) == 0) { 104 /* ether_type not known, print raw packet */
|
/freebsd-11.0-release/sys/net/ |
H A D | firewire.h | 43 uint32_t ether_type :16; member in struct:fw_encap::__anon12243 45 uint32_t ether_type :16; 55 uint32_t ether_type :16; member in struct:fw_encap::__anon12244 59 uint32_t ether_type :16;
|
H A D | if_ethersubr.c | 190 memcpy(&eh->ether_type, &etype, sizeof(eh->ether_type)); 231 memcpy(&eh->ether_type, &etype, sizeof(etype)); 246 memcpy(&eh->ether_type, &etype, sizeof(etype)); 493 etype = ntohs(eh->ether_type); 773 u_short ether_type; local 786 ether_type = ntohs(eh->ether_type); 827 switch (ether_type) {
|
H A D | if_llc.h | 79 u_int16_t ether_type; member in struct:llc::__anon12275::__anon12280
|
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);
|
/freebsd-11.0-release/lib/libstand/ |
H A D | ether.c | 77 eh->ether_type = htons(etype); 125 *etype = ntohs(eh->ether_type);
|
/freebsd-11.0-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-11.0-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-11.0-release/sys/netgraph/ |
H A D | ng_pppoe.c | 630 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC; 956 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC; 962 privp->eh.ether_type = 1243 neg->pkt->pkt_header.eh.ether_type = wh->eh.ether_type; 1353 switch(wh->eh.ether_type) { 1589 if (sp->pkt_hdr.eh.ether_type == 1591 sp->pkt_hdr.eh.ether_type 1594 sp->pkt_hdr.eh.ether_type 1638 sp->pkt_hdr.eh.ether_type [all...] |
/freebsd-11.0-release/contrib/ipfilter/ipsd/Celler/ |
H A D | ip_compat.h | 182 __u16 ether_type; member in struct:__anon1773
|
/freebsd-11.0-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 184 __u16 ether_type; member in struct:__anon1780
|
/freebsd-11.0-release/contrib/ipfilter/ipsend/ |
H A D | resend.c | 113 eh->ether_type = htons((u_short)ETHERTYPE_IP);
|
H A D | ip.c | 77 eh->ether_type = htons(ETHERTYPE_IP); 123 eh->ether_type = htons(ETHERTYPE_IP);
|
/freebsd-11.0-release/sys/dev/mlx5/mlx5_en/ |
H A D | tcp_tlro.c | 184 memcpy(phdr, &eh->ether_type, sizeof(eh->ether_type)); 185 phdr += sizeof(eh->ether_type); 186 etype = ntohs(eh->ether_type);
|
/freebsd-11.0-release/sys/kern/ |
H A D | uipc_mbufhash.c | 98 etype = ntohs(eh->ether_type);
|
/freebsd-11.0-release/usr.sbin/wake/ |
H A D | wake.c | 164 pkt.hdr.ether_type = htons(0);
|
/freebsd-11.0-release/sys/net80211/ |
H A D | ieee80211_input.c | 322 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) || 323 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) { 357 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh)); 384 *framelen = ntohs(eh->ether_type) /* encap'd frame size */ 386 eh->ether_type = llc->llc_un.type_snap.ether_type;
|
H A D | ieee80211_wds.c | 635 if (eh->ether_type != htons(ETHERTYPE_PAE)) { 639 eh->ether_type, m->m_pkthdr.len); 651 eh->ether_type != htons(ETHERTYPE_PAE)) {
|
/freebsd-11.0-release/contrib/ipfilter/ipsd/ |
H A D | sdlpi.c | 135 if (eh.ether_type != ETHERTYPE_IP)
|
/freebsd-11.0-release/sbin/dhclient/ |
H A D | packet.c | 104 eh.ether_type = htons(ETHERTYPE_IP);
|