22 #ifndef _LWPA_NETINT_H_
23 #define _LWPA_NETINT_H_
26 #include "lwpa_bool.h"
27 #include "lwpa_inet.h"
46 size_t netint_arr_size);
const LwpaNetintInfo * netint_get_iface_for_dest(const LwpaIpAddr *dest, const LwpaNetintInfo *netint_arr, size_t netint_arr_size)
Get the network interface that the system will choose when routing an IP packet to the specified dest...
Definition: lwpa_netint.c:168
size_t netint_get_interfaces(LwpaNetintInfo *netint_arr, size_t netint_arr_size)
Enumerate the network interfaces on the system.
Definition: lwpa_netint.c:95
size_t netint_get_num_interfaces()
Get the number of network interfaces present on the system.
Definition: lwpa_netint.c:82
bool netint_get_default_interface(LwpaNetintInfo *netint)
Get information about the default network interface.
Definition: lwpa_netint.c:119
An IP address.
Definition: lwpa_inet.h:55
A description of a network interface.
Definition: lwpa_inet.h:196