/bionic/libc/bionic/ |
D | ifaddrs.cpp | 72 void SetAddress(int family, const void* data, size_t byteCount) { in SetAddress() 78 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetAddress() 81 ifa.ifa_dstaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetAddress() 85 void SetBroadcastAddress(int family, const void* data, size_t byteCount) { in SetBroadcastAddress() 92 ifa.ifa_broadaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetBroadcastAddress() 95 void SetLocalAddress(int family, const void* data, size_t byteCount) { in SetLocalAddress() 105 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetLocalAddress() 110 void SetNetmask(int family, size_t prefix_length) { in SetNetmask() 112 netmask.ss_family = family; in SetNetmask() 113 uint8_t* dst = SockaddrBytes(family, &netmask); in SetNetmask() [all …]
|
/bionic/tests/ |
D | ifaddrs_test.cpp | 89 int family = addr->ifa_addr ? addr->ifa_addr->sa_family : in TEST() local 93 if (family == AF_PACKET || family == AF_UNSPEC) { in TEST() 180 int family = addr->sa_family; in print_sockaddr_inet() local 182 (family == AF_INET) ? sizeof(sockaddr_in) : sizeof(sockaddr_in6), in print_sockaddr_inet() 185 printf("%d getnameinfo() failed: %s\n", family, gai_strerror(error)); in print_sockaddr_inet() 191 static const char* FamilyToName(int family) { in FamilyToName() argument 192 if (family == AF_INET) return "AF_INET"; in FamilyToName() 193 if (family == AF_INET6) return "AF_INET6"; in FamilyToName() 194 if (family == AF_PACKET) return "AF_PACKET"; in FamilyToName() 195 if (family == AF_UNSPEC) return "AF_UNSPEC"; in FamilyToName() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | xfrm.h | 40 __u16 family; member 191 __u16 family; member 311 __u16 family; member 329 __u16 family; member 392 __u16 family; member 417 __u16 family; member
|
D | rxrpc.h | 18 __kernel_sa_family_t family; member
|
D | fib_rules.h | 19 __u8 family; member
|
D | bpf.h | 794 __u32 family; member 833 __u16 family; member 849 __u32 family; member 954 __u32 family; member 1160 __u32 family; member 1174 __u32 family; member 1316 __u8 family; member 1458 __u32 family; member
|
D | tipc.h | 77 unsigned short family; member
|
D | inet_diag.h | 77 __u8 family; member
|
D | if_bridge.h | 398 __u8 family; member 542 __u8 family; member
|
D | if_link.h | 449 __u8 family; member 852 __u8 family; member
|
/bionic/libc/kernel/uapi/linux/caif/ |
D | caif_socket.h | 45 __kernel_sa_family_t family; member
|
/bionic/docs/ |
D | status.md | 77 * The printf family now supports `%#m` to print the name of the errno 89 * Support for `%b` and `%B` in the printf/wprintf family, `%b` in the 90 scanf/wscanf family, and `0b` prefixes with base 0 in the strtol/wcstol 91 family. 92 * Support for `wN` length modifiers in the printf/wprintf family. 128 * Whole printf family now supports the GNU `%m` extension, rather than a 133 * Using `%n` with the printf family is now reported as a FORTIFY failure. 135 corresponding pointer argument, leading to obscure errors. The scanf family 160 * `%C` and `%S` support in the printf family (previously only the wprintf family supported these). 161 * `%mc`/`%ms`/`%m[` support in the scanf family. [all …]
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 181 int family, i; in getnameinfo_inet() local 194 family = sa->sa_family; in getnameinfo_inet() 196 if (afdl[i].a_af == family) { in getnameinfo_inet()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 728 uint16_t family; in res_getservers() local 732 family = statp->_u._ext.ext->nsaddrs[i].sin.sin_family; in res_getservers() 734 family = statp->nsaddr_list[i].sin_family; in res_getservers() 736 switch (family) { in res_getservers()
|
D | res_send.c | 162 random_bind( int s, int family ) in random_bind() argument 171 switch (family) { in random_bind() 173 u.sin.sin_family = family; in random_bind() 177 u.sin6.sin6_family = family; in random_bind() 189 if (family == AF_INET) in random_bind() 200 if (family == AF_INET) in random_bind()
|
/bionic/libc/kernel/uapi/linux/netfilter/ipset/ |
D | ip_set.h | 238 unsigned int family; member
|
/bionic/libc/kernel/uapi/drm/ |
D | amdgpu_drm.h | 614 __u32 family; member
|