/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1990 Mentat Inc. */
#ifndef _NETINET_IGMP_H
#define _NETINET_IGMP_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Internet Group Management Protocol (IGMP) definitions.
*
* Written by Steve Deering, Stanford, May 1988.
* Modified by Rosen Sharma, Stanford, Aug 1994
* Modified by Bill Fenner, Xerox PARC, April 1995
*
* MULTICAST 3.5.1.1
*/
/*
* IGMP packet format.
*/
struct igmp {
}; /* (zero for queries) */
/* IGMPv3 Membership Report common header */
struct igmp3r {
};
/* IGMPv3 Group Record header */
struct grphdr {
};
/* IGMPv3 Membership Query header */
struct igmp3q {
};
#ifdef _KERNEL
typedef struct igmp_s {
/* Aligned igmp header */
typedef struct igmpa_s {
/* Aligned IGMPv3 Membership Report common header */
typedef struct igmp3ra_s {
} igmp3ra_t;
/* Aligned IGMPv3 Group Record header */
typedef struct grphdra_s {
} grphdra_t;
/* Aligned IGMpv3 Membership Query header */
typedef struct igmp3qa_s {
} igmp3qa_t;
#endif /* _KERNEL */
/*
* Message types, including version number.
*/
/* query (in seconds) */
/* according to RFC1112 */
/*
* IGMPv3/MLDv2-specific definitions
*/
/*
* Group Record Types. The values of these enums match the Record Type
* field values defined in RFCs 3376 and 3810 for IGMPv3 and MLDv2 reports.
*/
typedef enum {
/* Router Alert Option */
/*
* The following four defininitions are for backwards compatibility.
* They should be removed as soon as all applications are updated to
* use the new constant names.
*/
#ifdef __cplusplus
}
#endif
#endif /* _NETINET_IGMP_H */