mUPnP for C
interface_function.c File Reference
#include <mupnp/net/interface.h>
#include <mupnp/net/socket.h>
#include <mupnp/util/log.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>

Functions

int mupnp_net_gethostinterfaces (mUpnpNetworkInterfaceList *netIfList)
 
char * mupnp_net_selectaddr (struct sockaddr *remoteaddr)
 

Variables

static const char * PATH_PROC_NET_DEV = "/proc/net/dev"
 

Function Documentation

◆ mupnp_net_gethostinterfaces()

int mupnp_net_gethostinterfaces ( mUpnpNetworkInterfaceList * netIfList)

◆ mupnp_net_selectaddr()

char * mupnp_net_selectaddr ( struct sockaddr * remoteaddr)

Variable Documentation

◆ PATH_PROC_NET_DEV

const char* PATH_PROC_NET_DEV = "/proc/net/dev"
static