Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
struct socket; | struct socket; | ||||
struct carp_if; | struct carp_if; | ||||
struct carp_softc; | struct carp_softc; | ||||
struct ifvlantrunk; | struct ifvlantrunk; | ||||
struct route; /* if_output */ | struct route; /* if_output */ | ||||
struct vnet; | struct vnet; | ||||
struct ifmedia; | struct ifmedia; | ||||
struct netmap_adapter; | struct netmap_adapter; | ||||
struct netdump_methods; | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <sys/mbuf.h> /* ifqueue only? */ | #include <sys/mbuf.h> /* ifqueue only? */ | ||||
#include <sys/buf_ring.h> | #include <sys/buf_ring.h> | ||||
#include <net/vnet.h> | #include <net/vnet.h> | ||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#include <sys/counter.h> | #include <sys/counter.h> | ||||
#include <sys/lock.h> /* XXX */ | #include <sys/lock.h> /* XXX */ | ||||
▲ Show 20 Lines • Show All 281 Lines • ▼ Show 20 Lines | struct ifnet { | ||||
*/ | */ | ||||
if_snd_tag_alloc_t *if_snd_tag_alloc; | if_snd_tag_alloc_t *if_snd_tag_alloc; | ||||
if_snd_tag_modify_t *if_snd_tag_modify; | if_snd_tag_modify_t *if_snd_tag_modify; | ||||
if_snd_tag_query_t *if_snd_tag_query; | if_snd_tag_query_t *if_snd_tag_query; | ||||
if_snd_tag_free_t *if_snd_tag_free; | if_snd_tag_free_t *if_snd_tag_free; | ||||
/* Ethernet PCP */ | /* Ethernet PCP */ | ||||
uint8_t if_pcp; | uint8_t if_pcp; | ||||
/* | |||||
* Netdump hooks to be called while dumping. | |||||
*/ | |||||
struct netdump_methods *if_netdump_methods; | |||||
/* | /* | ||||
* Spare fields to be added before branching a stable branch, so | * Spare fields to be added before branching a stable branch, so | ||||
* that structure can be enhanced without changing the kernel | * that structure can be enhanced without changing the kernel | ||||
* binary interface. | * binary interface. | ||||
*/ | */ | ||||
int if_ispare[4]; /* general use */ | int if_ispare[4]; /* general use */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 362 Lines • Show Last 20 Lines |