| /inet/ |
| A D | ether_ntoa_r.c | 24 ether_ntoa_r (const struct ether_addr *addr, char *buf) in ether_ntoa_r() argument 27 addr->ether_addr_octet[0], addr->ether_addr_octet[1], in ether_ntoa_r() 28 addr->ether_addr_octet[2], addr->ether_addr_octet[3], in ether_ntoa_r() 29 addr->ether_addr_octet[4], addr->ether_addr_octet[5]); in ether_ntoa_r()
|
| A D | ether_ntoa.c | 23 ether_ntoa (const struct ether_addr *addr) in ether_ntoa() argument 27 return ether_ntoa_r (addr, asc); in ether_ntoa()
|
| A D | gethstbyad_r.c | 25 #define ADD_PARAMS const void *addr, socklen_t len, int type 26 #define ADD_VARIABLES addr, len, type 33 && __builtin_expect (memcmp (&__in6addr_any, addr, \
|
| A D | tst-ntoa.c | 10 struct in_addr addr; in test() local 14 addr.s_addr = htonl (inaddr); in test() 15 res = inet_ntoa (addr); in test()
|
| A D | gethstbyad.c | 24 #define ADD_PARAMS const void *addr, socklen_t len, int type 25 #define ADD_VARIABLES addr, len, type
|
| A D | tst-inet6_rth.c | 95 struct in6_addr *addr = inet6_rth_getaddr (buf2.buffer, i); in do_test() local 96 if (addr == NULL) in do_test() 102 else if (addr->s6_addr[0] != nseg - 1 - i in do_test() 103 || memcmp (&addr->s6_addr[1], &in6addr_any.s6_addr[1], in do_test() 108 inet_ntop (AF_INET6, addr, addrbuf, sizeof (addrbuf)); in do_test() 163 struct in6_addr *addr = inet6_rth_getaddr (p, i); in do_test() local 164 if (addr == NULL) in do_test() 170 else if (addr->s6_addr[0] != nseg - 1 - i in do_test() 171 || memcmp (&addr->s6_addr[1], &in6addr_any.s6_addr[1], in do_test() 176 inet_ntop (AF_INET6, addr, addrbuf, sizeof (addrbuf)); in do_test()
|
| A D | tst-inet6_scopeid_pton.c | 51 struct in6_addr addr; in from_string() local 52 if (inet_pton (AF_INET6, address, &addr) != 1) in from_string() 54 return addr; in from_string() 99 const struct in6_addr *addr, uint32_t scope) in check_ai() argument 101 if (memcmp (addr, &sa->sin6_addr, sizeof (*addr)) != 0) in check_ai() 123 struct in6_addr addr = from_string (address); in expect_failure() local 125 if (__inet6_scopeid_pton (&addr, scope, &result) == 0) in expect_failure() 159 struct in6_addr addr = from_string (address); in expect_success() local 161 if (__inet6_scopeid_pton (&addr, scope, &actual) != 0) in expect_success() 179 check_ai ("AF_UNSPEC", address, scope, &sa, &addr, expected); in expect_success() [all …]
|
| A D | ether_aton_r.c | 25 ether_aton_r (const char *asc, struct ether_addr *addr) in ether_aton_r() argument 54 addr->ether_addr_octet[cnt] = (unsigned char) number; in ether_aton_r() 60 return addr; in ether_aton_r()
|
| A D | tst-sockaddr.c | 96 struct sockaddr_storage addr; in do_test() local 97 memset (&addr, 0, sizeof (addr)); in do_test() 99 struct sockaddr_in *sinp = (struct sockaddr_in *)&addr; in do_test() 105 copy = addr; in do_test()
|
| A D | ether_ntoh.c | 31 ether_ntohost (char *hostname, const struct ether_addr *addr) in ether_ntohost() argument 49 status = (*fct.f) (addr, ðerent, buffer, sizeof buffer, &errno); in ether_ntohost()
|
| A D | ether_hton.c | 30 ether_hostton (const char *hostname, struct ether_addr *addr) in ether_hostton() argument 54 memcpy (addr, etherent.e_addr.ether_addr_octet, in ether_hostton()
|
| A D | ether_line.c | 26 ether_line (const char *line, struct ether_addr *addr, char *hostname) in ether_line() argument 53 addr->ether_addr_octet[cnt] = (unsigned char) number; in ether_line()
|
| A D | inet6_rth.c | 85 inet6_rth_add (void *bp, const struct in6_addr *addr) in inet6_rth_add() argument 99 addr, sizeof (struct in6_addr)); in inet6_rth_add()
|
| /inet/protocols/ |
| A D | talkd.h | 67 struct osockaddr addr; /* old (4.3) style */ member 86 struct osockaddr addr; /* address for establishing conversation */ member
|