Lines Matching refs:eh
47 struct ether_header eh; in debug_packet() local
53 if (len < sizeof(eh)) { in debug_packet()
57 memmove(&eh, pkt, sizeof(eh)); in debug_packet()
58 pkt += sizeof(eh); in debug_packet()
59 len -= sizeof(eh); in debug_packet()
60 eh.ether_type = ntohs(eh.ether_type); in debug_packet()
62 if (eh.ether_type == ETHERTYPE_PPPOE && option_verbose < 2) in debug_packet()
66 ether_ntoa((struct ether_addr *)eh.ether_shost), in debug_packet()
67 ether_ntoa((struct ether_addr *)eh.ether_dhost), in debug_packet()
68 eh.ether_type); in debug_packet()
69 switch (eh.ether_type) { in debug_packet()
124 while (len > 0 && eh.ether_type == ETHERTYPE_PPPOEDISC) { in debug_packet()