Searched refs:ip_val (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/lib/ |
D | tst_net.c | 185 void tst_init_sockaddr_inet_bin(struct sockaddr_in *sa, uint32_t ip_val, uint16_t port) in tst_init_sockaddr_inet_bin() argument 190 sa->sin_addr.s_addr = htonl(ip_val); in tst_init_sockaddr_inet_bin() 201 void tst_init_sockaddr_inet6_bin(struct sockaddr_in6 *sa, const struct in6_addr *ip_val, uint16_t p… in tst_init_sockaddr_inet6_bin() argument 206 memcpy(&sa->sin6_addr, ip_val, sizeof(struct in6_addr)); in tst_init_sockaddr_inet6_bin()
|
/third_party/ltp/include/ |
D | tst_net.h | 27 void tst_init_sockaddr_inet_bin(struct sockaddr_in *sa, uint32_t ip_val, uint16_t port); 29 void tst_init_sockaddr_inet6_bin(struct sockaddr_in6 *sa, const struct in6_addr *ip_val, uint16_t p…
|
/third_party/ltp/doc/ |
D | network-c-api.txt | 97 - +void tst_init_sockaddr_inet_bin(struct sockaddr_in *sa, uint32_t ip_val, 99 address +ip_val+ and port number +port+, both in host byte order. 107 in6_addr *ip_val, uint16_t port)+ – Initialize socket address structure +sa+ 108 using binary IPv6 address +ip_val+ and port number +port+, both in host byte
|