Deleted Added
full compact
nd6.h (191148) nd6.h (193731)
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 191148 2009-04-16 20:30:28Z kmacy $
30 * $FreeBSD: head/sys/netinet6/nd6.h 193731 2009-06-08 17:15:40Z zec $
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

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

366#define nd_opts_mtu nd_opt_each.mtu
367#define nd_opts_search nd_opt_each.search
368#define nd_opts_last nd_opt_each.last
369#define nd_opts_done nd_opt_each.done
370
371/* XXX: need nd6_var.h?? */
372/* nd6.c */
373void nd6_init __P((void));
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

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

366#define nd_opts_mtu nd_opt_each.mtu
367#define nd_opts_search nd_opt_each.search
368#define nd_opts_last nd_opt_each.last
369#define nd_opts_done nd_opt_each.done
370
371/* XXX: need nd6_var.h?? */
372/* nd6.c */
373void nd6_init __P((void));
374#ifdef VIMAGE
375void nd6_destroy __P((void));
376#endif
374struct nd_ifinfo *nd6_ifattach __P((struct ifnet *));
375void nd6_ifdetach __P((struct nd_ifinfo *));
376int nd6_is_addr_neighbor __P((struct sockaddr_in6 *, struct ifnet *));
377void nd6_option_init __P((void *, int, union nd_opts *));
378struct nd_opt_hdr *nd6_option __P((union nd_opts *));
379int nd6_options __P((union nd_opts *));
380struct llentry *nd6_lookup __P((struct in6_addr *, int, struct ifnet *));
381void nd6_setmtu __P((struct ifnet *));

--- 56 unchanged lines hidden ---
377struct nd_ifinfo *nd6_ifattach __P((struct ifnet *));
378void nd6_ifdetach __P((struct nd_ifinfo *));
379int nd6_is_addr_neighbor __P((struct sockaddr_in6 *, struct ifnet *));
380void nd6_option_init __P((void *, int, union nd_opts *));
381struct nd_opt_hdr *nd6_option __P((union nd_opts *));
382int nd6_options __P((union nd_opts *));
383struct llentry *nd6_lookup __P((struct in6_addr *, int, struct ifnet *));
384void nd6_setmtu __P((struct ifnet *));

--- 56 unchanged lines hidden ---