Home
last modified time | relevance | path

Searched refs:ether_type (Results 1 – 14 of 14) sorted by relevance

/minix/external/bsd/tcpdump/dist/
H A Dprint-sll.c141 u_short ether_type; in sll_print() local
156 if (ether_type <= ETHERMTU) { in sll_print()
160 switch (ether_type) { in sll_print()
181 ether_type)); in sll_print()
187 ether_type)); in sll_print()
205 u_short ether_type; in sll_if_print() local
237 if (ether_type <= ETHERMTU) { in sll_if_print()
241 switch (ether_type) { in sll_if_print()
291 ether_type = EXTRACT_16BITS(p + 2); in sll_if_print()
292 if (ether_type <= ETHERMTU) in sll_if_print()
[all …]
H A Dprint-ether.c99 uint16_t ether_type; in ether_hdr_print() local
107 ether_type = EXTRACT_16BITS(&ep->ether_type); in ether_hdr_print()
109 if (ether_type <= ETHERMTU) in ether_hdr_print()
116 if (ether_type <= ETHERMTU) in ether_hdr_print()
138 u_short ether_type; in ether_print() local
158 ether_type = EXTRACT_16BITS(&ep->ether_type); in ether_print()
164 if (ether_type <= ETHERMTU) { in ether_print()
178 } else if (ether_type == ETHERTYPE_8021Q || in ether_print()
196 ether_type = EXTRACT_16BITS(p + 2); in ether_print()
203 } else if (ether_type == ETHERTYPE_JUMBO) { in ether_print()
[all …]
H A Dprint-symantec.c42 uint16_t ether_type; member
54 etype = EXTRACT_16BITS(&sp->ether_type); in symantec_hdr_print()
84 u_short ether_type; in symantec_if_print() local
99 ether_type = EXTRACT_16BITS(&sp->ether_type); in symantec_if_print()
101 if (ether_type <= ETHERMTU) { in symantec_if_print()
108 } else if (ethertype_print(ndo, ether_type, p, length, caplen) == 0) { in symantec_if_print()
H A Dprint-ap1394.c91 u_short ether_type; in ap1394_if_print() local
106 ether_type = EXTRACT_16BITS(&fp->firewire_type); in ap1394_if_print()
107 if (ethertype_print(ndo, ether_type, p, length, caplen) == 0) { in ap1394_if_print()
H A Dether.h45 uint16_t ether_type; member
/minix/external/bsd/dhcp/dist/common/
H A Dethernet.c61 eh.ether_type = htons (ETHERTYPE_IP);
82 if (ntohs (eh.ether_type) != ETHERTYPE_IP)
H A Dfddi.c67 lh.llc_un.type_snap.ether_type = htons (ETHERTYPE_IP);
/minix/sys/lib/libsa/
H A Dether.c76 eh->ether_type = htons(etype); in sendether()
120 *etype = ntohs(eh->ether_type); in readether()
/minix/sys/arch/i386/stand/lib/netif/
H A Dnetif_small.c126 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_put()
160 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); in netif_get()
/minix/external/bsd/dhcp/dist/includes/netinet/
H A Dif_ether.h54 u_int16_t ether_type; member
/minix/sys/net/
H A Dif_ether.h84 uint16_t ether_type; member
/minix/external/bsd/libpcap/dist/
H A Dpcap-dos.c850 etype = ep->ether_type; in watt32_recv_hook()
/minix/minix/tests/
H A Dtest94.c2574 ether.ether_type = htons(ETHERTYPE_IP); in test94l()
2599 ether.ether_type = htons(ETHERTYPE_IPV6); in test94l()
/minix/external/bsd/dhcpcd/dist/
H A Dif-bsd.c363 hw.ether_type = htons(protocol); in if_sendrawpacket()