diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2014-07-11 14:39:29 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2014-07-11 14:39:29 +0000 |
commit | 1ccd4fd71f5bfdc0d74c3f77c3f6779f61038f5e (patch) | |
tree | 8fe31ece9b82a4fdf611b7aa83fd9798bd18ffd2 /usr.sbin/mrouted | |
parent | 798607cd5f5536740664ad9ce56fe04fd6ae228f (diff) |
missing prototypes
OK tedu@ but don't ask him questions about mrouted, ever
Diffstat (limited to 'usr.sbin/mrouted')
-rw-r--r-- | usr.sbin/mrouted/defs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/mrouted/defs.h b/usr.sbin/mrouted/defs.h index 4c9224a4237..45b060f39cb 100644 --- a/usr.sbin/mrouted/defs.h +++ b/usr.sbin/mrouted/defs.h @@ -209,6 +209,7 @@ extern void accept_leave_message(u_int32_t src, u_int32_t dst, u_int32_t group); extern void accept_membership_query(u_int32_t src, u_int32_t dst, u_int32_t group, int tmo); +extern void init_installvifs(void); /* config.c */ extern void config_vifs_from_kernel(void); @@ -223,6 +224,8 @@ extern char * inet_fmt(u_int32_t addr, char *s); extern char * inet_fmts(u_int32_t addr, u_int32_t mask, char *s); extern u_int32_t inet_parse(char *s); extern int inet_cksum(u_int16_t *addr, u_int len); +extern int inet_valid_host(u_int32_t naddr); +extern int inet_valid_mask(u_int32_t mask); /* prune.c */ extern unsigned kroutes; |