diff options
author | Bill Fenner <fenner@FreeBSD.org> | 1996-11-11 03:50:15 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 1996-11-11 03:50:15 +0000 |
commit | f014b7e69bbd6737e73d43099fdb4ba32e99b5ad (patch) | |
tree | 165f9cfd99d55b06f466b5dad237613485ce8624 /usr.sbin/mrouted/defs.h | |
parent | f29c770b37549c04aba8981e60954c3878a59bd8 (diff) | |
download | src-test2-f014b7e69bbd6737e73d43099fdb4ba32e99b5ad.tar.gz src-test2-f014b7e69bbd6737e73d43099fdb4ba32e99b5ad.zip |
Notes
Diffstat (limited to 'usr.sbin/mrouted/defs.h')
-rw-r--r-- | usr.sbin/mrouted/defs.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.sbin/mrouted/defs.h b/usr.sbin/mrouted/defs.h index 63aef773e77c..4e19349ff061 100644 --- a/usr.sbin/mrouted/defs.h +++ b/usr.sbin/mrouted/defs.h @@ -7,7 +7,7 @@ * Leland Stanford Junior University. * * - * $Id: defs.h,v 3.8 1995/11/29 22:36:34 fenner Rel $ + * $Id: defs.h,v 3.8.1.2 1996/09/05 19:00:20 fenner Exp $ */ @@ -160,10 +160,20 @@ extern char * sys_errlist[]; #define MRT_DEL_VIF DVMRP_DEL_VIF #define MRT_ADD_MFC DVMRP_ADD_MFC #define MRT_DEL_MFC DVMRP_DEL_MFC +#endif +#ifndef IGMP_PIM #define IGMP_PIM 0x14 #endif +#ifndef IGMP_MEMBERSHIP_QUERY +#define IGMP_MEMBERSHIP_QUERY IGMP_HOST_MEMBERSHIP_QUERY +#define IGMP_V1_MEMBERSHIP_REPORT IGMP_HOST_MEMBERSHIP_REPORT +#define IGMP_V2_MEMBERSHIP_REPORT IGMP_HOST_NEW_MEMBERSHIP_REPORT +#define IGMP_V2_LEAVE_GROUP IGMP_HOST_LEAVE_MESSAGE +#endif + + /* main.c */ extern void log __P((int, int, char *, ...)); extern int register_input_handler __P((int fd, ihfunc_t func)); @@ -247,7 +257,7 @@ extern int inet_valid_host __P((u_int32 naddr)); extern int inet_valid_subnet __P((u_int32 nsubnet, u_int32 nmask)); extern char * inet_fmt __P((u_int32 addr, char *s)); extern char * inet_fmts __P((u_int32 addr, u_int32 mask, char *s)); -extern u_int32 inet_parse __P((char *s)); +extern u_int32 inet_parse __P((char *s, int n)); extern int inet_cksum __P((u_short *addr, u_int len)); /* prune.c */ |