diff options
Diffstat (limited to 'usr.sbin/mrouted/defs.h')
-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; |