diff options
Diffstat (limited to 'mcast/netcv2dvbip/iface.h')
-rw-r--r-- | mcast/netcv2dvbip/iface.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mcast/netcv2dvbip/iface.h b/mcast/netcv2dvbip/iface.h new file mode 100644 index 0000000..23ce100 --- /dev/null +++ b/mcast/netcv2dvbip/iface.h @@ -0,0 +1,22 @@ +#ifndef __IFACE_H +#define __IFACE_H + +#include "defs.h" + +#include "misc.h" + +// iface.c + +#define MAXIF 20 + +typedef struct +{ + char name[IFNAMSIZ]; + in_addr_t ipaddr; +} iface_t; + +int discover_interfaces(iface_t *iflist); + + +#endif + |