Deleted Added
full compact
in_var.h (195727) in_var.h (222143)
1/*-
2 * Copyright (c) 1985, 1986, 1993
3 * The Regents of the University of California. 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 * @(#)in_var.h 8.2 (Berkeley) 1/9/95
1/*-
2 * Copyright (c) 1985, 1986, 1993
3 * The Regents of the University of California. 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 * @(#)in_var.h 8.2 (Berkeley) 1/9/95
30 * $FreeBSD: head/sys/netinet/in_var.h 195727 2009-07-16 21:13:04Z rwatson $
30 * $FreeBSD: head/sys/netinet/in_var.h 222143 2011-05-20 19:12:20Z qingli $
31 */
32
33#ifndef _NETINET_IN_VAR_H_
34#define _NETINET_IN_VAR_H_
35
36#include <sys/queue.h>
37#include <sys/fnv_hash.h>
38#include <sys/tree.h>

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

442int in_leavegroup(struct in_multi *, /*const*/ struct in_mfilter *);
443int in_leavegroup_locked(struct in_multi *,
444 /*const*/ struct in_mfilter *);
445int in_control(struct socket *, u_long, caddr_t, struct ifnet *,
446 struct thread *);
447void in_rtqdrain(void);
448void ip_input(struct mbuf *);
449int in_ifadown(struct ifaddr *ifa, int);
31 */
32
33#ifndef _NETINET_IN_VAR_H_
34#define _NETINET_IN_VAR_H_
35
36#include <sys/queue.h>
37#include <sys/fnv_hash.h>
38#include <sys/tree.h>

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

442int in_leavegroup(struct in_multi *, /*const*/ struct in_mfilter *);
443int in_leavegroup_locked(struct in_multi *,
444 /*const*/ struct in_mfilter *);
445int in_control(struct socket *, u_long, caddr_t, struct ifnet *,
446 struct thread *);
447void in_rtqdrain(void);
448void ip_input(struct mbuf *);
449int in_ifadown(struct ifaddr *ifa, int);
450void in_ifscrub(struct ifnet *, struct in_ifaddr *);
450void in_ifscrub(struct ifnet *, struct in_ifaddr *, u_int);
451struct mbuf *ip_fastforward(struct mbuf *);
452void *in_domifattach(struct ifnet *);
453void in_domifdetach(struct ifnet *, void *);
454
455
456/* XXX */
457void in_rtalloc_ign(struct route *ro, u_long ignflags, u_int fibnum);
458void in_rtalloc(struct route *ro, u_int fibnum);

--- 17 unchanged lines hidden ---
451struct mbuf *ip_fastforward(struct mbuf *);
452void *in_domifattach(struct ifnet *);
453void in_domifdetach(struct ifnet *, void *);
454
455
456/* XXX */
457void in_rtalloc_ign(struct route *ro, u_long ignflags, u_int fibnum);
458void in_rtalloc(struct route *ro, u_int fibnum);

--- 17 unchanged lines hidden ---