/freebsd-10.1-release/usr.sbin/route6d/misc/ |
H A D | chkrt | 21 $gw{$f[0]} = $f[1]; 36 $f[3] =~ /gw\(([a-z0-9:]+)\)/; 42 unless (defined($gw{$dst})) { 47 if ($gw{$dst} ne $gateway && $gw{$dst} !~ /link#\d+/) { 49 print "kernel gw: $gw{$dst}\n";
|
/freebsd-10.1-release/usr.sbin/ppp/ |
H A D | route.c | 439 struct ncpaddr gw; local 441 ncpaddr_setsa(&gw, sa[RTAX_GATEWAY]); 442 snprintf(gwstr, sizeof gwstr, "%s", ncpaddr_ntoa(&gw)); 555 ncpaddr_copy(&r->gw, peer); 560 ncpaddr_copy(&r->gw, peer); 566 ncpaddr_copy(&r->gw, peer); 572 ncpaddr_copy(&r->gw, peer); 573 } else if ((r->type & ROUTE_GWHISADDR) && !ncpaddr_equal(&r->gw, peer)) 574 ncpaddr_copy(&r->gw, peer); 581 ncpaddr_copy(&r->gw, pee 596 route_Add(struct sticky_route **rp, int type, const struct ncprange *dst, const struct ncpaddr *gw) argument 734 rt_Set(struct bundle *bundle, int cmd, const struct ncprange *dst, const struct ncpaddr *gw, int bang, int quiet) argument 858 rt_Update(struct bundle *bundle, const struct sockaddr *dst, const struct sockaddr *gw, const struct sockaddr *mask, const struct sockaddr *ifp, const struct sockaddr *ifa) argument [all...] |
H A D | route.h | 52 struct ncpaddr gw; member in struct:sticky_route
|
H A D | radius.c | 255 struct ncpaddr gw; local 386 * We expect a string of the format ``dest[/bits] gw [metrics]'' 388 * understood for ``dest'' and ``gw'' and ``0.0.0.0'' is the same 403 ncpaddr_setip4(&gw, ip); 414 !ncpaddr_aton(&gw, &bundle->ncp, argv[1])) 431 if (ncpaddr_getip4addr(&gw, &ipaddr) && ipaddr == INADDR_ANY) { 433 ncpaddr_setip4(&gw, bundle->ncp.ipcp.peer_ip); 437 route_Add(&r->routes, addrs, &dest, &gw); 471 * We expect a string of the format ``dest[/bits] gw [metrics]'' 473 * understood for ``dest'' and ``gw'' an [all...] |
H A D | command.c | 2500 struct ncpaddr gw; local 2559 ncpaddr_setip4(&gw, arg->bundle->ncp.ipcp.peer_ip); 2565 ncpaddr_setip6(&gw, &host6); 2569 if (!ncpaddr_aton(&gw, &arg->bundle->ncp, arg->argv[arg->argn + gw_arg])) { 2577 ncprange_setdefault(&dest, ncpaddr_family(&gw)); 2579 if (rt_Set(arg->bundle, RTM_ADD, &dest, &gw, arg->cmd->args ? 1 : 0, 2582 route_Add(&arg->bundle->ncp.route, addrs, &dest, &gw);
|
H A D | ipcp.c | 713 ChooseHisAddr(struct bundle *bundle, struct in_addr gw) argument 722 if (ipcp_SetIPaddress(&bundle->ncp.ipcp, gw, try)) {
|
/freebsd-10.1-release/sys/netinet6/ |
H A D | in6_rmx.c | 301 in6_rtredirect(struct sockaddr *dst, struct sockaddr *gw, struct sockaddr *nm, argument 305 rtredirect_fib(dst, gw, nm, flags, src, fibnum); 309 in6_rtrequest(int req, struct sockaddr *dst, struct sockaddr *gw, argument 313 return (rtrequest_fib(req, dst, gw, mask, flags, ret_nrt, fibnum));
|
/freebsd-10.1-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_route.c | 94 mib_sroute_process(struct rt_msghdr *rtm, struct sockaddr *gw, argument 104 if (dst == NULL || gw == NULL || dst->sa_family != AF_INET || 105 gw->sa_family != AF_INET) 109 in_gw = (struct sockaddr_in *)(void *)gw; 174 mib_send_rtmsg(rtm, gw, dst, mask);
|
H A D | mibII.c | 1137 mib_send_rtmsg(struct rt_msghdr *rtm, struct sockaddr *gw, argument 1145 len = sizeof(*rtm) + SA_SIZE(gw) + SA_SIZE(dst) + SA_SIZE(mask); 1159 memcpy(cp, gw, SA_SIZE(gw)); 1160 cp += SA_SIZE(gw);
|
/freebsd-10.1-release/contrib/file/ |
H A D | README | 5 Mailing List: file@mx.gw.com 6 Mailing List archives: http://mx.gw.com/pipermail/file/ 7 Bug tracker: http://bugs.gw.com/
|
/freebsd-10.1-release/sys/netinet/ |
H A D | ip_output.c | 130 const struct sockaddr_in *gw; local 195 * dst/gw handling: 198 * gw is readonly but can be pointed either to dst OR rt_gatewy 201 gw = dst = (struct sockaddr_in *)&ro->ro_dst; 221 gw = dst; 307 gw = (struct sockaddr_in *)rte->rt_gateway; 311 isbroadcast = in_broadcast(gw->sin_addr, ifp); 337 * IP destination address is multicast. Make sure "gw" 341 gw = dst; 639 (const struct sockaddr *)gw, r [all...] |
H A D | ip_icmp.c | 608 u_long src, dst, gw; local 612 gw = ntohl(icp->icmp_gwaddr.s_addr); 619 (int)(gw >> 24), (int)((gw >> 16) & 0xff), 620 (int)((gw >> 8) & 0xff), (int)(gw & 0xff));
|
/freebsd-10.1-release/usr.sbin/rtadvd/ |
H A D | if.c | 166 struct sockaddr *sa, *dst, *gw, *ifa, *rti_info[RTAX_MAX]; local 205 if ((gw = rti_info[RTAX_GATEWAY]) == NULL || 206 gw->sa_family != AF_LINK) 208 if (ifindex && SDL(gw)->sdl_index != ifindex)
|
/freebsd-10.1-release/sys/netatalk/ |
H A D | at_control.c | 66 static int aa_claim_addr(struct ifaddr *ifa, struct sockaddr *gw); 860 struct sockaddr_at *gw = (struct sockaddr_at *)gw0; local 862 switch (gw->sat_range.r_netrange.nr_phase) { 874 if ((addr->sat_addr.s_net == gw->sat_addr.s_net) 876 && (ntohs(gw->sat_addr.s_net) >= 878 && (ntohs(gw->sat_addr.s_net) <=
|
/freebsd-10.1-release/sys/nfs/ |
H A D | bootp_subr.c | 138 struct sockaddr_in gw; member in struct:bootpc_ifcontext 1019 struct sockaddr_in *gw; local 1025 gw = &ifctx->gw; 1061 (struct sockaddr *) &defdst, (struct sockaddr *) gw, 1386 clear_sinaddr(&ifctx->gw); 1397 ifctx->gw.sin_addr = ifctx->reply.giaddr; 1436 bcopy(p, &ifctx->gw.sin_addr, 4); 1438 print_sin_addr(&ifctx->gw); 1534 ifctx->gw [all...] |
/freebsd-10.1-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 1361 struct update_gid_work *gw = container_of(work, struct update_gid_work, work); local 1365 struct mlx4_dev *dev = gw->dev->dev; 1374 memcpy(gids, gw->gids, sizeof gw->gids); 1376 err = mlx4_cmd(dev, mailbox->dma, MLX4_SET_PORT_GID_TABLE << 8 | gw->port, 1382 memcpy(gw->dev->iboe.gid_table[gw->port - 1], gw->gids, sizeof gw->gids); 1383 mlx4_ib_dispatch_event(gw [all...] |
/freebsd-10.1-release/contrib/atf/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); \
|
/freebsd-10.1-release/usr.sbin/route6d/ |
H A D | route6d.c | 1370 /* Got worse route from same gw */ 1379 /* same metric, same route from same gw */ 1862 trace(1, "\tsome of dst/gw/netamsk are " 1872 trace(1, "\tsome of dst/gw/netamsk are " 1943 const struct in6_addr *gw = NULL; local 1963 gw = &sgw->sin6_addr; 1992 gw = &in6addr_loopback; 1995 trace(1, "\tunsupported af: (gw=%d)\n", sgw->sin6_family); 2000 trace(1, "gw %s\n", inet6_n2p(gw)); 2797 addroute(struct riprt *rrt, const struct in6_addr *gw, struct ifc *ifcp) argument 2872 delroute(struct netinfo6 *np, struct in6_addr *gw) argument 2938 getroute(struct netinfo6 *np, struct in6_addr *gw) argument [all...] |
/freebsd-10.1-release/sys/boot/i386/libi386/ |
H A D | pxe.c | 647 udpwrite_p->gw = 0; 649 udpwrite_p->gw = gateip.s_addr;
|
H A D | pxe.h | 434 IP4_t gw; /* ip gateway */ member in struct:__anon6323
|
/freebsd-10.1-release/usr.bin/netstat/ |
H A D | route.c | 630 sa_u addr, mask, gw; local 643 GETSA(gw, RTA_GATEWAY); 646 p_sockaddr(&gw.u_sa, NULL, RTF_HOST, wid_gw);
|
/freebsd-10.1-release/contrib/atf/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); \
|
/freebsd-10.1-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_cpl_io.c | 961 struct sockaddr *gw; local 981 gw = rt->rt_flags & RTF_GATEWAY ? rt->rt_gateway : nam; 982 e = t3_l2t_get(pi, ifp, gw);
|
/freebsd-10.1-release/contrib/tcsh/ |
H A D | configure | 5 # Report bugs to <http://bugs.gw.com/>. 242 $0: http://bugs.gw.com/ about your system, including any 565 PACKAGE_BUGREPORT='http://bugs.gw.com/' 1333 Report bugs to <http://bugs.gw.com/>. 1644 ## Report this to http://bugs.gw.com/ ## 7335 Report bugs to <http://bugs.gw.com/>."
|