Searched defs:ether_type (Results 1 - 6 of 6) sorted by relevance

/external/tcpdump/
H A Dether.h50 u_int16_t ether_type; member in struct:ether_header
H A Dprint-ether.c90 if (ntohs(ep->ether_type) <= ETHERMTU)
94 tok2str(ethertype_values,"Unknown", ntohs(ep->ether_type)),
95 ntohs(ep->ether_type));
97 if (ntohs(ep->ether_type) <= ETHERMTU)
100 (void)printf(", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ntohs(ep->ether_type)));
110 u_short ether_type; local
126 ether_type = ntohs(ep->ether_type);
131 if (ether_type <= ETHERMTU) {
135 /* ether_type no
180 ether_encap_print(u_short ether_type, const u_char *p, u_int length, u_int caplen, u_short *extracted_ether_type) argument
[all...]
H A Dprint-lane.c97 u_short ether_type; local
132 ether_type = EXTRACT_16BITS(&ep->h_type);
137 if (ether_type <= ETHERMTU) {
141 /* ether_type not known, print raw packet */
151 } else if (ether_encap_print(ether_type, p, length, caplen,
153 /* ether_type not known, print raw packet */
H A Dprint-sll.c56 u_short ether_type; local
69 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
71 if (ether_type <= ETHERMTU) {
75 switch (ether_type) {
96 ether_type);
101 tok2str(ethertype_values, "Unknown", ether_type),
102 ether_type);
120 u_short ether_type; local
145 ether_type = ntohs(sllp->sll_protocol);
151 if (ether_type <
[all...]
H A Dprint-symantec.c43 u_int16_t ether_type; member in struct:symantec_header
55 etype = ntohs(sp->ether_type);
85 u_short ether_type; local
101 ether_type = ntohs(sp->ether_type);
103 if (ether_type <= ETHERMTU) {
104 /* ether_type not known, print raw packet */
110 } else if (ether_encap_print(ether_type, p, length, caplen,
112 /* ether_type not known, print raw packet */
H A Dprint-ap1394.c89 u_short ether_type; local
105 ether_type = ntohs(fp->firewire_type);
108 if (ether_encap_print(ether_type, p, length, caplen,
110 /* ether_type not known, print raw packet */

Completed in 109 milliseconds