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

1234567891011>>

/freebsd-11-stable/etc/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-11-stable/sbin/route/
H A DMakefile7 PROG= route
8 MAN= route.8
9 SRCS= route.c keywords.h
/freebsd-11-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-11-stable/sys/net/
H A Dradix_mpath.h44 struct route;
55 void rtalloc_mpath_fib(struct route *, u_int32_t, u_int);
H A Dflowtable.h50 * and return it in the route.
52 int flowtable_lookup(sa_family_t, struct mbuf *, struct route *);
/freebsd-11-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-11-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-11-stable/tools/bsdbox/
H A DMakefile.net7 CRUNCH_PROGS_sbin+= route ping
/freebsd-11-stable/contrib/hyperv/tools/scripts/
H A Dhv_set_ifconfig56 route flush
57 route add default $GATEWAY
58 #route change default $GATEWAY
/freebsd-11-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-11-stable/release/picobsd/floppy.tree/sbin/
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-11-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-11-stable/tools/tools/net80211/scripts/
H A Dsetup.local13 route flush
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-query/
H A Denable-net.sh80 # Check if we have a default route already to not overwrite.
81 if ! route -n get -inet6 default > /dev/null 2>&1 ; then
82 route add -inet6 default ${IPV6GATE}
104 route add -inet default ${GATE}
107 route add -inet6 default ${IPV6GATE}
/freebsd-11-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-11-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"
61 # Check for an IPv6 loopback route
64 setfib -F ${fib} route -6 get ::1
/freebsd-11-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-11-stable/sys/netinet/
H A Dip_options.h41 struct in_addr route[MAX_IPOPTLEN/sizeof(struct in_addr)]; member in struct:ipoptrt
/freebsd-11-stable/share/examples/netgraph/
H A Dudp.tunnel50 # Add a route to the peer's interior network via the tunnel
52 route add ${REM_INSIDE_NET} ${REM_INTERIOR_IP}
/freebsd-11-stable/contrib/netbsd-tests/net/mpls/
H A Dt_ldp_regen.sh34 # Add an alias on shmif1 on R4 for which we already have a route on R3
64 # Now ldpd on R5 should take notice of the new route and announce it
92 atf_check -s exit:0 rump.route -q add 10.0.4.0/24 10.0.1.2
93 atf_check -s exit:0 rump.route -q add 10.0.5.0/24 10.0.1.2
109 atf_check -s exit:0 rump.route -q add 10.0.4.0/24 10.0.2.2
110 atf_check -s exit:0 rump.route -q add 10.0.5.0/24 10.0.2.2
125 atf_check -s exit:0 rump.route -q add 10.0.1.0/24 10.0.2.1
126 atf_check -s exit:0 rump.route -q add 10.0.4.0/24 10.0.3.2
127 atf_check -s exit:0 rump.route -q add 10.0.5.0/24 10.0.3.2
140 atf_check -s exit:0 rump.route
[all...]
/freebsd-11-stable/contrib/netbsd-tests/net/mcast/
H A Dt_mcast.sh47 # A route to the mcast address is required to join the mcast group
48 atf_check -s exit:0 -o ignore rump.route add default 10.0.0.1
49 atf_check -s exit:0 -o ignore rump.route add -inet6 default fc00::1
/freebsd-11-stable/sys/dev/sound/pci/
H A Daureal.c190 au_addroute(struct au_info *au, int a, int b, int route) argument
195 au_wr(au, 0, AU_REG_RTBASE+(route<<2), 0xffffffff, 4);
196 au_wr(au, 0, j, route | (b<<7), 4);
197 au->y[route]=au->x[a];
198 au->x[a]=route;
199 au->z[route]=a & 0x000000ff;
200 au_setbit(au->routes, route, 1);
204 au_delroute(struct au_info *au, int route) argument
207 int j=au->z[route];
209 au_setbit(au->routes, route,
[all...]

Completed in 305 milliseconds

1234567891011>>