| /src/external/bsd/tcpdump/dist/ |
| print-sll.c | 163 u_short ether_type; local 178 ether_type = GET_BE_U_2(sllp->sll_protocol); 180 if (ether_type <= MAX_ETHERNET_LENGTH_VAL) { 184 switch (ether_type) { 205 ether_type); 210 tok2str(ethertype_values, "Unknown", ether_type), 211 ether_type); 230 u_short ether_type; local 262 ether_type = GET_BE_U_2(sllp->sll_protocol); 269 if (ether_type <= MAX_ETHERNET_LENGTH_VAL) 347 u_short ether_type; local 413 u_short ether_type; local [all...] |
| print-ipoib.c | 44 uint16_t ether_type; local 46 ether_type = GET_BE_U_2(bp + 40); 49 tok2str(ethertype_values,"Unknown", ether_type), 50 ether_type); 53 tok2str(ethertype_values,"Unknown", ether_type)); 71 u_short ether_type; local 96 ether_type = GET_BE_U_2(p + 40); 99 if (ethertype_print(ndo, ether_type, p, length, caplen, NULL, NULL) == 0) { 100 /* ether_type not known, print raw packet */
|
| print-symantec.c | 40 nd_uint16_t ether_type; member in struct:symantec_header 52 etype = GET_BE_U_2(sp->ether_type); 82 u_short ether_type; local 96 ether_type = GET_BE_U_2(sp->ether_type); 98 if (ether_type <= MAX_ETHERNET_LENGTH_VAL) { 99 /* ether_type not known, print raw packet */ 105 } else if (ethertype_print(ndo, ether_type, p, length, caplen, NULL, NULL) == 0) { 106 /* ether_type not known, print raw packet */
|
| print-ap1394.c | 97 u_short ether_type; local 112 ether_type = GET_BE_U_2(fp->firewire_type); 117 if (ethertype_print(ndo, ether_type, p, length, caplen, &src, &dst) == 0) { 118 /* ether_type not known, print raw packet */
|
| /src/sys/netatalk/ |
| phase2.h | 36 #define llc_ether_type llc_un.type_snap.ether_type
|
| aarp.c | 204 eh->ether_type = 0; /* if_output will treat as 802 */ 224 eh->ether_type = htons(ETHERTYPE_AARP); 510 eh->ether_type = 0; /* if_output will treat as 802 */ 512 eh->ether_type = htons(ETHERTYPE_AARP); 639 eh->ether_type = 0; /* if_output will treat as 802 */ 661 eh->ether_type = htons(ETHERTYPE_AARP);
|
| /src/external/mpl/dhcp/dist/includes/netinet/ |
| if_ether.h | 55 u_int16_t ether_type; member in struct:isc_ether_header
|
| /src/external/mpl/dhcp/dist/common/ |
| ethernet.c | 62 eh.ether_type = htons (ETHERTYPE_IP); 83 if (ntohs (eh.ether_type) != ETHERTYPE_IP)
|
| fddi.c | 68 lh.llc_un.type_snap.ether_type = htons (ETHERTYPE_IP);
|
| /src/sys/arch/mvme68k/stand/sboot/ |
| etherfun.c | 42 eh->ether_type = ETYPE_RARP; 65 if (eh->ether_type == ETYPE_RARP && rarp->ar_op == OPCODE_REPLY) { 113 eh->ether_type = ETYPE_IP; 174 if ((eh->ether_type != ETYPE_IP) ||
|
| etherfun.h | 56 u_short ether_type; member in struct:ether_header
|
| /src/sys/lib/libsa/ |
| ether.c | 76 eh->ether_type = htons(etype); 120 *etype = ntohs(eh->ether_type);
|
| /src/sys/arch/macppc/stand/ofwboot/ |
| netif_of.c | 150 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 214 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/newsmips/stand/boot/ |
| netif_news.c | 122 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 183 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/ofppc/stand/ofwboot/ |
| netif_of.c | 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/shark/stand/ofwboot/ |
| netif_of.c | 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/sparc/stand/common/ |
| netif_sun.c | 147 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 208 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/sparc/stand/ofwboot/ |
| netif_of.c | 155 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 218 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/x68k/stand/boot/ |
| if_ne.c | 122 printf("type: 0x%x\n", eh->ether_type & 0xffff);
|
| /src/sys/arch/pmax/stand/common/ |
| if_prom.c | 259 if (ntohs(eh->ether_type) == 0x0800) { 287 printf("ether_type = 0x%x\n", ntohs(eh->ether_type)); 289 if (ntohs(eh->ether_type) == 0x0800) {
|
| /src/sys/net/ |
| if_llc.h | 78 uint16_t ether_type; member in struct:llc::__anon7017::__anon7022
|
| if_ethersubr.c | 157 #define llc_snap_ether_type llc_un.type_snap.ether_type 411 /* AF_UNSPEC doesn't swap the byte order of the ether_type. */ 412 etype = ((const struct ether_header *)dst->sa_data)->ether_type; 452 memcpy(&eh->ether_type, &etype, sizeof(eh->ether_type)); 521 uint16_t ether_type; local 530 ether_type = htons(eh->ether_type); 532 if (ether_type < ETHERMTU) { 545 ether_type = htons(llc->llc_un.type_snap.ether_type) [all...] |
| ether_sw_offload.c | 101 switch (type = ntohs(ep->ether_type)) { 190 switch (htons(eh->ether_type)) {
|
| /src/usr.sbin/npf/npftest/ |
| npfstream.c | 49 if (ntohs(eth->ether_type) != ETHERTYPE_IP) {
|
| /src/sys/arch/emips/stand/common/ |
| enic.c | 318 printf("ether_type = 0x%x\n", ntohs(eh->ether_type)); 320 if (ntohs(eh->ether_type) == 0x0800) {
|