Searched refs:family (Results 1 – 15 of 15) sorted by relevance
/bionic/libc/bionic/ |
D | ifaddrs.cpp | 70 void SetAddress(int family, const void* data, size_t byteCount) { in SetAddress() 76 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetAddress() 79 ifa.ifa_dstaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetAddress() 83 void SetBroadcastAddress(int family, const void* data, size_t byteCount) { in SetBroadcastAddress() 90 ifa.ifa_broadaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetBroadcastAddress() 93 void SetLocalAddress(int family, const void* data, size_t byteCount) { in SetLocalAddress() 103 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetLocalAddress() 108 void SetNetmask(int family, size_t prefix_length) { in SetNetmask() 110 netmask.ss_family = family; in SetNetmask() 111 uint8_t* dst = SockaddrBytes(family, &netmask); in SetNetmask() [all …]
|
/bionic/tests/ |
D | ifaddrs_test.cpp | 84 int family = addr->ifa_addr ? addr->ifa_addr->sa_family : in TEST() local 88 if (family == AF_PACKET || family == AF_UNSPEC) { in TEST() 175 int family = addr->sa_family; in print_sockaddr_inet() local 177 (family == AF_INET) ? sizeof(sockaddr_in) : sizeof(sockaddr_in6), in print_sockaddr_inet() 180 printf("%d getnameinfo() failed: %s\n", family, gai_strerror(error)); in print_sockaddr_inet() 186 static const char* FamilyToName(int family) { in FamilyToName() argument 187 if (family == AF_INET) return "AF_INET"; in FamilyToName() 188 if (family == AF_INET6) return "AF_INET6"; in FamilyToName() 189 if (family == AF_PACKET) return "AF_PACKET"; in FamilyToName() 190 if (family == AF_UNSPEC) return "AF_UNSPEC"; in FamilyToName() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | xfrm.h | 59 __u16 family; member 242 __u16 family; member 385 __u16 family; member 406 __u16 family; member 485 __u16 family; member 516 __u16 family; member
|
D | fib_rules.h | 34 __u8 family; member
|
D | tipc.h | 121 unsigned short family; member
|
D | inet_diag.h | 99 __u8 family; member
|
D | if_bridge.h | 214 __u8 family; member
|
D | bpf.h | 259 __u32 family; member
|
D | if_link.h | 815 __u8 family; member
|
/bionic/libc/kernel/uapi/linux/caif/ |
D | caif_socket.h | 66 __kernel_sa_family_t family; member
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 171 int family, i; in getnameinfo_inet() local 184 family = sa->sa_family; in getnameinfo_inet() 186 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 | 171 random_bind( int s, int family ) in random_bind() argument 180 switch (family) { in random_bind() 182 u.sin.sin_family = family; in random_bind() 186 u.sin6.sin6_family = family; in random_bind() 198 if (family == AF_INET) in random_bind() 209 if (family == AF_INET) in random_bind()
|
/bionic/libc/kernel/uapi/linux/netfilter/ipset/ |
D | ip_set.h | 295 unsigned int family; member
|
/bionic/libc/kernel/uapi/drm/ |
D | amdgpu_drm.h | 515 __u32 family; member
|