in6.h (191662) | in6.h (192923) |
---|---|
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 --- 44 unchanged lines hidden (view full) --- 53 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 * SUCH DAMAGE. 59 * 60 * @(#)in.h 8.3 (Berkeley) 1/3/94 | 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 --- 44 unchanged lines hidden (view full) --- 53 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 * SUCH DAMAGE. 59 * 60 * @(#)in.h 8.3 (Berkeley) 1/3/94 |
61 * $FreeBSD: head/sys/netinet6/in6.h 191662 2009-04-29 10:22:44Z bms $ | 61 * $FreeBSD: head/sys/netinet6/in6.h 192923 2009-05-27 18:57:13Z bms $ |
62 */ 63 64#ifndef __KAME_NETINET_IN_H_INCLUDED_ 65#error "do not include netinet6/in6.h directly, include netinet/in.h. see RFC2553" 66#endif 67 68#ifndef _NETINET6_IN6_H_ 69#define _NETINET6_IN6_H_ --- 544 unchanged lines hidden (view full) --- 614 615/* 616 * Redefinition of mbuf flags 617 */ 618#define M_AUTHIPHDR M_PROTO2 619#define M_DECRYPTED M_PROTO3 620#define M_LOOP M_PROTO4 621#define M_AUTHIPDGM M_PROTO5 | 62 */ 63 64#ifndef __KAME_NETINET_IN_H_INCLUDED_ 65#error "do not include netinet6/in6.h directly, include netinet/in.h. see RFC2553" 66#endif 67 68#ifndef _NETINET6_IN6_H_ 69#define _NETINET6_IN6_H_ --- 544 unchanged lines hidden (view full) --- 614 615/* 616 * Redefinition of mbuf flags 617 */ 618#define M_AUTHIPHDR M_PROTO2 619#define M_DECRYPTED M_PROTO3 620#define M_LOOP M_PROTO4 621#define M_AUTHIPDGM M_PROTO5 |
622#define M_RTALERT_MLD M_PROTO6 |
|
622 623#ifdef _KERNEL 624struct cmsghdr; 625 626int in6_cksum __P((struct mbuf *, u_int8_t, u_int32_t, u_int32_t)); 627int in6_localaddr __P((struct in6_addr *)); 628int in6_addrscope __P((struct in6_addr *)); 629struct in6_ifaddr *in6_ifawithifp __P((struct ifnet *, struct in6_addr *)); --- 76 unchanged lines hidden --- | 623 624#ifdef _KERNEL 625struct cmsghdr; 626 627int in6_cksum __P((struct mbuf *, u_int8_t, u_int32_t, u_int32_t)); 628int in6_localaddr __P((struct in6_addr *)); 629int in6_addrscope __P((struct in6_addr *)); 630struct in6_ifaddr *in6_ifawithifp __P((struct ifnet *, struct in6_addr *)); --- 76 unchanged lines hidden --- |