Deleted Added
full compact
61c61
< * $FreeBSD: head/sys/netinet6/ip6_var.h 187989 2009-02-01 21:11:08Z bz $
---
> * $FreeBSD: head/sys/netinet6/ip6_var.h 191672 2009-04-29 19:19:13Z bms $
101c101,106
< struct ip6_moptions {
---
> /*
> * Structure attached to inpcb.in6p_moptions and
> * passed to ip6_output when IPv6 multicast options are in use.
> * This structure is lazy-allocated.
> */
> struct ip6_moptions {
105c110,113
< LIST_HEAD(, in6_multi_mship) im6o_memberships;
---
> u_short im6o_num_memberships; /* no. memberships this socket */
> u_short im6o_max_memberships; /* max memberships this socket */
> struct in6_multi **im6o_membership; /* group memberships */
> struct in6_mfilter *im6o_mfilters; /* source filters */
236a245,251
> #define IP6STAT_ADD(name, val) V_ip6stat.name += (val)
> #define IP6STAT_SUB(name, val) V_ip6stat.name -= (val)
> #define IP6STAT_INC(name) IP6STAT_ADD(name, 1)
> #define IP6STAT_DEC(name) IP6STAT_SUB(name, 1)
> #endif
>
> #ifdef _KERNEL
290,291d304
< #endif /* VIMAGE_GLOBALS */
<
293d305
< #ifdef VIMAGE_GLOBALS
333c345
< void ip6_freemoptions __P((struct ip6_moptions *));
---
>