Searched refs:gw (Results 1 – 4 of 4) sorted by relevance
| /xnu-8796.141.3/bsd/kern/ |
| H A D | netboot.c | 487 struct sockaddr_in gw; in route_cmd() local 499 bzero((caddr_t)&gw, sizeof(gw)); in route_cmd() 500 gw.sin_len = sizeof(gw); in route_cmd() 501 gw.sin_family = AF_INET; in route_cmd() 502 gw.sin_addr = g; in route_cmd() 511 (struct sockaddr *)&gw, (struct sockaddr *)&mask, flags, NULL, ifscope); in route_cmd()
|
| /xnu-8796.141.3/bsd/net/ |
| H A D | route.c | 1647 const struct sockaddr *gw, unsigned int ifscope) in ifa_ifwithroute_common_locked() argument 1662 const struct sockaddr_in6 *gw_addr = (const struct sockaddr_in6*)(const void*)gw; in ifa_ifwithroute_common_locked() 1690 if (gw != NULL && in ifa_ifwithroute_common_locked() 1691 ((gw->sa_family == AF_INET) || in ifa_ifwithroute_common_locked() 1692 (gw->sa_family == AF_INET6))) { in ifa_ifwithroute_common_locked() 1693 gw = sa_copy(SA((uintptr_t)gw), &gw_ss, IN6_NULL_IF_EMBEDDED_SCOPE(&ifscope)); in ifa_ifwithroute_common_locked() 1708 ifa = ifa_ifwithaddr_scoped(gw, ifscope); in ifa_ifwithroute_common_locked() 1716 ifa = ifa_ifwithdstaddr(gw); in ifa_ifwithroute_common_locked() 1719 ifa = ifa_ifwithnet_scoped(gw, ifscope); in ifa_ifwithroute_common_locked() 1760 if ((ifa == NULL || (gw != NULL && in ifa_ifwithroute_common_locked() [all …]
|
| /xnu-8796.141.3/tools/lldbmacros/ |
| H A D | net.py | 728 gw = Cast(rt.rt_gateway, 'sockaddr *') 729 if (gw.sa_family == AF_INET): 730 out_string += dst_string_format.format(GetSocketAddrAsStringInet(gw)) + " " 732 if (gw.sa_family == 30): 733 out_string += dst_string_format.format(GetSocketAddrAsStringInet6(gw)) + " " 736 if (gw.sa_family == 18): 737 out_string += dst_string_format.format(GetSocketAddrAsStringLink(gw)) + " " 743 dst_string_format.format(GetSocketAddrAsStringUnspec(gw))
|
| /xnu-8796.141.3/bsd/netinet/ |
| H A D | tcp_log.h | 65 X(TLEF_DST_GW, 0x00000040, gw) \
|