mUPnP for C
|
#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" |
int mupnp_net_gethostinterfaces | ( | mUpnpNetworkInterfaceList * | netIfList | ) |
char * mupnp_net_selectaddr | ( | struct sockaddr * | remoteaddr | ) |
|
static |