Annotation of embedaddon/pimdd/include/freebsd/netinet/pim_var.h, revision 1.1.1.1

1.1       misho       1: /* $Id: pim_var.h,v 1.1 1998/07/06 23:44:57 kurtw Exp $ */
                      2: 
                      3: #ifndef _NETINET_PIM_VAR_H_
                      4: #define _NETINET_PIM_VAR_H_
                      5: 
                      6: /*
                      7:  * Protocol Independent Multicast (PIM),
                      8:  * implementation-specific definitions.
                      9:  *
                     10:  * Written by George Edmond Eddy (Rusty), ISI, February 1998
                     11:  * Modified by Pavlin Ivanov Radoslavov, USC/ISI, May 1998
                     12:  */
                     13: 
                     14: struct pimstat {
                     15:     u_int      pim_rcv_total;          /* total PIM messages received  */
                     16:     u_int      pim_rcv_tooshort;       /* received with too few bytes  */
                     17:     u_int      pim_rcv_badsum;         /* received with bad checksum   */
                     18:     u_int      pim_rcv_badversion;     /* received bad PIM version     */
                     19:     u_int      pim_rcv_registers;      /* received registers           */
                     20:     u_int      pim_rcv_badregisters;   /* received invalid registers   */
                     21:     u_int      pim_snd_registers;      /* sent registers               */
                     22: };
                     23: 
                     24: #if (defined(KERNEL)) || (defined(_KERNEL))
                     25: extern struct pimstat pimstat;
                     26: 
                     27: #ifdef NetBSD
                     28: void pim_input __P((struct mbuf *, ...));
                     29: #else
                     30: void pim_input __P((struct mbuf *, int));
                     31: #endif
                     32: #endif /* KERNEL */
                     33: 
                     34: /*
                     35:  * Names for PIM sysctl objects
                     36:  */
                     37: #if (defined(__FreeBSD__)) || (defined(NetBSD))
                     38: #define PIMCTL_STATS           1       /* statistics (read-only) */
                     39: #define PIMCTL_MAXID           2
                     40: 
                     41: #define PIMCTL_NAMES { \
                     42:        { 0, 0 }, \
                     43:        { "stats", CTLTYPE_STRUCT }, \
                     44: }
                     45: #endif /* FreeBSD || NetBSD */
                     46: 
                     47: #endif /* _NETINET_PIM_VAR_H_ */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>