Deleted Added
full compact
ip6_mroute.h (162797) ip6_mroute.h (166938)
1/* $FreeBSD: head/sys/netinet6/ip6_mroute.h 162797 2006-09-29 16:16:41Z bms $ */
1/* $FreeBSD: head/sys/netinet6/ip6_mroute.h 166938 2007-02-24 11:38:47Z bms $ */
2/* $KAME: ip6_mroute.h,v 1.19 2001/06/14 06:12:55 suz Exp $ */
3
4/*-
5 * Copyright (C) 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 253 unchanged lines hidden (view full) ---

263#if (MF6CTBLSIZ & (MF6CTBLSIZ - 1)) == 0 /* from sys:route.h */
264#define MF6CHASHMOD(h) ((h) & (MF6CTBLSIZ - 1))
265#else
266#define MF6CHASHMOD(h) ((h) % MF6CTBLSIZ)
267#endif
268
269#define MAX_UPQ6 4 /* max. no of pkts in upcall Q */
270
2/* $KAME: ip6_mroute.h,v 1.19 2001/06/14 06:12:55 suz Exp $ */
3
4/*-
5 * Copyright (C) 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 253 unchanged lines hidden (view full) ---

263#if (MF6CTBLSIZ & (MF6CTBLSIZ - 1)) == 0 /* from sys:route.h */
264#define MF6CHASHMOD(h) ((h) & (MF6CTBLSIZ - 1))
265#else
266#define MF6CHASHMOD(h) ((h) % MF6CTBLSIZ)
267#endif
268
269#define MAX_UPQ6 4 /* max. no of pkts in upcall Q */
270
271int ip6_mrouter_set __P((struct socket *so, struct sockopt *sopt));
272int ip6_mrouter_get __P((struct socket *so, struct sockopt *sopt));
273int ip6_mrouter_done __P((void));
274int mrt6_ioctl __P((int, caddr_t));
271extern int (*ip6_mrouter_set)(struct socket *so, struct sockopt *sopt);
272extern int (*ip6_mrouter_get)(struct socket *so, struct sockopt *sopt);
273extern int (*ip6_mrouter_done)(void);
274extern int (*mrt6_ioctl)(int, caddr_t);
275#endif /* _KERNEL */
276
277#endif /* !_NETINET6_IP6_MROUTE_H_ */
275#endif /* _KERNEL */
276
277#endif /* !_NETINET6_IP6_MROUTE_H_ */