#include <stdio.h>
#include <uv.h>
Go to the source code of this file.
◆ main()
Definition at line 4 of file main.c.
16 printf(
"Name: %s\n", interface.name);
17 printf(
"Internal? %s\n", interface.is_internal ?
"Yes" :
"No");
19 if (interface.address.address4.sin_family ==
AF_INET) {
23 else if (interface.address.address4.sin_family ==
AF_INET6) {
RzBinInfo * info(RzBinFile *bf)
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
UV_EXTERN void uv_free_interface_addresses(uv_interface_address_t *addresses, int count)
UV_EXTERN int uv_interface_addresses(uv_interface_address_t **addresses, int *count)
UV_EXTERN int uv_ip4_name(const struct sockaddr_in *src, char *dst, size_t size)
UV_EXTERN int uv_ip6_name(const struct sockaddr_in6 *src, char *dst, size_t size)
References AF_INET, AF_INET6, count, i, info(), printf(), uv_free_interface_addresses(), uv_interface_addresses(), uv_ip4_name(), and uv_ip6_name().