Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:ep

82 	register const struct ether_header *ep;
83 ep = (const struct ether_header *)bp;
86 etheraddr_string(ESRC(ep)),
87 etheraddr_string(EDST(ep)));
90 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)));
109 struct ether_header *ep;
123 ep = (struct ether_header *)p;
126 ether_type = ntohs(ep->ether_type);
133 if (llc_print(p, length, caplen, ESRC(ep), EDST(ep),
137 ether_hdr_print((u_char *)ep, length + ETHER_HDRLEN);
146 ether_hdr_print((u_char *)ep, length + ETHER_HDRLEN);