ip_var.h (263091) | ip_var.h (269699) |
---|---|
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 263091 2014-03-12 14:29:08Z glebius $ | 30 * $FreeBSD: head/sys/netinet/ip_var.h 269699 2014-08-08 01:57:15Z kevlo $ |
31 */ 32 33#ifndef _NETINET_IP_VAR_H_ 34#define _NETINET_IP_VAR_H_ 35 36#include <sys/queue.h> 37 38/* --- 190 unchanged lines hidden (view full) --- 229void ip_slowtimo(void); 230u_int16_t ip_randomid(void); 231int rip_ctloutput(struct socket *, struct sockopt *); 232void rip_ctlinput(int, struct sockaddr *, void *); 233void rip_init(void); 234#ifdef VIMAGE 235void rip_destroy(void); 236#endif | 31 */ 32 33#ifndef _NETINET_IP_VAR_H_ 34#define _NETINET_IP_VAR_H_ 35 36#include <sys/queue.h> 37 38/* --- 190 unchanged lines hidden (view full) --- 229void ip_slowtimo(void); 230u_int16_t ip_randomid(void); 231int rip_ctloutput(struct socket *, struct sockopt *); 232void rip_ctlinput(int, struct sockaddr *, void *); 233void rip_init(void); 234#ifdef VIMAGE 235void rip_destroy(void); 236#endif |
237void rip_input(struct mbuf *, int); | 237int rip_input(struct mbuf **, int *, int); |
238int rip_output(struct mbuf *, struct socket *, u_long); | 238int rip_output(struct mbuf *, struct socket *, u_long); |
239void ipip_input(struct mbuf *, int); 240void rsvp_input(struct mbuf *, int); | 239int ipip_input(struct mbuf **, int *, int); 240int rsvp_input(struct mbuf **, int *, int); |
241int ip_rsvp_init(struct socket *); 242int ip_rsvp_done(void); 243extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *); 244extern void (*ip_rsvp_force_done)(struct socket *); | 241int ip_rsvp_init(struct socket *); 242int ip_rsvp_done(void); 243extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *); 244extern void (*ip_rsvp_force_done)(struct socket *); |
245extern void (*rsvp_input_p)(struct mbuf *m, int off); | 245extern int (*rsvp_input_p)(struct mbuf **, int *, int); |
246 247VNET_DECLARE(struct pfil_head, inet_pfil_hook); /* packet filter hooks */ 248#define V_inet_pfil_hook VNET(inet_pfil_hook) 249 250void in_delayed_cksum(struct mbuf *m); 251 252/* Hooks for ipfw, dummynet, divert etc. Most are declared in raw_ip.c */ 253/* --- 59 unchanged lines hidden --- | 246 247VNET_DECLARE(struct pfil_head, inet_pfil_hook); /* packet filter hooks */ 248#define V_inet_pfil_hook VNET(inet_pfil_hook) 249 250void in_delayed_cksum(struct mbuf *m); 251 252/* Hooks for ipfw, dummynet, divert etc. Most are declared in raw_ip.c */ 253/* --- 59 unchanged lines hidden --- |