summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt-iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix/krt-iface.c')
-rw-r--r--sysdep/unix/krt-iface.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/sysdep/unix/krt-iface.c b/sysdep/unix/krt-iface.c
index 69048ae8..88c17ecd 100644
--- a/sysdep/unix/krt-iface.c
+++ b/sysdep/unix/krt-iface.c
@@ -186,7 +186,7 @@ scan_ifs(struct ifreq *r, int cnt)
}
void
-krt_if_scan(struct kif_proto *p)
+kif_do_scan(struct kif_proto *p)
{
struct ifconf ic;
static int last_ifbuf_size = 4*sizeof(struct ifreq);
@@ -208,22 +208,17 @@ krt_if_scan(struct kif_proto *p)
}
void
-krt_if_construct(struct kif_config *c)
+kif_start(struct kif_proto *p)
{
}
void
-krt_if_start(struct kif_proto *p)
+kif_shutdown(struct kif_proto *p)
{
}
void
-krt_if_shutdown(struct kif_proto *p)
-{
-}
-
-void
-krt_if_io_init(void)
+kif_io_init(void)
{
if_scan_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP);
DBG("Using socket %d for interface and route scanning\n", if_scan_sock);