ip_var.h (101920) | ip_var.h (105194) |
---|---|
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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_var.h 8.2 (Berkeley) 1/9/95 |
34 * $FreeBSD: head/sys/netinet/ip_var.h 101920 2002-08-15 14:34:02Z rwatson $ | 34 * $FreeBSD: head/sys/netinet/ip_var.h 105194 2002-10-16 01:54:46Z sam $ |
35 */ 36 37#ifndef _NETINET_IP_VAR_H_ 38#define _NETINET_IP_VAR_H_ 39 40#include <sys/queue.h> 41 42#ifdef _KERNEL --- 122 unchanged lines hidden (view full) --- 165 166int ip_ctloutput(struct socket *, struct sockopt *sopt); 167void ip_drain(void); 168void ip_freemoptions(struct ip_moptions *); 169void ip_init(void); 170extern int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *, 171 struct ip_moptions *); 172int ip_output(struct mbuf *, | 35 */ 36 37#ifndef _NETINET_IP_VAR_H_ 38#define _NETINET_IP_VAR_H_ 39 40#include <sys/queue.h> 41 42#ifdef _KERNEL --- 122 unchanged lines hidden (view full) --- 165 166int ip_ctloutput(struct socket *, struct sockopt *sopt); 167void ip_drain(void); 168void ip_freemoptions(struct ip_moptions *); 169void ip_init(void); 170extern int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *, 171 struct ip_moptions *); 172int ip_output(struct mbuf *, |
173 struct mbuf *, struct route *, int, struct ip_moptions *); | 173 struct mbuf *, struct route *, int, struct ip_moptions *, 174 struct inpcb *); |
174struct in_ifaddr * 175 ip_rtaddr(struct in_addr, struct route *); 176void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *, 177 struct mbuf *); 178void ip_slowtimo(void); 179struct mbuf * 180 ip_srcroute(void); 181void ip_stripoptions(struct mbuf *, struct mbuf *); --- 29 unchanged lines hidden --- | 175struct in_ifaddr * 176 ip_rtaddr(struct in_addr, struct route *); 177void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *, 178 struct mbuf *); 179void ip_slowtimo(void); 180struct mbuf * 181 ip_srcroute(void); 182void ip_stripoptions(struct mbuf *, struct mbuf *); --- 29 unchanged lines hidden --- |