Searched refs:route (Results 1 - 25 of 393) sorted by relevance

1234567891011>>

/freebsd-13-stable/libexec/rc/rc.d/
H A Dstf23 # assign IPv6 addr and interface route for 6to4 interface
60 route add -inet6 2002:e000:: -prefixlen 20 ::1 -reject
61 route add -inet6 2002:7f00:: -prefixlen 24 ::1 -reject
62 route add -inet6 2002:0000:: -prefixlen 24 ::1 -reject
63 route add -inet6 2002:ff00:: -prefixlen 24 ::1 -reject
72 route delete -inet6 2002:e000:: -prefixlen 20 ::1
73 route delete -inet6 2002:7f00:: -prefixlen 24 ::1
74 route delete -inet6 2002:0000:: -prefixlen 24 ::1
75 route delete -inet6 2002:ff00:: -prefixlen 24 ::1
/freebsd-13-stable/sbin/route/
H A DMakefile7 PROG= route
8 MAN= route.8
9 SRCS= route.c keywords.h
/freebsd-13-stable/contrib/netbsd-tests/sbin/route/
H A Dt_missing.sh33 atf_set "descr" "Check route(8) with a missing argument (PR bin/42179)"
39 -e not-inline:"route: writing to routing socket: Invalid argument\n" \
40 route -n get
/freebsd-13-stable/contrib/netbsd-tests/net/route/
H A Dt_change.sh39 atf_set "descr" "Change a reject route to blackhole"
49 rump.route add 207.46.197.32 127.0.0.1 -reject
51 "rump.route -n show -inet | grep ^207.46"
53 rump.route change 207.46.197.32 127.0.0.1 -blackhole
68 atf_set "descr" "Change the gateway of a route"
82 rump.route add -net 192.168.0.0/24 10.0.0.1
84 "rump.route -n show -inet | grep ^192.168"
86 rump.route change -net 192.168.0.0/24 10.0.0.254
88 "rump.route -n show -inet | grep ^192.168"
101 atf_set "descr" "Change the ifa (local address) of a route"
[all...]
H A Dt_flags6.sh98 atf_check -s exit:0 -o ignore rump.route add -inet6 default $IP6_PEER
110 # Static route to host
112 rump.route add -inet6 fc00::1:1 $IP6_PEER
118 # Static route to network
120 rump.route add -inet6 -net fc00::/24 $IP6_PEER
134 # Delete an existing route first
136 rump.route delete -inet6 -net fc00::/64
140 rump.route add -inet6 -net fc00::/64 ::1 -blackhole
159 # Delete an existing route first
161 rump.route delet
[all...]
H A Dt_flags.sh115 atf_check -s exit:0 -o ignore rump.route add default 10.0.0.1
127 # Static route to host
128 atf_check -s exit:0 -o ignore rump.route add 10.0.1.1 10.0.0.1
134 # Static route to network
135 atf_check -s exit:0 -o ignore rump.route add -net 10.0.2.0/24 10.0.0.1
149 # Delete an existing route first
150 atf_check -s exit:0 -o ignore rump.route delete -net 10.0.0.0/24
154 rump.route add -net 10.0.0.0/24 127.0.0.1 -blackhole
173 # Delete an existing route first
174 atf_check -s exit:0 -o ignore rump.route delet
[all...]
H A Dt_route.sh74 rump.route add -net 10.0.0.1/32 -link -cloning -iface shmif0
86 # Don't know a route to the gateway yet
88 -e match:'No route to host' rump.ping $PING_OPTS 192.168.0.1
90 # Teach a route to the gateway
92 rump.route add -net 192.168.0.1/32 -link -cloning -iface shmif0
94 rump.route add default -ifa 10.0.0.1 192.168.0.1
116 atf_set "descr" "tests of route get command"
123 atf_set "descr" "tests of route get command (IPv6)"
139 atf_check -s exit:0 -o ignore rump.route add -inet6 default ${gw}
142 atf_check -s exit:0 -o ignore rump.route ad
[all...]
/freebsd-13-stable/contrib/ofed/libibverbs/
H A Dnl1_compat.h7 #include <netlink/route/rtnl.h>
8 #include <netlink/route/link.h>
9 #include <netlink/route/route.h>
10 #include <netlink/route/neighbour.h>
/freebsd-13-stable/sbin/route/tests/
H A Dbasic.sh35 atf_set descr 'add/change/delete route test for v4'
47 # add a new route in the jail
48 jexec alcatraz route add 192.0.2.3 192.0.2.2
52 atf_fail "Failed to add new route."
55 # change the added route
56 jexec alcatraz route change 192.0.2.3 192.0.2.4
60 atf_fail "Failed to change route."
63 # delete the route
64 jexec alcatraz route delete 192.0.2.3
68 atf_fail "Failed to delete route
[all...]
/freebsd-13-stable/tests/sys/netinet6/
H A Dfibs6.sh72 jexec ${jname}a setfib 1 route -6n get ${net_dst}/64
73 jexec ${jname}a setfib 1 route -6n get ${net_dst}1/128
74 jexec ${jname}a setfib 1 route -6n get fe80::%${epair}a/64
75 jexec ${jname}a setfib 1 route -6n get ${lladdr}
77 atf_check -s exit:0 -o ignore jexec ${jname}a setfib 1 route -6n get ${net_dst}/64
78 atf_check -s exit:0 -o ignore jexec ${jname}a setfib 1 route -6n get ${net_dst}1/128
79 atf_check -s exit:0 -o ignore jexec ${jname}a setfib 1 route -6n get fe80::%${epair}a/64
80 atf_check -s exit:0 -o ignore jexec ${jname}a setfib 1 route -6n get ${lladdr}
/freebsd-13-stable/tools/bsdbox/
H A DMakefile.net7 CRUNCH_PROGS_sbin+= route ping
/freebsd-13-stable/contrib/hyperv/tools/scripts/
H A Dhv_set_ifconfig56 route flush
57 route add default $GATEWAY
58 #route change default $GATEWAY
/freebsd-13-stable/sys/ofed/include/rdma/
H A Dopa_smi.h80 } route; member in struct:opa_smp
136 return smp->route.dr.data;
138 return smp->route.lid.data;
144 return sizeof(smp->route.dr.data);
146 return sizeof(smp->route.lid.data);
152 return sizeof(*smp) - sizeof(smp->route.dr.data);
154 return sizeof(*smp) - sizeof(smp->route.lid.data);
/freebsd-13-stable/sbin/dhclient/
H A Ddhclient-script76 #route delete $alias_ip_address $LOCALHOST > /dev/null 2>&1
84 #route add $alias_ip_address $LOCALHOST
92 route="default"
94 route="$2.0.0.0/$1"
97 route="$2.$3.0.0/$1"
100 route="$2.$3.$4.0/$1"
103 route="$2.$3.$4.$5/$1"
108 classless_routes="$classless_routes $route $router"
114 #route delete "$old_ip_address" $LOCALHOST >/dev/null 2>&1
119 route delet
[all...]
/freebsd-13-stable/contrib/netbsd-tests/net/icmp/
H A Dt_icmp6_redirect.sh53 atf_set "require.progs" "rump_server rump.route rump.ping rump.ifconfig"
92 atf_check -s exit:0 -o ignore rump.route add \
102 atf_check -s exit:0 -o ignore rump.route add \
116 atf_check -s exit:0 -o ignore rump.route add \
118 $DEBUG && rump.route get -inet6 ${IP6IF0_PEER}
127 $DEBUG && rump.route show -inet6
128 # Check if a created route is correctly redirected to gateway #1
129 atf_check -s exit:0 -o match:"gateway: ${gw1_lladdr0}" rump.route get \
133 $DEBUG && rump.route show -inet6
134 # Check if the created route i
[all...]
/freebsd-13-stable/tools/tools/net80211/scripts/
H A Dsetup.local13 route flush
/freebsd-13-stable/tests/etc/rc.d/
H A Drouting_test.sh37 atf_set "descr" "Every FIB should have a static IPv4 loopback route"
44 # Check for an IPv4 loopback route
47 setfib -F ${fib} route -4 get 127.0.0.1
54 atf_set "descr" "Every FIB should have a static IPv6 loopback route"
65 # Check for an IPv6 loopback route
68 setfib -F ${fib} route -6 get ::1
/freebsd-13-stable/tests/sys/netinet/
H A Dredirect.sh81 jexec ${jname} route add -4 -net ${net4} ${remote_rtr_ip}
92 --route ${dst_addr4} --gw ${new_rtr_ip} \
95 atf_check -o match:"destination: ${dst_addr4}\$" jexec ${jname} route -n get -4 ${dst_addr4}
96 atf_check -o match:'flags: <UP,GATEWAY,HOST,DYNAMIC,DONE>' jexec ${jname} route -n get -4 ${dst_addr4}
H A Dfibs.sh58 atf_check -s exit:0 -o ignore jexec ${jname}a setfib 1 route -4n get ${net_dst}0/24
59 atf_check -o match:"interface: lo0" jexec ${jname}a setfib 1 route -4n get ${net_dst}1
60 atf_check -o match:"destination: ${net_dst}1" jexec ${jname}a setfib 1 route -4n get ${net_dst}1
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
H A Dib_smi.c130 * Fixup a directed route SMP for sending
150 smp->route.dr.initial_path,
151 smp->route.dr.return_path,
153 smp->route.dr.dr_dlid ==
155 smp->route.dr.dr_slid ==
265 smp->route.dr.initial_path,
266 smp->route.dr.return_path,
268 smp->route.dr.dr_dlid ==
270 smp->route.dr.dr_slid ==
318 smp->route
[all...]
/freebsd-13-stable/sys/net/route/
H A Dmpath_ctl.c48 #include <net/route.h>
49 #include <net/route/route_ctl.h>
50 #include <net/route/route_var.h>
57 #include <net/route/nhop_utils.h>
58 #include <net/route/nhop.h>
59 #include <net/route/nhop_var.h>
104 * the same route simultaneously. Reduce the chance of failing the
135 * First multipath route got installed. Enable local
H A Droute_temporal.c30 * (typically, redirect-originated) from the route tables.
46 #include <net/route.h>
47 #include <net/route/route_ctl.h>
48 #include <net/route/route_var.h>
53 * Updates time of the next nearest route expiration as a side effect.
122 * Called by the routing code upon adding new temporal route
/freebsd-13-stable/sys/netinet/
H A Din_rmx.c42 #include <net/route.h>
43 #include <net/route/route_ctl.h>
44 #include <net/route/route_var.h>
45 #include <net/route/nhop.h>
70 * mark route as broadcast.
71 * This behavior was useful when route cloning
73 * route for every broadcasted address.
75 * to do route cloning, though someone might explicitly
87 * Check route MTU:
96 /* Ensure that default route nho
[all...]
H A Dip_options.h43 struct in_addr route[MAX_IPOPTLEN/sizeof(struct in_addr)]; member in struct:ipoptrt
/freebsd-13-stable/sys/netinet6/
H A Din6_rmx.c81 #include <net/route.h>
82 #include <net/route/route_ctl.h>
83 #include <net/route/route_var.h>
84 #include <net/route/nhop.h>
110 * Check route MTU:
119 /* Ensure that default route nhop has special flag */

Completed in 268 milliseconds

1234567891011>>