Searched refs:rdomain (Results 1 - 25 of 162) sorted by relevance

1234567

/openbsd-current/regress/sys/net/gif/
H A Dpf.conf3 pass in on rdomain $N1 to $DST_TUNNEL4_N1 rtable $N2
4 pass in on rdomain $N2 to $DST_TUNNEL4_N2 rtable $N1
5 pass in on rdomain $N1 to $DST_TUNNEL6_N1 rtable $N2
6 pass in on rdomain $N2 to $DST_TUNNEL6_N2 rtable $N1
/openbsd-current/regress/sys/net/pair/
H A Dpf.conf1 pass out on rdomain $N3 to { $IP_N1 $IP_N2 } rtable $N2
2 pass out on rdomain $N3 to { $IP6_N1 $IP6_N2 } rtable $N2
3 pass out on rdomain $N2 to $IP_N3 rtable $N3
4 pass out on rdomain $N2 to $IP6_N3 rtable $N3
/openbsd-current/regress/sys/net/loop/
H A Dpf.conf3 pass in on rdomain $N1 to $ADDR_N2 rtable $N2
5 pass in on rdomain $N1 to 10.7.7.7 rtable $N2 no state
6 pass in on rdomain $N2 to 10.7.7.7 rtable $N1 no state
H A DMakefile74 @if /sbin/ifconfig | grep -v '^lo$n:' | grep ' rdomain $n '; then\
82 ${SUDO} /sbin/ifconfig lo$n rdomain $n
105 -${SUDO} /sbin/ifconfig lo$n rdomain $n
171 REGRESS_TARGETS += run-ping-rdomain-pass
172 run-ping-rdomain-pass:
176 REGRESS_TARGETS += run-ping-rdomain-block
177 run-ping-rdomain-block:
181 REGRESS_TARGETS += run-ping-rdomain-loop
182 run-ping-rdomain-loop: stamp-bpf
203 REGRESS_TARGETS += run-bpf-rdomain
[all...]
/openbsd-current/regress/usr.sbin/ospf6d/
H A Dospf6d.network_statement.rdomain1.conf2 rdomain {RDOMAIN1}
H A Dospf6d.network_statement.rdomain2.conf2 rdomain {RDOMAIN2}
H A Dnetwork_statement.sh52 if /sbin/ifconfig | grep -v "^lo${n}:" | grep " rdomain ${n} "; then
67 ifconfig ${PAIR1} inet6 rdomain ${RDOMAIN1} ${PAIR1IP}/64 up
68 ifconfig ${PAIR2} inet6 rdomain ${RDOMAIN2} ${PAIR2IP}/64 up
72 ifconfig vether${RDOMAIN1} inet6 rdomain ${RDOMAIN1} ${PAIR1PREFIX}/64 up
73 ifconfig vether${RDOMAIN2} inet6 rdomain ${RDOMAIN2} ${PAIR2PREFIX}/64 up
74 ifconfig vether${RDOMAIN2} inet6 rdomain ${RDOMAIN2} ${PAIR2PREFIX2}/64 up
/openbsd-current/regress/sys/net/vxlan/
H A Dvxlan_1.sh22 echo "2 rdomain(-R option) is required" >&2
54 echo "Aborted. rdomain \`$rt' is used already." >&2
63 ifconfig pair$IFNO1 rdomain $RD1 172.31.0.1/24
64 ifconfig pair$IFNO2 rdomain $RD2 172.31.0.2/24 patch pair$IFNO1
65 ifconfig vether$IFNO1 rdomain $RD1 192.168.0.1
66 ifconfig vether$IFNO2 rdomain $RD2 192.168.0.2
67 ifconfig vxlan$IFNO1 rdomain $RD1 tunneldomain $RD1 || abort_test
68 ifconfig vxlan$IFNO2 rdomain $RD2 tunneldomain $RD2 || abort_test
69 ifconfig bridge$IFNO1 rdomain $RD1 add vether$IFNO1 add vxlan$IFNO1 up
70 ifconfig bridge$IFNO2 rdomain
[all...]
H A Dvxlan_2.sh51 echo "Multicast traffic detected when pinging from rdomain $1"
97 $SUDO ifconfig "$vstack_pairname" rdomain "$vstack" $IFCONFIG_OPTS
99 $SUDO ifconfig "vxlan$vstack" rdomain "$vstack" tunneldomain "$vstack" $IFCONFIG_OPTS
101 [[ -n $DYNAMIC ]] && $SUDO ifconfig "bridge$vstack" rdomain "$vstack" add "vxlan$vstack" $IFCONFIG_OPTS up
107 # Use the first rdomain as the vnetid.
112 rdomain_is_used $rdom || abort_test "rdomain $rdom already in use"
115 rdomain_is_used $VNETID || abort_test "rdomain $rdom already in use"
117 $SUDO ifconfig "bridge$VNETID" rdomain "$VNETID" $IFCONFIG_OPTS up
140 $SUDO ifconfig "pair${id}1" rdomain $VNETID $IFCONFIG_OPTS up
/openbsd-current/sys/net/
H A Dif_enc.c37 struct ifnet **enc_ifps; /* rdomain-mapped enc ifs */
41 #define ENC_MAX_UNITS 4096 /* XXX n per rdomain */
200 enc_getif(u_int rdomain, u_int unit) argument
211 if (ifp == NULL || ifp->if_rdomain != rdomain)
216 /* Otherwise return the default enc interface for this rdomain */
219 else if (rdomain > RT_TABLEID_MAX)
221 else if (rdomain > enc_max_rdomain)
223 return (enc_ifps[rdomain]);
227 enc_getifa(u_int rdomain, u_int unit) argument
232 ifp = enc_getif(rdomain, uni
240 enc_setif(struct ifnet *ifp, u_int rdomain) argument
286 u_int rdomain = ifp->if_rdomain, i; local
[all...]
/openbsd-current/regress/sbin/slaacd/
H A DMakefile47 ${SUDO} ifconfig ${PAIR1} rdomain ${RTABLE} 10.11.12.1/24 up
48 ${SUDO} ifconfig ${PAIR2} rdomain ${RTABLE} 10.11.12.2/24 up
49 ${SUDO} ifconfig ${PAIR1} rdomain ${RTABLE} patch ${PAIR2}
50 ${SUDO} ifconfig ${PAIR1} inet6 rdomain ${RTABLE} eui64
51 ${SUDO} ifconfig ${PAIR2} inet6 rdomain ${RTABLE} eui64
52 ${SUDO} ifconfig ${PAIR2} inet6 rdomain ${RTABLE} autoconf
/openbsd-current/sbin/dhcpleased/
H A Dengine.h21 int rdomain; member in struct:imsg_configure_interface
/openbsd-current/regress/sys/netinet/carp/
H A Dcarp_3.sh22 echo "2 rdomain(-R option) is required" >&2
54 echo "Aborted. rdomain \`$rt' is used already." >&2
63 ifconfig pair$IFNO1 rdomain $RD1 192.168.0.2/24
64 ifconfig pair$IFNO2 rdomain $RD2 192.168.0.3/24 patch pair$IFNO1
69 ifconfig carp$IFNO1 rdomain $RD1 192.168.0.1/24 \
72 ifconfig carp$IFNO2 rdomain $RD2 192.168.0.1/24 \
H A Dcarp_1.sh22 echo "2 rdomain(-R option) is required" >&2
54 echo "Aborted. rdomain \`$rt' is used already." >&2
63 ifconfig pair$IFNO1 rdomain $RD1 192.168.0.2/24
64 ifconfig pair$IFNO2 rdomain $RD2 192.168.0.3/24 patch pair$IFNO1
69 ifconfig carp$IFNO1 rdomain $RD1 192.168.0.1/24 \
72 ifconfig carp$IFNO2 rdomain $RD2 192.168.0.1/24 \
H A Dcarp_4.sh22 echo "2 rdomain(-R option) is required" >&2
54 echo "Aborted. rdomain \`$rt' is used already." >&2
63 ifconfig pair$IFNO1 rdomain $RD1 192.168.0.2/24
64 ifconfig pair$IFNO2 rdomain $RD2 192.168.0.3/24 patch pair$IFNO1
72 ifconfig carp$IFNO1 rdomain $RD1 lladdr $lladdr1 192.168.0.1/24 \
75 ifconfig carp$IFNO2 rdomain $RD2 lladdr $lladdr2 192.168.0.1/24 \
H A Dcarp_2.sh22 echo "2 rdomain(-R option) is required" >&2
54 echo "Aborted. rdomain \`$rt' is used already." >&2
63 ifconfig pair$IFNO1 rdomain $RD1 192.168.0.2/24
64 ifconfig pair$IFNO2 rdomain $RD2 192.168.0.3/24 patch pair$IFNO1
72 ifconfig carp$IFNO1 rdomain $RD1 lladdr $lladdr1 192.168.0.1/24 \
75 ifconfig carp$IFNO2 rdomain $RD2 lladdr $lladdr2 192.168.0.1/24 \
/openbsd-current/sbin/slaacd/
H A Dengine.h32 int rdomain; member in struct:imsg_configure_dfr
/openbsd-current/sbin/dhclient/
H A Dprivsep.c43 dispatch_imsg(char *name, int rdomain, int ioctlfd, int routefd, argument
85 &resolv_conf, routefd, rdomain, index, &lastidx);
94 priv_write_resolv_conf(index, routefd, rdomain,
104 priv_tell_unwind(index, routefd, rdomain, imsg.data);
H A Dkroute.c194 get_routes(int rdomain, size_t *len) argument
206 mib[6] = rdomain;
332 flush_routes(int index, int routefd, int rdomain, uint8_t *routes, argument
342 buf = get_routes(rdomain, &len);
353 if (rtm->rtm_tableid != rdomain)
395 add_route(char *name, int rdomain, int routefd, struct in_addr dest, argument
413 rtm.rtm_tableid = rdomain;
458 set_routes(char *name, int index, int rdomain, int routefd, struct in_addr addr, argument
467 flush_routes(index, routefd, rdomain, routes, routes_len, addr);
487 add_route(name, rdomain, routef
552 default_route_index(int rdomain, int routefd) argument
816 priv_write_resolv_conf(int index, int routefd, int rdomain, char *contents, int *lastidx) argument
916 priv_propose(char *name, int ioctlfd, struct proposal *proposal, size_t sz, char **resolv_conf, int routefd, int rdomain, int index, int *lastidx) argument
1029 priv_tell_unwind(int index, int routefd, int rdomain, struct unwind_info *unwind_info) argument
[all...]
/openbsd-current/regress/sys/netinet6/srcaddr/
H A DMakefile23 ${SUDO} ifconfig ${VETHER} inet6 rdomain ${RTABLE} eui64 up
25 ${SUDO} ifconfig lo${RTABLE} inet rdomain ${RTABLE} 127.0.0.1/8 up
26 ${SUDO} ifconfig lo${RTABLE} inet6 rdomain ${RTABLE} eui64
/openbsd-current/regress/sys/net/rdomains/
H A DMakefile8 # Ensure that one can create the default loopback of a rdomain
10 ${SUDO} ifconfig lo${RDOMAIN} rdomain ${RDOMAIN} up
H A Difalocal.sh83 ifconfig vether3 create rdomain 3 || cleanup_and_die "Error while creating vether3"
84 ifconfig vether4 create rdomain 3 || cleanup_and_die "Error while creating vether4"
85 ifconfig vether5 create rdomain 5 || cleanup_and_die "Error while creating vether5"
86 ifconfig vether6 create rdomain 5 || cleanup_and_die "Error while creating vether6"
/openbsd-current/sbin/iked/
H A Dvroute.c379 vroute_insertroute(struct iked *env, int rdomain, struct sockaddr *dest, argument
397 route->vr_rdomain = rdomain;
403 vroute_removeroute(struct iked *env, int rdomain, struct sockaddr *dest, argument
417 if (rdomain != route->vr_rdomain)
495 vroute_setaddroute(struct iked *env, uint8_t rdomain, struct sockaddr *dst, argument
498 return (vroute_setroute(env, rdomain, dst, mask, ifa,
503 vroute_setcloneroute(struct iked *env, uint8_t rdomain, struct sockaddr *dst, argument
506 return (vroute_setroute(env, rdomain, dst, mask, addr,
511 vroute_setdelroute(struct iked *env, uint8_t rdomain, struct sockaddr *dst, argument
514 return (vroute_setroute(env, rdomain, ds
519 vroute_setroute(struct iked *env, uint32_t rdomain, struct sockaddr *dst, uint8_t mask, struct sockaddr *addr, int type) argument
581 uint32_t rdomain; local
653 uint32_t rdomain; local
769 vroute_doroute(struct iked *env, int flags, int addrs, int rdomain, uint8_t type, struct sockaddr *dest, struct sockaddr *mask, struct sockaddr *addr, int *need_gw) argument
[all...]
/openbsd-current/sys/netinet6/
H A Din6_pcb.c136 in6_pcbhash(struct inpcbtable *table, u_int rdomain, argument
141 u_int32_t nrdom = htonl(rdomain);
436 u_int rdomain; local
478 rdomain = rtable_l2(rtable);
538 rtable_l2(inp->inp_rtableid) != rdomain ||
570 in6_pcbhash_lookup(struct inpcbtable *table, uint64_t hash, u_int rdomain, argument
587 rtable_l2(inp->inp_rtableid) == rdomain) {
612 u_int rdomain; local
614 rdomain = rtable_l2(rtable);
615 hash = in6_pcbhash(table, rdomain, fadd
654 u_int rdomain; local
[all...]
/openbsd-current/regress/sbin/route/
H A DMakefile17 -${SUDO} ifconfig lo${RDOMAIN} rdomain ${RDOMAIN} -inet6 down
18 -${SUDO} ifconfig lo10001 up rdomain ${RDOMAIN} 192.0.2.1/32
19 -${SUDO} ifconfig lo10002 up rdomain ${RDOMAIN} 192.0.2.2/32
20 -${SUDO} ifconfig lo10003 up rdomain ${RDOMAIN} 192.0.2.3/32
21 -${SUDO} ifconfig lo10004 up rdomain ${RDOMAIN} 192.0.2.4/32
341 ${SUDO} ifconfig vether99 rdomain ${RDOMAIN} lladdr fe:e1:ba:d4:c8:1d up
342 ${SUDO} ifconfig vlan99 rdomain ${RDOMAIN} parent vether99 vnetid 3 up
370 ${SUDO} ifconfig vether99 rdomain ${RDOMAIN} lladdr fe:e1:ba:d4:c8:1d up
372 ${SUDO} ifconfig vlan99 rdomain ${RDOMAIN} parent vether99 vnetid 3 up
389 ${SUDO} ifconfig vether99 rdomain
[all...]

Completed in 146 milliseconds

1234567