in6.h (225521) | in6.h (225698) |
---|---|
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 225521 2011-09-13 00:06:11Z hrs $ | 61 * $FreeBSD: head/sys/netinet6/in6.h 225698 2011-09-20 20:27:26Z kmacy $ |
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_ --- 301 unchanged lines hidden (view full) --- 371 372/* 373 * IP6 route structure 374 */ 375#if __BSD_VISIBLE 376struct route_in6 { 377 struct rtentry *ro_rt; 378 struct llentry *ro_lle; | 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_ --- 301 unchanged lines hidden (view full) --- 371 372/* 373 * IP6 route structure 374 */ 375#if __BSD_VISIBLE 376struct route_in6 { 377 struct rtentry *ro_rt; 378 struct llentry *ro_lle; |
379 struct in6_addr *ro_ia6; 380 int ro_flags; |
|
379 struct sockaddr_in6 ro_dst; 380}; 381#endif 382 383/* 384 * Options for use with [gs]etsockopt at the IPV6 level. 385 * First word of comment is data type; bool is stored in int. 386 */ --- 328 unchanged lines hidden --- | 381 struct sockaddr_in6 ro_dst; 382}; 383#endif 384 385/* 386 * Options for use with [gs]etsockopt at the IPV6 level. 387 * First word of comment is data type; bool is stored in int. 388 */ --- 328 unchanged lines hidden --- |