New upstream version 24.0.1+dfsg1

This commit is contained in:
Sebastian Ramacher 2019-09-22 23:19:10 +02:00
parent b14f9eae6d
commit 5a730d6ec3
842 changed files with 42245 additions and 33385 deletions

View file

@ -20,36 +20,36 @@
#include <util/darray.h>
#ifdef _WIN32
# include <ws2tcpip.h>
# include <winsock2.h>
# include <ws2ipdef.h>
# include <iphlpapi.h>
#include <ws2tcpip.h>
#include <winsock2.h>
#include <ws2ipdef.h>
#include <iphlpapi.h>
#else
# ifdef __linux__
# include <linux/if_link.h>
# elif __FreeBSD__
# include <netinet/in.h>
# ifndef _GNU_SOURCE
# define _GNU_SOURCE
# define __NET_IF_GNU_SOURCE__
# endif //_GNU_SOURCE
# endif //__FreeBSD__
#ifdef __linux__
#include <linux/if_link.h>
#elif __FreeBSD__
#include <netinet/in.h>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#define __NET_IF_GNU_SOURCE__
#endif //_GNU_SOURCE
#endif //__FreeBSD__
# include <ifaddrs.h>
# include <netdb.h>
# include <stdio.h>
# include <stdlib.h>
# include <unistd.h>
# include <arpa/inet.h>
# include <sys/socket.h>
#include <ifaddrs.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/socket.h>
# ifdef __FreeBSD__
# ifdef ___NET_IF_GNU_SOURCE__
# undef ___NET_IF_GNU_SOURCE__
# undef _GNU_SOURCE
# endif
# endif
#ifdef __FreeBSD__
#ifdef ___NET_IF_GNU_SOURCE__
#undef ___NET_IF_GNU_SOURCE__
#undef _GNU_SOURCE
#endif
#endif
#endif
@ -72,6 +72,6 @@ static inline void netif_saddr_data_free(struct netif_saddr_data *data)
}
extern bool netif_str_to_addr(struct sockaddr_storage *out, int *addr_len,
const char *addr);
const char *addr);
extern void netif_get_addrs(struct netif_saddr_data *ifaddrs);
extern void netif_log_saddrs(struct netif_saddr_data *sd);