Deleted Added
full compact
nd6.h (301217) nd6.h (302054)
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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $KAME: nd6.h,v 1.76 2001/12/18 02:10:31 itojun Exp $
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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $KAME: nd6.h,v 1.76 2001/12/18 02:10:31 itojun Exp $
30 * $FreeBSD: head/sys/netinet6/nd6.h 301217 2016-06-02 17:51:29Z gnn $
30 * $FreeBSD: head/sys/netinet6/nd6.h 302054 2016-06-21 13:48:49Z bz $
31 */
32
33#ifndef _NETINET6_ND6_H_
34#define _NETINET6_ND6_H_
35
36/* see net/route.h, or net/if_inarp.h */
37#ifndef RTF_ANNOUNCE
38#define RTF_ANNOUNCE RTF_PROTO2

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

409
410/* XXX: need nd6_var.h?? */
411/* nd6.c */
412void nd6_init(void);
413#ifdef VIMAGE
414void nd6_destroy(void);
415#endif
416struct nd_ifinfo *nd6_ifattach(struct ifnet *);
31 */
32
33#ifndef _NETINET6_ND6_H_
34#define _NETINET6_ND6_H_
35
36/* see net/route.h, or net/if_inarp.h */
37#ifndef RTF_ANNOUNCE
38#define RTF_ANNOUNCE RTF_PROTO2

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

409
410/* XXX: need nd6_var.h?? */
411/* nd6.c */
412void nd6_init(void);
413#ifdef VIMAGE
414void nd6_destroy(void);
415#endif
416struct nd_ifinfo *nd6_ifattach(struct ifnet *);
417void nd6_ifdetach(struct nd_ifinfo *);
417void nd6_ifdetach(struct ifnet *, struct nd_ifinfo *);
418int nd6_is_addr_neighbor(const struct sockaddr_in6 *, struct ifnet *);
419void nd6_option_init(void *, int, union nd_opts *);
420struct nd_opt_hdr *nd6_option(union nd_opts *);
421int nd6_options(union nd_opts *);
422struct llentry *nd6_lookup(const struct in6_addr *, int, struct ifnet *);
423struct llentry *nd6_alloc(const struct in6_addr *, int, struct ifnet *);
424void nd6_setmtu(struct ifnet *);
425void nd6_llinfo_setstate(struct llentry *lle, int newstate);

--- 54 unchanged lines hidden ---
418int nd6_is_addr_neighbor(const struct sockaddr_in6 *, struct ifnet *);
419void nd6_option_init(void *, int, union nd_opts *);
420struct nd_opt_hdr *nd6_option(union nd_opts *);
421int nd6_options(union nd_opts *);
422struct llentry *nd6_lookup(const struct in6_addr *, int, struct ifnet *);
423struct llentry *nd6_alloc(const struct in6_addr *, int, struct ifnet *);
424void nd6_setmtu(struct ifnet *);
425void nd6_llinfo_setstate(struct llentry *lle, int newstate);

--- 54 unchanged lines hidden ---