ipv6.h (219820) | ipv6.h (234183) |
---|---|
1/*- 2 * Copyright (c) 2010 Isilon Systems, Inc. 3 * Copyright (c) 2010 iX Systems, Inc. 4 * Copyright (c) 2010 Panasas, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#ifndef _LINUX_NET_IPV6_H_ 30#define _LINUX_NET_IPV6_H_ 31 | 1/*- 2 * Copyright (c) 2010 Isilon Systems, Inc. 3 * Copyright (c) 2010 iX Systems, Inc. 4 * Copyright (c) 2010 Panasas, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#ifndef _LINUX_NET_IPV6_H_ 30#define _LINUX_NET_IPV6_H_ 31 |
32#ifndef KLD_MODULE | |
33#include "opt_inet6.h" | 32#include "opt_inet6.h" |
34#endif | |
35 36#define ipv6_addr_loopback IN6_IS_ADDR_LOOPBACK 37#define ipv6_addr_copy(dst, src) \ 38 memcpy((dst), (src), sizeof(struct in6_addr)) 39 40#ifdef INET6 41static inline void 42ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, --- 20 unchanged lines hidden --- | 33 34#define ipv6_addr_loopback IN6_IS_ADDR_LOOPBACK 35#define ipv6_addr_copy(dst, src) \ 36 memcpy((dst), (src), sizeof(struct in6_addr)) 37 38#ifdef INET6 39static inline void 40ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, --- 20 unchanged lines hidden --- |