Searched refs:gw (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | netboot.c | 539 struct sockaddr_in gw; local 551 bzero((caddr_t)&gw, sizeof(gw)); 552 gw.sin_len = sizeof(gw); 553 gw.sin_family = AF_INET; 554 gw.sin_addr = g; 563 (struct sockaddr *)&gw, (struct sockaddr *)&mask, flags, NULL, ifscope);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | route.c | 1428 const struct sockaddr *gw, unsigned int ifscope) 1451 if (gw != NULL && 1452 ((gw->sa_family == AF_INET && ip_doscopedroute) || 1453 (gw->sa_family == AF_INET6 && ip6_doscopedroute))) 1455 if (gw != NULL && gw->sa_family == AF_INET && ip_doscopedroute) 1457 gw = sa_copy(SA((uintptr_t)gw), &gw_ss, NULL); 1471 ifa = ifa_ifwithaddr_scoped(gw, ifscope); 1478 ifa = ifa_ifwithdstaddr(gw); 1427 ifa_ifwithroute_common_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gw, unsigned int ifscope) argument 3381 struct sockaddr *gw = (struct sockaddr *)&ss; local [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_icmp.c | 567 u_int32_t src, dst, gw; local 571 gw = ntohl(icp->icmp_gwaddr.s_addr); 578 (int)(gw >> 24), (int)((gw >> 16) & 0xff), 579 (int)((gw >> 8) & 0xff), (int)(gw & 0xff));
|
Completed in 20 milliseconds