Deleted Added
full compact
ip_var.h (207369) ip_var.h (212155)
1/*-
2 * Copyright (c) 1982, 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 * @(#)ip_var.h 8.2 (Berkeley) 1/9/95
1/*-
2 * Copyright (c) 1982, 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 * @(#)ip_var.h 8.2 (Berkeley) 1/9/95
30 * $FreeBSD: head/sys/netinet/ip_var.h 207369 2010-04-29 11:52:42Z bz $
30 * $FreeBSD: head/sys/netinet/ip_var.h 212155 2010-09-02 17:43:44Z bz $
31 */
32
33#ifndef _NETINET_IP_VAR_H_
34#define _NETINET_IP_VAR_H_
35
36#include <sys/queue.h>
37
38/*

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

215void ip_destroy(void);
216#endif
217extern int
218 (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
219 struct ip_moptions *);
220int ip_output(struct mbuf *,
221 struct mbuf *, struct route *, int, struct ip_moptions *,
222 struct inpcb *);
31 */
32
33#ifndef _NETINET_IP_VAR_H_
34#define _NETINET_IP_VAR_H_
35
36#include <sys/queue.h>
37
38/*

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

215void ip_destroy(void);
216#endif
217extern int
218 (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
219 struct ip_moptions *);
220int ip_output(struct mbuf *,
221 struct mbuf *, struct route *, int, struct ip_moptions *,
222 struct inpcb *);
223int ipproto_register(u_char);
224int ipproto_unregister(u_char);
223int ipproto_register(short);
224int ipproto_unregister(short);
225struct mbuf *
226 ip_reass(struct mbuf *);
227struct in_ifaddr *
228 ip_rtaddr(struct in_addr, u_int fibnum);
229void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
230 struct mbuf *);
231void ip_slowtimo(void);
232u_int16_t ip_randomid(void);

--- 83 unchanged lines hidden ---
225struct mbuf *
226 ip_reass(struct mbuf *);
227struct in_ifaddr *
228 ip_rtaddr(struct in_addr, u_int fibnum);
229void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
230 struct mbuf *);
231void ip_slowtimo(void);
232u_int16_t ip_randomid(void);

--- 83 unchanged lines hidden ---