Deleted Added
full compact
in_var.h (186048) in_var.h (186119)
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 186048 2008-12-13 19:13:03Z bz $
30 * $FreeBSD: head/sys/netinet/in_var.h 186119 2008-12-15 06:10:57Z 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

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

316void in_delmulti_locked(struct in_multi *);
317int in_control(struct socket *, u_long, caddr_t, struct ifnet *,
318 struct thread *);
319void in_rtqdrain(void);
320void ip_input(struct mbuf *);
321int in_ifadown(struct ifaddr *ifa, int);
322void in_ifscrub(struct ifnet *, struct in_ifaddr *);
323struct mbuf *ip_fastforward(struct mbuf *);
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

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

316void in_delmulti_locked(struct in_multi *);
317int in_control(struct socket *, u_long, caddr_t, struct ifnet *,
318 struct thread *);
319void in_rtqdrain(void);
320void ip_input(struct mbuf *);
321int in_ifadown(struct ifaddr *ifa, int);
322void in_ifscrub(struct ifnet *, struct in_ifaddr *);
323struct mbuf *ip_fastforward(struct mbuf *);
324void *in_domifattach(struct ifnet *);
325void in_domifdetach(struct ifnet *, void *);
324
326
327
325/* XXX */
326void in_rtalloc_ign(struct route *ro, u_long ignflags, u_int fibnum);
327void in_rtalloc(struct route *ro, u_int fibnum);
328struct rtentry *in_rtalloc1(struct sockaddr *, int, u_long, u_int);
329void in_rtredirect(struct sockaddr *, struct sockaddr *,
330 struct sockaddr *, int, struct sockaddr *, u_int);
331int in_rtrequest(int, struct sockaddr *,
332 struct sockaddr *, struct sockaddr *, int, struct rtentry **, u_int);

--- 12 unchanged lines hidden ---
328/* XXX */
329void in_rtalloc_ign(struct route *ro, u_long ignflags, u_int fibnum);
330void in_rtalloc(struct route *ro, u_int fibnum);
331struct rtentry *in_rtalloc1(struct sockaddr *, int, u_long, u_int);
332void in_rtredirect(struct sockaddr *, struct sockaddr *,
333 struct sockaddr *, int, struct sockaddr *, u_int);
334int in_rtrequest(int, struct sockaddr *,
335 struct sockaddr *, struct sockaddr *, int, struct rtentry **, u_int);

--- 12 unchanged lines hidden ---