vnet
struct vnet *if_getvnet(const if_t ifp);
struct vnet *vnet_alloc(void);
void vnet_destroy(struct vnet *vnet);
void vnet_log_recursion(struct vnet *, const char *, int);
struct vnet *saved_vnet = curvnet; \
struct vnet *saved_vnet = curvnet; \
extern struct vnet *vnet0;
LIST_HEAD(vnet_list_head, vnet);
#define VNET_ITERATOR_DECL(arg) struct vnet *arg
#define VNET_VNET_PTR(vnet, n) _VNET_PTR((vnet)->vnet_data_base, n)
#define VNET_VNET(vnet, n) (*VNET_VNET_PTR((vnet), n))
#define VNET_VNET_PTR(vnet, n) (&(n))
#define VNET_VNET(vnet, n) (n)
LIST_ENTRY(vnet) vnet_le; /* all vnets list */
struct vnet *