/netbsd-current/crypto/dist/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
H A D | phase1-up.sh | 48 route add ${REMOTE_ADDR} gw ${DEFAULT_GW} dev ${if} 49 route add default gw ${DEFAULT_GW} dev ${if}:1
|
H A D | phase1-down.sh | 50 route add default gw ${DEFAULT_GW}
|
/netbsd-current/tests/net/if_tun/ |
H A D | t_tun.sh | 72 local gw=$2 78 atf_check -s exit:0 -o match:" $gw " -e ignore -x \
|
/netbsd-current/tests/net/ |
H A D | net_common.sh | 57 local gw=$2 62 if [ "$gw" = "" ]; then 63 gw=".+" 65 gw=$(echo $gw | sed 's/\./\\./g') 69 -o match:"^$target +$gw +$flags +- +- +.+ +$ifname" \
|
/netbsd-current/share/examples/rump/virtual_ip_router/ |
H A D | rumprouter.c | 114 configure_routing(const char *dst, const char *mask, const char *gw) argument 149 /* gw */ 153 sinstore.sin_addr.s_addr = inet_addr(gw);
|
/netbsd-current/external/mpl/dhcp/dist/client/scripts/ |
H A D | openwrt | 140 route add default gw $router $metric_arg dev $interface 149 route del default gw $router 155 route add default gw $router $metric_arg dev $interface 203 route add default gw $router $metric_arg dev $interface
|
/netbsd-current/usr.sbin/rtadvd/ |
H A D | if.c | 202 const struct sockaddr *sa, *dst, *gw, *ifa, *rti_info[RTAX_MAX]; local 234 if ((gw = rti_info[RTAX_GATEWAY]) == NULL || 235 gw->sa_family != AF_LINK) 237 if (ifindex && SDL(gw)->sdl_index != ifindex)
|
/netbsd-current/tests/net/config/ |
H A D | netconfig.c | 126 netcfg_rump_route(const char *dst, const char *mask, const char *gw) argument 162 /* gw */ 166 sinstore.sin_addr.s_addr = inet_addr(gw);
|
/netbsd-current/external/mpl/dhcp/dist/relay/tests/ |
H A D | relay_unittests.c | 415 extern struct in_addr gw; 424 inet_ntop(AF_INET, &gw, txt, sizeof(txt));
|
/netbsd-current/sys/nfs/ |
H A D | nfs_boot.c | 534 struct sockaddr dst, gw, mask; local 543 memset((void *)&gw, 0, sizeof(gw)); 544 sin = (struct sockaddr_in *)&gw; 552 /* add, dest, gw, mask, flags, 0 */ 553 error = rtrequest(RTM_ADD, &dst, &gw, &mask,
|
/netbsd-current/sys/fs/nfs/common/ |
H A D | bootp_subr.c | 154 struct sockaddr_in gw; member in struct:bootpc_ifcontext 1084 if (ifctx->gw.sin_addr.s_addr == htonl(INADDR_ANY)) 1091 (struct sockaddr *) &ifctx->gw, (struct sockaddr *)&defmask, 1105 if (ifctx->gw.sin_addr.s_addr == htonl(INADDR_ANY)) 1112 (struct sockaddr *) &ifctx->gw, (struct sockaddr *)&defmask, 1431 clear_sinaddr(&ifctx->gw); 1440 ifctx->gw.sin_addr = ifctx->reply.giaddr; 1479 bcopy(p, &ifctx->gw.sin_addr, 4); 1481 print_sin_addr(&ifctx->gw); 1794 bcopy(&ifctx->gw, [all...] |
/netbsd-current/tests/net/net/ |
H A D | t_ping6_opts.sh | 52 local gw=${4} 58 atf_check -s exit:0 -o ignore rump.route add -inet6 default ${gw}
|
H A D | t_ping_opts.sh | 53 local gw=${4} 59 atf_check -s exit:0 -o ignore rump.route add default ${gw}
|
H A D | t_forwarding.sh | 94 gw=${5} 101 atf_check -s exit:0 -o ignore rump.route add -inet6 default ${gw} 104 atf_check -s exit:0 -o ignore rump.route add default ${gw}
|
/netbsd-current/tests/net/if_wg/ |
H A D | t_tunnel.sh | 66 local gw=$4 73 atf_check -s exit:0 -o ignore rump.route add -$proto default $gw
|
/netbsd-current/external/bsd/atf/dist/atf-c++/detail/ |
H A D | fs_test.cpp | 385 #define perms(ur, uw, ux, gr, gw, gx, othr, othw, othx) \ 392 ATF_REQUIRE(fi.is_group_writable() == gw); \
|
/netbsd-current/sys/arch/i386/stand/pxeboot/ |
H A D | pxe.c | 129 uw->gw = gateip.s_addr;
|
H A D | pxe.h | 437 IP4_t gw; /* ip gateway */ member in struct:__anon83
|
/netbsd-current/usr.sbin/route6d/ |
H A D | route6d.c | 1177 /* Got worse route from same gw */ 1186 /* same metric, same route from same gw */ 1603 trace(1, "\tsome of dst/gw/netamsk are " 1613 trace(1, "\tsome of dst/gw/netamsk are " 1685 const struct in6_addr *gw = NULL; local 1705 gw = &sgw->sin6_addr; 1734 gw = &in6addr_loopback; 1737 trace(1, "\tunsupported af: (gw=%d)\n", sgw->sin6_family); 1742 trace(1, "gw %s\n", inet6_n2p(gw)); 2554 addroute(struct riprt *rrt, const struct in6_addr *gw, struct ifc *ifcp) argument 2624 delroute(struct netinfo6 *np, struct in6_addr *gw) argument [all...] |
/netbsd-current/external/bsd/atf/dist/tools/ |
H A D | fs_test.cpp | 394 #define perms(ur, uw, ux, gr, gw, gx, othr, othw, othx) \ 401 ATF_REQUIRE(fi.is_group_writable() == gw); \
|
/netbsd-current/tests/net/route/ |
H A D | t_route.sh | 135 local gw=${5} 141 atf_check -s exit:0 -o ignore rump.route add -inet6 default ${gw} 144 atf_check -s exit:0 -o ignore rump.route add default ${gw}
|
/netbsd-current/external/bsd/atf/dist/atf-c/detail/ |
H A D | fs_test.c | 501 #define perms(ur, uw, ux, gr, gw, gx, othr, othw, othx) \ 508 ATF_REQUIRE(atf_fs_stat_is_group_writable(&st) == gw); \
|
/netbsd-current/external/bsd/ppp/usr.sbin/pppd/ |
H A D | sys-bsd.c | 1679 struct sockaddr_in6 gw; member in struct:__anon2 1699 rmsg.gw.sin6_family = AF_INET6; 1700 IN6_SOCKADDR_FROM_EUI64(&rmsg.gw, g);
|
/netbsd-current/external/mpl/dhcp/dist/relay/ |
H A D | dhcrelay.c | 114 struct in_addr gw = {0}; variable in typeref:struct:in_addr 587 if (inet_pton(AF_INET, argv[i], &gw) <= 0) { 970 packet->giaddr = gw;
|