Deleted Added
full compact
nd6.h (287484) nd6.h (287789)
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 287484 2015-09-05 14:14:03Z melifaro $
30 * $FreeBSD: head/sys/netinet6/nd6.h 287789 2015-09-14 16:48:19Z melifaro $
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

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

422int nd6_output(struct ifnet *, struct ifnet *, struct mbuf *,
423 struct sockaddr_in6 *, struct rtentry *);
424void nd6_grab_holdchain(struct llentry *, struct mbuf **,
425 struct sockaddr_in6 *);
426int nd6_flush_holdchain(struct ifnet *, struct ifnet *, struct mbuf *,
427 struct sockaddr_in6 *);
428int nd6_need_cache(struct ifnet *);
429int nd6_add_ifa_lle(struct in6_ifaddr *);
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

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

422int nd6_output(struct ifnet *, struct ifnet *, struct mbuf *,
423 struct sockaddr_in6 *, struct rtentry *);
424void nd6_grab_holdchain(struct llentry *, struct mbuf **,
425 struct sockaddr_in6 *);
426int nd6_flush_holdchain(struct ifnet *, struct ifnet *, struct mbuf *,
427 struct sockaddr_in6 *);
428int nd6_need_cache(struct ifnet *);
429int nd6_add_ifa_lle(struct in6_ifaddr *);
430void nd6_rem_ifa_lle(struct in6_ifaddr *);
430void nd6_rem_ifa_lle(struct in6_ifaddr *, int);
431int nd6_storelladdr(struct ifnet *, struct mbuf *,
432 const struct sockaddr *, u_char *, uint32_t *);
433
434/* nd6_nbr.c */
435void nd6_na_input(struct mbuf *, int, int);
436void nd6_na_output(struct ifnet *, const struct in6_addr *,
437 const struct in6_addr *, u_long, int, struct sockaddr *);
438void nd6_ns_input(struct mbuf *, int, int);

--- 27 unchanged lines hidden ---
431int nd6_storelladdr(struct ifnet *, struct mbuf *,
432 const struct sockaddr *, u_char *, uint32_t *);
433
434/* nd6_nbr.c */
435void nd6_na_input(struct mbuf *, int, int);
436void nd6_na_output(struct ifnet *, const struct in6_addr *,
437 const struct in6_addr *, u_long, int, struct sockaddr *);
438void nd6_ns_input(struct mbuf *, int, int);

--- 27 unchanged lines hidden ---