netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ethernetdb.h File Reference
#include <features.h>
#include <netinet/in.h>
#include <stdint.h>
Include dependency graph for ethernetdb.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ethertypeent
 

Macros

#define _PATH_ETHERTYPES   "/etc/ethertypes"
 

Functions

void setethertypeent (int __stay_open) __THROW
 
void endethertypeent (void) __THROW
 
struct ethertypeentgetethertypeent (void) __THROW
 
struct ethertypeentgetethertypebyname (__const char *__name) __THROW
 
struct ethertypeentgetethertypebynumber (int __ethertype) __THROW
 

Macro Definition Documentation

#define _PATH_ETHERTYPES   "/etc/ethertypes"

Function Documentation

void endethertypeent ( void  )

References NULL.

Referenced by getethertypebyname(), and getethertypebynumber().

Here is the caller graph for this function:

struct ethertypeent* getethertypebyname ( __const char *  __name)
struct ethertypeent* getethertypebynumber ( int  __ethertype)

References ethertypeent::e_ethertype, endethertypeent(), getethertypeent(), NULL, and setethertypeent().

Referenced by parseethertypebynumber().

Here is the call graph for this function:

Here is the caller graph for this function:

struct ethertypeent* getethertypeent ( void  )
void setethertypeent ( int  __stay_open)

References _PATH_ETHERTYPES, and NULL.

Referenced by getethertypebyname(), and getethertypebynumber().

Here is the caller graph for this function: