Deleted Added
full compact
in6_var.h (54263) in6_var.h (60833)
1/*
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

55 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
56 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
58 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
59 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
60 * SUCH DAMAGE.
61 *
62 * @(#)in_var.h 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

55 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
56 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
58 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
59 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
60 * SUCH DAMAGE.
61 *
62 * @(#)in_var.h 8.1 (Berkeley) 6/10/93
63 * $FreeBSD: head/sys/netinet6/in6_var.h 54263 1999-12-07 17:39:16Z shin $
63 * $FreeBSD: head/sys/netinet6/in6_var.h 60833 2000-05-23 20:41:01Z jake $
64 */
65
66#ifndef _NETINET6_IN6_VAR_H_
67#define _NETINET6_IN6_VAR_H_
68
69/*
70 * Interface address, Internet version. One of these structures
71 * is allocated for each interface with an Internet address.

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

448#endif /* _KERNEL */
449
450/*
451 * Multi-cast membership entry. One for each group/ifp that a PCB
452 * belongs to.
453 */
454struct in6_multi_mship {
455 struct in6_multi *i6mm_maddr; /* Multicast address pointer */
64 */
65
66#ifndef _NETINET6_IN6_VAR_H_
67#define _NETINET6_IN6_VAR_H_
68
69/*
70 * Interface address, Internet version. One of these structures
71 * is allocated for each interface with an Internet address.

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

448#endif /* _KERNEL */
449
450/*
451 * Multi-cast membership entry. One for each group/ifp that a PCB
452 * belongs to.
453 */
454struct in6_multi_mship {
455 struct in6_multi *i6mm_maddr; /* Multicast address pointer */
456 LIST_ENTRY(in6_multi_mship) i6mm_chain; /* multicast options chain */
456 LIST_ENTRY(struct in6_multi_mship) i6mm_chain; /* multicast options chain */
457};
458
459struct in6_multi {
457};
458
459struct in6_multi {
460 LIST_ENTRY(in6_multi) in6m_entry; /* list glue */
460 LIST_ENTRY(struct in6_multi) in6m_entry; /* list glue */
461 struct in6_addr in6m_addr; /* IP6 multicast address */
462 struct ifnet *in6m_ifp; /* back pointer to ifnet */
463 struct ifmultiaddr *in6m_ifma; /* back pointer to ifmultiaddr */
464 u_int in6m_refcount; /* # membership claims by sockets */
465 u_int in6m_state; /* state of the membership */
466 u_int in6m_timer; /* MLD6 listener report timer */
467};
468
469#ifdef _KERNEL
470
471#ifdef SYSCTL_DECL
472SYSCTL_DECL(_net_inet6_ip6);
473#endif
474
461 struct in6_addr in6m_addr; /* IP6 multicast address */
462 struct ifnet *in6m_ifp; /* back pointer to ifnet */
463 struct ifmultiaddr *in6m_ifma; /* back pointer to ifmultiaddr */
464 u_int in6m_refcount; /* # membership claims by sockets */
465 u_int in6m_state; /* state of the membership */
466 u_int in6m_timer; /* MLD6 listener report timer */
467};
468
469#ifdef _KERNEL
470
471#ifdef SYSCTL_DECL
472SYSCTL_DECL(_net_inet6_ip6);
473#endif
474
475extern LIST_HEAD(in6_multihead, in6_multi) in6_multihead;
475extern LIST_HEAD(in6_multihead, struct in6_multi) in6_multihead;
476
477/*
478 * Structure used by macros below to remember position when stepping through
479 * all of eht in6_multi records.
480 */
481struct in6_multistep {
482 struct in6_ifaddr *i_ia;
483 struct in6_multi *i_in6m;

--- 76 unchanged lines hidden ---
476
477/*
478 * Structure used by macros below to remember position when stepping through
479 * all of eht in6_multi records.
480 */
481struct in6_multistep {
482 struct in6_ifaddr *i_ia;
483 struct in6_multi *i_in6m;

--- 76 unchanged lines hidden ---