#include <features.h>#include <netinet/in.h>#include <stdint.h>

Data Structures | |
| struct | ethertypeent |
Macros | |
| #define | _PATH_ETHERTYPES "/etc/ethertypes" |
Functions | |
| void | setethertypeent (int __stay_open) __THROW |
| void | endethertypeent (void) __THROW |
| struct ethertypeent * | getethertypeent (void) __THROW |
| struct ethertypeent * | getethertypebyname (__const char *__name) __THROW |
| struct ethertypeent * | getethertypebynumber (int __ethertype) __THROW |
| #define _PATH_ETHERTYPES "/etc/ethertypes" |
Referenced by do_command(), getethertypeent(), and setethertypeent().
| void endethertypeent | ( | void | ) |
References NULL.
Referenced by getethertypebyname(), and getethertypebynumber().

| struct ethertypeent* getethertypebyname | ( | __const char * | __name | ) |
| struct ethertypeent* getethertypebynumber | ( | int | __ethertype | ) |
References ethertypeent::e_ethertype, endethertypeent(), getethertypeent(), NULL, and setethertypeent().
Referenced by parseethertypebynumber().


| struct ethertypeent* getethertypeent | ( | void | ) |
References _PATH_ETHERTYPES, ethertypeent::e_aliases, ethertypeent::e_ethertype, ethertypeent::e_name, ETH_ZLEN, line, MAXALIASES, and NULL.
Referenced by getethertypebyname(), and getethertypebynumber().

| void setethertypeent | ( | int | __stay_open | ) |
References _PATH_ETHERTYPES, and NULL.
Referenced by getethertypebyname(), and getethertypebynumber().
