/freebsd-11-stable/share/examples/jails/ |
H A D | jail.xxx.conf | 14 vnet; 16 vnet.interface = "ng0_xxx"; # vnet interface(s) 20 #vnet.interface = "e0b_xxx"; # vnet interface(s)
|
/freebsd-11-stable/sys/net/ |
H A D | vnet.c | 37 __FBSDID("$FreeBSD: stable/11/sys/net/vnet.c 359652 2020-04-06 07:16:31Z hselasky $"); 66 #include <net/vnet.h> 83 static MALLOC_DEFINE(M_VNET, "vnet", "network stack control block"); 105 struct vnet *vnet0; 118 * vnet linker set. These "master" copies of global variables serve two 133 * referred to by vnet->vnet_data_mem. Critical to the design is that each 137 * vnet->vnet_data_base, is stored in each vnet, and is the amount that can 139 * per-vnet instance. 144 * for potential module variables using a per-vnet characte 210 SDT_PROVIDER_DEFINE(vnet); variable 231 struct vnet *vnet; local 270 vnet_destroy(struct vnet *vnet) argument 458 struct vnet *vnet; local 475 struct vnet *vnet; local 544 struct vnet *vnet; local 698 db_vnet_print(struct vnet *vnet) argument [all...] |
H A D | vnet.h | 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 { struct 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 [all...] |
H A D | if_arp.h | 118 #include <net/vnet.h>
|
H A D | raw_cb.c | 47 #include <net/vnet.h>
|
H A D | pfil.h | 41 #include <net/vnet.h>
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | inetdevice.h | 37 ip_dev_find(struct vnet *vnet, uint32_t addr) argument 47 CURVNET_SET_QUIET(vnet); 61 ip6_dev_find(struct vnet *vnet, struct in6_addr addr, uint16_t scope_id) argument 76 CURVNET_SET_QUIET(vnet);
|
H A D | netdevice.h | 53 #define init_net *((struct vnet *)0) 61 dev_get_by_index(struct vnet *vnet, int if_index) argument 65 CURVNET_SET(vnet);
|
/freebsd-11-stable/lib/libkvm/ |
H A D | kvm_vnet.c | 44 #include <net/vnet.h> 63 struct vnet vnet; local 190 _kvm_err(kd, kd->program, "%s: no vnet", __func__); 193 if (kvm_read(kd, (uintptr_t)prison.pr_vnet, &vnet, sizeof(vnet)) != 194 sizeof(vnet)) { 195 _kvm_err(kd, kd->program, "%s: vnet", __func__); 198 if (vnet.vnet_magic_n != VNET_MAGIC_N) { 199 _kvm_err(kd, kd->program, "%s: invalid vnet magi [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/net/ |
H A D | ip.h | 47 inet_get_local_port_range(struct vnet *vnet, int *low, int *high) argument 50 CURVNET_SET_QUIET(vnet);
|
/freebsd-11-stable/sys/netipsec/ |
H A D | xform.h | 79 struct vnet *vnet; member in struct:xform_data
|
/freebsd-11-stable/sys/netinet6/ |
H A D | scope6_var.h | 37 #include <net/vnet.h>
|
H A D | ip6_gre.c | 50 #include <net/vnet.h>
|
/freebsd-11-stable/sys/netinet/ |
H A D | tcp_syncache.h | 123 struct vnet *vnet; member in struct:tcp_syncache
|
/freebsd-11-stable/sys/ddb/ |
H A D | db_sym.c | 41 #include <net/vnet.h> 124 * Validate the virtual network pointer used to interpret per-vnet global 126 * walk the global vnet list to check it's an OK pointer. 148 * Read-only variable reporting the current vnet, which is what we use when 259 struct vnet *vnet; local 262 vnet = db_vnet; 264 vnet = curvnet; 272 *valuep = (db_expr_t)((uintptr_t)value + vnet->vnet_data_base);
|
/freebsd-11-stable/tools/regression/ipfw/fwd/ |
H A D | vimage-fwd.sh | 189 ljid=`jail -i -c -n lef$$ host.hostname=left.example.net vnet persist` 192 mjid=`jail -i -c -n mid$$ host.hostname=center.example.net vnet persist` 195 rjid=`jail -i -c -n right$$ host.hostname=right.example.net vnet persist` 210 ifconfig ${lmep}a vnet ${ljid} 211 ifconfig ${lmep}b vnet ${mjid} 230 ifconfig ${mrep}a vnet ${mjid} 231 ifconfig ${mrep}b vnet ${rjid}
|
/freebsd-11-stable/contrib/flex/ |
H A D | tables.c | 287 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-11-stable/etc/ |
H A D | rc.shutdown | 86 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
|
H A D | rc | 82 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
|
/freebsd-11-stable/sys/netpfil/ipfw/pmod/ |
H A D | ip_fw_pmod.c | 41 #include <net/vnet.h>
|
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/ |
H A D | ip_fw_nptv6.c | 41 #include <net/vnet.h>
|
/freebsd-11-stable/tools/tools/vimage/ |
H A D | vimage.c | 60 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(¶ms[psize], "vnet"); 337 jailparam_import_raw(¶ms[psize++], &vs->vnet, sizeof(vs->vnet));
|
/freebsd-11-stable/share/examples/netgraph/ |
H A D | virtual.chain | 224 ifconfig ${EIFACE} vnet ${NODE_NAME} 268 jail -c vnet name=${1} host.hostname=${1} \
|
H A D | virtual.lan | 187 jail -c vnet name=${NODE_NAME} host.hostname=${NODE_NAME} \ 217 ifconfig ${EIFACE} vnet ${NODE_NAME}
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom.h | 165 struct vnet *vnet; member in struct:toepcb 250 struct vnet *vnet; member in struct:listen_ctx
|