Lines Matching refs:vnet
35 * $FreeBSD: stable/11/sys/net/vnet.h 354610 2019-11-11 14:49:45Z hselasky $
42 * - Definition of 'struct vnet' and functions and macros to allocate/free/
61 * struct vnet describes a virtualized network stack, and is primarily a
68 struct vnet {
69 LIST_ENTRY(vnet) vnet_le; /* all vnets list */
164 struct vnet *vnet_alloc(void);
165 void vnet_destroy(struct vnet *vnet);
188 void vnet_log_recursion(struct vnet *, const char *, int);
192 ("CURVNET_SET at %s:%d %s() curvnet=%p vnet=%p", \
194 struct vnet *saved_vnet = curvnet; \
217 ("CURVNET_SET at %s:%d %s() curvnet=%p vnet=%p", \
219 struct vnet *saved_vnet = curvnet; \
235 extern struct vnet *vnet0;
247 LIST_HEAD(vnet_list_head, vnet);
260 #define VNET_ITERATOR_DECL(arg) struct vnet *arg
278 #define VNET_VNET_PTR(vnet, n) _VNET_PTR((vnet)->vnet_data_base, n)
279 #define VNET_VNET(vnet, n) (*VNET_VNET_PTR((vnet), n))
299 * SYSINIT/SYSUNINIT variants that provide per-vnet constructors and
339 * Run per-vnet sysinits or sysuninits during vnet creation/destruction.
345 * Interfaces for managing per-vnet constructors and destructors.
411 #define VNET_VNET_PTR(vnet, n) (&(n))
412 #define VNET_VNET(vnet, n) (n)