ip_var.h (6c5e9bbdf5bb93639ae4899ddef635fe2ecbdd49) ip_var.h (e62b8c49396804bfac15dee17cf826a36041ef39)
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 * $Id: ip_var.h,v 1.18 1995/12/14 09:53:45 phk Exp $
34 * $Id: ip_var.h,v 1.19 1996/01/30 22:58:27 mpp Exp $
35 */
36
37#ifndef _NETINET_IP_VAR_H_
38#define _NETINET_IP_VAR_H_
39
40/*
41 * Overlay for ip header used by other protocols (tcp, udp).
42 */

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

172int ip_output __P((struct mbuf *,
173 struct mbuf *, struct route *, int, struct ip_moptions *));
174void ip_slowtimo __P((void));
175struct mbuf *
176 ip_srcroute __P((void));
177void ip_stripoptions __P((struct mbuf *, struct mbuf *));
178int rip_ctloutput __P((int, struct socket *, int, int, struct mbuf **));
179void rip_init __P((void));
35 */
36
37#ifndef _NETINET_IP_VAR_H_
38#define _NETINET_IP_VAR_H_
39
40/*
41 * Overlay for ip header used by other protocols (tcp, udp).
42 */

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

172int ip_output __P((struct mbuf *,
173 struct mbuf *, struct route *, int, struct ip_moptions *));
174void ip_slowtimo __P((void));
175struct mbuf *
176 ip_srcroute __P((void));
177void ip_stripoptions __P((struct mbuf *, struct mbuf *));
178int rip_ctloutput __P((int, struct socket *, int, int, struct mbuf **));
179void rip_init __P((void));
180void rip_input __P((struct mbuf *));
180void rip_input __P((struct mbuf *, int));
181int rip_output __P((struct mbuf *, struct socket *, u_long));
182int rip_usrreq __P((struct socket *,
183 int, struct mbuf *, struct mbuf *, struct mbuf *));
181int rip_output __P((struct mbuf *, struct socket *, u_long));
182int rip_usrreq __P((struct socket *,
183 int, struct mbuf *, struct mbuf *, struct mbuf *));
184void ipip_input __P((struct mbuf *, int));
185void rsvp_input __P((struct mbuf *, int));
184int ip_rsvp_init __P((struct socket *));
185int ip_rsvp_done __P((void));
186int ip_rsvp_vif_init __P((struct socket *, struct mbuf *));
187int ip_rsvp_vif_done __P((struct socket *, struct mbuf *));
188void ip_rsvp_force_done __P((struct socket *));
189
186int ip_rsvp_init __P((struct socket *));
187int ip_rsvp_done __P((void));
188int ip_rsvp_vif_init __P((struct socket *, struct mbuf *));
189int ip_rsvp_vif_done __P((struct socket *, struct mbuf *));
190void ip_rsvp_force_done __P((struct socket *));
191
190void rip_ip_input __P((struct mbuf *mm,
191 register struct socket *ip_mrouter, struct sockaddr *src));
192
193#endif
194
195#endif
192#endif
193
194#endif