Searched defs:vnet (Results 1 - 18 of 18) sorted by relevance

/freebsd-head/sys/compat/linuxkpi/common/include/net/
H A Dip.h47 inet_get_local_port_range(struct vnet *vnet, int *low, int *high) argument
50 CURVNET_SET_QUIET(vnet);
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dinetdevice.h37 ip_dev_find(struct vnet *vnet, uint32_t addr) argument
49 CURVNET_SET_QUIET(vnet);
63 ip6_dev_find(struct vnet *vnet, struct in6_addr addr, uint16_t scope_id) argument
80 CURVNET_SET_QUIET(vnet);
H A Dnetdevice.h53 #define init_net *((struct vnet *)0)
61 dev_get_by_index(struct vnet *vnet, int if_index) argument
67 CURVNET_SET(vnet);
/freebsd-head/lib/libkvm/
H A Dkvm_vnet.c47 #include <net/vnet.h>
66 struct vnet vnet; local
193 _kvm_err(kd, kd->program, "%s: no vnet", __func__);
196 if (kvm_read(kd, (uintptr_t)prison.pr_vnet, &vnet, sizeof(vnet)) !=
197 sizeof(vnet)) {
198 _kvm_err(kd, kd->program, "%s: vnet", __func__);
201 if (vnet.vnet_magic_n != VNET_MAGIC_N) {
202 _kvm_err(kd, kd->program, "%s: invalid vnet magi
[all...]
/freebsd-head/sys/netipsec/
H A Dxform.h79 struct vnet *vnet; member in struct:xform_data
/freebsd-head/tools/tools/vimage/
H A Dvimage.c60 int vnet; member in struct:vimage_status
163 if (vst[vst_last].vnet != 1)
239 /* Search for a free ifunit in target vnet. Unsafe. */
257 "vnet", NULL,
336 jailparam_init(&params[psize], "vnet");
337 jailparam_import_raw(&params[psize++], &vs->vnet, sizeof(vs->vnet));
/freebsd-head/contrib/flex/
H A Dtables.c287 flex_uint32_t vnet;
290 vnet = htonl (v);
292 rv = fwrite (&vnet, bytes, 1, wr->out);
306 flex_uint16_t vnet;
309 vnet = htons (v);
311 rv = fwrite (&vnet, bytes, 1, wr->out);
286 flex_uint32_t vnet; local
305 flex_uint16_t vnet; local
/freebsd-head/sys/net/
H A Dvnet.h44 * - Definition of 'struct vnet' and functions and macros to allocate/free/
63 * struct vnet describes a virtualized network stack, and is primarily a
70 struct vnet { struct
71 LIST_ENTRY(vnet) vnet_le; /* all vnets list */
170 struct vnet *vnet_alloc(void);
171 void vnet_destroy(struct vnet *vnet);
194 void vnet_log_recursion(struct vnet *, const char *, int);
198 ("CURVNET_SET at %s:%d %s() curvnet=%p vnet=%p", \
200 struct vnet *saved_vne
[all...]
H A Dvnet.c68 #include <net/vnet.h>
85 static MALLOC_DEFINE(M_VNET, "vnet", "network stack control block");
107 struct vnet *vnet0;
120 * vnet linker set. These "master" copies of global variables serve two
135 * referred to by vnet->vnet_data_mem. Critical to the design is that each
139 * vnet->vnet_data_base, is stored in each vnet, and is the amount that can
141 * per-vnet instance.
146 * for potential module variables using a per-vnet character array,
212 SDT_PROVIDER_DEFINE(vnet); variable
233 struct vnet *vnet; local
271 vnet_destroy(struct vnet *vnet) argument
461 struct vnet *vnet; local
478 struct vnet *vnet; local
547 struct vnet *vnet; local
701 db_vnet_print(struct vnet *vnet) argument
[all...]
H A Dnetisr.c98 #include <net/vnet.h>
227 * mechanism to stop netisr processing for vnet teardown.
701 netisr_drain_proto_vnet(struct vnet *vnet, u_int proto) argument
708 KASSERT(vnet != NULL, ("%s: vnet is NULL", __func__));
722 * matching the given vnet are freed.
730 if (mp->m_pkthdr.rcvif->if_vnet != vnet) {
739 /* This is a packet in the selected vnet. Free it. */
/freebsd-head/sys/ddb/
H A Ddb_sym.c43 #include <net/vnet.h>
126 * Validate the virtual network pointer used to interpret per-vnet global
128 * walk the global vnet list to check it's an OK pointer.
150 * Read-only variable reporting the current vnet, which is what we use when
261 struct vnet *vnet; local
264 vnet = db_vnet;
266 vnet = curvnet;
274 *valuep = (db_expr_t)((uintptr_t)value + vnet->vnet_data_base);
/freebsd-head/sys/netinet/
H A Dtcp_syncache.h130 struct vnet *vnet; member in struct:tcp_syncache
H A Dsctp_structs.h56 void *vnet; member in struct:sctp_timer
116 struct vnet *vn;
139 struct vnet *vn;
/freebsd-head/usr.bin/sockstat/
H A Dsockstat.c1243 * Return the vnet property of the jail, or -1 on error.
1249 int vnet; local
1251 vnet = -1;
1256 jiov[2].iov_base = __DECONST(char *, "vnet");
1257 jiov[2].iov_len = sizeof("vnet");
1258 jiov[3].iov_base = &vnet;
1259 jiov[3].iov_len = sizeof(vnet);
1271 return (vnet);
1355 /* Set back to -1 for normal output in vnet jail. */
/freebsd-head/sys/dev/cxgbe/tom/
H A Dt4_tom.h184 struct vnet *vnet; member in struct:toepcb
262 struct vnet *vnet; member in struct:listen_ctx
/freebsd-head/sys/kern/
H A Duipc_socket.c152 #include <net/vnet.h>
398 soalloc(struct vnet *vnet) argument
433 VNET_ASSERT(vnet != NULL, ("%s:%d vnet is NULL, so=%p",
435 so->so_vnet = vnet;
447 vnet->vnet_sockcnt++;
712 VNET_ASSERT(head->so_vnet != NULL, ("%s: so %p vnet is NULL",
/freebsd-head/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c2594 struct vnet *vnet = rdma_id->route.addr.dev_addr.net; local
2642 CURVNET_SET(vnet);
/freebsd-head/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c144 static struct cma_pernet *cma_pernet_ptr(struct vnet *vnet) argument
148 CURVNET_SET_QUIET(vnet);
155 static struct idr *cma_pernet_idr(struct vnet *net, enum rdma_port_space ps)
199 static int cma_ps_alloc(struct vnet *vnet, enum rdma_port_space ps, argument
202 struct idr *idr = cma_pernet_idr(vnet, ps);
207 static struct rdma_bind_list *cma_ps_find(struct vnet *net,
215 static void cma_ps_remove(struct vnet *net, enum rdma_port_space ps, int snum)
749 struct rdma_cm_id *rdma_create_id(struct vnet *ne
[all...]

Completed in 129 milliseconds