| /netbsd-src/sys/arch/mvme68k/stand/sboot/ |
| H A D | etherfun.c | 42 eh->ether_type = ETYPE_RARP; in do_rev_arp() 65 if (eh->ether_type == ETYPE_RARP && rarp->ar_op == OPCODE_REPLY) { in get_rev_arp() 113 eh->ether_type = ETYPE_IP; in do_send_tftp() 174 if ((eh->ether_type != ETYPE_IP) || in do_get_file()
|
| H A D | etherfun.h | 56 u_short ether_type; member
|
| /netbsd-src/sys/net/ |
| H A D | if_ethersubr.c | 156 #define llc_snap_ether_type llc_un.type_snap.ether_type 373 /* AF_UNSPEC doesn't swap the byte order of the ether_type. */ in ether_output() 374 etype = ((const struct ether_header *)dst->sa_data)->ether_type; in ether_output() 415 memcpy(&eh->ether_type, &etype, sizeof(eh->ether_type)); in ether_output() 484 uint16_t ether_type; in altq_etherclassify() 493 ether_type = htons(eh->ether_type); in altq_etherclassify() 495 if (ether_type < ETHERMTU) { in altq_etherclassify() 508 ether_type in altq_etherclassify() 483 uint16_t ether_type; altq_etherclassify() local [all...] |
| H A D | ether_sw_offload.c | 101 switch (type = ntohs(ep->ether_type)) { in ether_sw_offload_tx() 190 switch (htons(eh->ether_type)) { in ether_sw_offload_rx()
|
| H A D | if_llc.h | 78 uint16_t ether_type; member
|
| H A D | if_bridge.c | 2712 uint16_t ether_type; in bridge_ipf() 2717 ether_type = ntohs(eh1->ether_type); in bridge_ipf() 2722 if (ether_type < ETHERMTU) { in bridge_ipf() 2729 ether_type = htons(llc2->llc_un.type_snap.ether_type); in bridge_ipf() 2747 switch (ether_type) { in bridge_ipf() 2774 switch (ether_type) in bridge_ipf() 2697 uint16_t ether_type; bridge_ipf() local
|
| /netbsd-src/sys/arch/pmax/stand/common/ |
| H A D | if_prom.c | 259 if (ntohs(eh->ether_type) == 0x0800) { in fill_arpcache() 287 printf("ether_type = 0x%x\n", ntohs(eh->ether_type)); in dump_packet_info() 289 if (ntohs(eh->ether_type) == 0x0800) { in dump_packet_info()
|
| /netbsd-src/external/mpl/dhcp/dist/common/ |
| H A D | ethernet.c | 62 eh.ether_type = htons (ETHERTYPE_IP); 83 if (ntohs (eh.ether_type) != ETHERTYPE_IP)
|
| H A D | fddi.c | 68 lh.llc_un.type_snap.ether_type = htons (ETHERTYPE_IP);
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | ether.c | 76 eh->ether_type = htons(etype); in sendether() 120 *etype = ntohs(eh->ether_type); in readether()
|
| /netbsd-src/sys/arch/newsmips/stand/boot/ |
| H A D | netif_news.c | 122 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put() 183 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
|
| /netbsd-src/sys/arch/ofppc/stand/ofwboot/ |
| H A D | netif_of.c | 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put() 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
|
| /netbsd-src/sys/arch/shark/stand/ofwboot/ |
| H A D | netif_of.c | 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put() 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
|
| /netbsd-src/sys/netatalk/ |
| H A D | aarp.c | 204 eh->ether_type = 0; /* if_output will treat as 802 */ in aarpwhohas() 224 eh->ether_type = htons(ETHERTYPE_AARP); in aarpwhohas() 510 eh->ether_type = 0; /* if_output will treat as 802 */ in at_aarpinput() 512 eh->ether_type = htons(ETHERTYPE_AARP); in at_aarpinput() 639 eh->ether_type = 0; /* if_output will treat as 802 */ in aarpprobe() 661 eh->ether_type = htons(ETHERTYPE_AARP); in aarpprobe()
|
| H A D | phase2.h | 36 #define llc_ether_type llc_un.type_snap.ether_type
|
| /netbsd-src/sys/arch/macppc/stand/ofwboot/ |
| H A D | netif_of.c | 150 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put() 214 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
|
| /netbsd-src/sys/arch/sparc/stand/ofwboot/ |
| H A D | netif_of.c | 155 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put() 218 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
|
| /netbsd-src/sys/arch/sparc/stand/common/ |
| H A D | netif_sun.c | 147 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put() 208 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
|
| /netbsd-src/sys/arch/emips/stand/common/ |
| H A D | enic.c | 318 printf("ether_type = 0x%x\n", ntohs(eh->ether_type)); in dump_packet() 320 if (ntohs(eh->ether_type) == 0x0800) { in dump_packet()
|
| /netbsd-src/external/mpl/dhcp/dist/includes/netinet/ |
| H A D | if_ether.h | 55 u_int16_t ether_type; member
|
| /netbsd-src/usr.sbin/rarpd/ |
| H A D | rarpd.c | 389 if (ep->ether_type != ETHERTYPE_REVARP || 391 if (ntohs (ep->ether_type) != ETHERTYPE_REVARP || 795 ep->ether_type = ETHERTYPE_REVARP; 797 ep->ether_type = htons(ETHERTYPE_REVARP);
|
| /netbsd-src/sys/arch/sun68k/stand/libsa/ |
| H A D | netif_sun.c | 292 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put() 406 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
|
| /netbsd-src/sys/arch/x68k/stand/boot/ |
| H A D | if_ne.c | 122 printf("type: 0x%x\n", eh->ether_type & 0xffff); in ne_put()
|
| /netbsd-src/external/bsd/dhcpcd/dist/src/ |
| H A D | bpf.c | 326 eh.ether_type = htons(protocol); in bpf_send() 441 offsetof(struct ether_header, ether_type)), 577 offsetof(struct ether_header, ether_type)),
|
| /netbsd-src/external/bsd/ipf/dist/ipsend/ |
| H A D | ip.c | 80 eh->ether_type = htons(ETHERTYPE_IP); 126 eh->ether_type = htons(ETHERTYPE_IP);
|