/freebsd-13-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-13-stable/sys/net/ |
H A D | firewire.h | 45 uint32_t ether_type :16; member in struct:fw_encap::__anon14840 47 uint32_t ether_type :16; 57 uint32_t ether_type :16; member in struct:fw_encap::__anon14841 61 uint32_t ether_type :16;
|
H A D | if_ethersubr.c | 191 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)); 445 if (ntohs(eh->ether_type) == ETHERTYPE_VLAN || 446 ntohs(eh->ether_type) == ETHERTYPE_QINQ) 491 switch (ntohs(eh->ether_type)) { 542 etype = ntohs(eh->ether_type); 843 u_short ether_type; local 856 ether_type [all...] |
H A D | if_llc.h | 81 u_int16_t ether_type; member in struct:llc::__anon14874::__anon14879
|
H A D | if_fwsubr.c | 246 enc->unfrag.ether_type = type; 293 enc->firstfrag.ether_type = type; 538 type = enc->firstfrag.ether_type; 541 type = enc->unfrag.ether_type;
|
/freebsd-13-stable/stand/libsa/ |
H A D | ether.c | 72 eh->ether_type = htons(etype); 123 *etype = ntohs(eh->ether_type);
|
/freebsd-13-stable/stand/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-13-stable/sys/netgraph/ |
H A D | ng_pppoe.c | 670 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1069 privp->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1075 privp->eh.ether_type = 1158 if (wh->eh.ether_type == 1160 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC; 1162 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1203 if (wh->eh.ether_type == 1205 wh->eh.ether_type = ETHERTYPE_PPPOE_3COM_DISC; 1207 wh->eh.ether_type = ETHERTYPE_PPPOE_DISC; 1485 neg->pkt->pkt_header.eh.ether_type [all...] |
/freebsd-13-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-13-stable/usr.sbin/wake/ |
H A D | wake.c | 166 pkt.hdr.ether_type = htons(0);
|
/freebsd-13-stable/sys/net80211/ |
H A D | ieee80211_input.c | 318 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) || 319 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) { 353 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh)); 380 *framelen = ntohs(eh->ether_type) /* encap'd frame size */ 382 eh->ether_type = llc->llc_un.type_snap.ether_type;
|
H A D | ieee80211_wds.c | 647 if (eh->ether_type != htons(ETHERTYPE_PAE)) { 651 eh->ether_type, m->m_pkthdr.len); 664 eh->ether_type != htons(ETHERTYPE_PAE)) {
|
H A D | ieee80211_output.c | 412 htons(eh->ether_type)); 1197 uint16_t ether_type; local 1224 ether_type = llc->llc_snap.ether_type; 1227 ether_type = eh->ether_type; 1233 if (ether_type == htons(ETHERTYPE_PAE)) { 1268 if (eh && eh->ether_type == htons(ETHERTYPE_IP)) { 1281 if (eh && eh->ether_type == htons(ETHERTYPE_IPV6)) { 1656 llc->llc_snap.ether_type [all...] |
/freebsd-13-stable/sys/arm64/broadcom/genet/ |
H A D | if_genet.c | 1010 int ether_type = mtod(m, struct ether_header *)->ether_type; local 1011 if (ntohs(ether_type) == ETHERTYPE_IPV6) { 1148 uint16_t ether_type; local 1200 if (((struct ether_header *)p)->ether_type == htons(ETHERTYPE_VLAN)) { 1202 ether_type = ntohs(((struct ether_vlan_header *)p)->evl_proto); 1215 ether_type = ntohs(((struct ether_header *)p)->ether_type); 1227 if (ether_type == ETHERTYPE_IP) { 1230 } else if (ether_type [all...] |
/freebsd-13-stable/sbin/dhclient/ |
H A D | packet.c | 106 eh.ether_type = htons(ETHERTYPE_IP);
|
/freebsd-13-stable/sys/kern/ |
H A D | uipc_mbufhash.c | 172 etype = ntohs(eh->ether_type);
|
/freebsd-13-stable/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_cm.c | 498 u16 ether_type; local 516 ether_type = ETH_P_ROCE; 551 udh->vlan.type = htons(ether_type); 553 udh->eth.type = htons(ether_type);
|
/freebsd-13-stable/stand/uboot/lib/ |
H A D | net.c | 250 printf("type: 0x%x\n", eh->ether_type & 0xffff);
|
/freebsd-13-stable/sys/dev/le/ |
H A D | am7990.c | 595 ntohs(eh.ether_type)); 618 ntohs(eh.ether_type));
|
H A D | am79900.c | 633 ntohs(eh.ether_type)); 655 ntohs(eh.ether_type));
|