Searched refs:localaddr (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/networking/ |
D | netstat.c | 358 static void build_ipv6_addr(char* local_addr, struct sockaddr_in6* localaddr) in build_ipv6_addr() argument 367 inet_pton(AF_INET6, addr6, &localaddr->sin6_addr); in build_ipv6_addr() 369 localaddr->sin6_family = AF_INET6; in build_ipv6_addr() 373 static void build_ipv4_addr(char* local_addr, struct sockaddr_in* localaddr) in build_ipv4_addr() argument 375 sscanf(local_addr, "%X", &localaddr->sin_addr.s_addr); in build_ipv4_addr() 376 localaddr->sin_family = AF_INET; in build_ipv4_addr() 418 } localaddr, remaddr; member 445 build_ipv6_addr(local_addr, ¶m->localaddr.sin6); in scan_inet_proc_line() 449 build_ipv4_addr(local_addr, ¶m->localaddr.sin); in scan_inet_proc_line() 462 ¶m->localaddr.sa, param->local_port, in print_inet_line()
|