Go to the documentation of this file.
30 #if !defined(__CYGWIN__) && !defined(__MSYS__)
31 #include <net/if_dl.h>
34 #if defined(__HAIKU__)
35 #define IFF_RUNNING IFF_LINK
43 #if !defined(__CYGWIN__) && !defined(__MSYS__)
50 return (ent->
ifa_addr->sa_family != AF_LINK);
52 #if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || \
58 if (ent->
ifa_addr->sa_family == AF_LINK)
60 #elif defined(__NetBSD__) || defined(__OpenBSD__)
61 if (ent->
ifa_addr->sa_family != PF_INET &&
72 #if !(defined(__CYGWIN__) || defined(__MSYS__))
83 for (ent = addrs; ent != NULL; ent = ent->
ifa_next) {
97 if (*addresses == NULL) {
102 address = *addresses;
104 for (ent = addrs; ent != NULL; ent = ent->
ifa_next) {
127 #if !(defined(__CYGWIN__) || defined(__MSYS__))
129 for (ent = addrs; ent != NULL; ent = ent->
ifa_next) {
133 address = *addresses;
137 struct sockaddr_dl* sa_addr;
138 sa_addr = (
struct sockaddr_dl*)(ent->
ifa_addr);
static int uv__ifaddr_exclude(struct ifaddrs *ent, int exclude_type)
union uv_interface_address_s::@401 netmask
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
struct sockaddr * ifa_netmask
struct sockaddr * ifa_addr
char * uv__strdup(const char *s)
int uv_interface_addresses(uv_interface_address_t **addresses, int *count)
void * uv__calloc(size_t count, size_t size)
struct sockaddr_in address4
struct sockaddr_in6 netmask6
union uv_interface_address_s::@400 address
struct ifaddrs * ifa_next
struct sockaddr_in netmask4
void freeifaddrs(struct ifaddrs *ifa)
__BEGIN_DECLS int getifaddrs(struct ifaddrs **ifap)
void uv_free_interface_addresses(uv_interface_address_t *addresses, int count)
struct sockaddr_in6 address6
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:40