summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2014-08-08 01:57:15 +0000
committerkevlo <kevlo@FreeBSD.org>2014-08-08 01:57:15 +0000
commit7727a3c21521a720a63dfae179944a2c6272e150 (patch)
treeb8a22569ba8e281cdf06effd47986cf8fb592118 /sys/netinet/ip_var.h
parent71993ad111538df7d3ea090e597413a9bbc198a5 (diff)
downloadFreeBSD-src-7727a3c21521a720a63dfae179944a2c6272e150.zip
FreeBSD-src-7727a3c21521a720a63dfae179944a2c6272e150.tar.gz
Merge 'struct ip6protosw' and 'struct protosw' into one. Now we have
only one protocol switch structure that is shared between ipv4 and ipv6. Phabric: D476 Reviewed by: jhb
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index b2251ac..4b4b135 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -234,15 +234,15 @@ void rip_init(void);
#ifdef VIMAGE
void rip_destroy(void);
#endif
-void rip_input(struct mbuf *, int);
+int rip_input(struct mbuf **, int *, int);
int rip_output(struct mbuf *, struct socket *, u_long);
-void ipip_input(struct mbuf *, int);
-void rsvp_input(struct mbuf *, int);
+int ipip_input(struct mbuf **, int *, int);
+int rsvp_input(struct mbuf **, int *, int);
int ip_rsvp_init(struct socket *);
int ip_rsvp_done(void);
extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *);
extern void (*ip_rsvp_force_done)(struct socket *);
-extern void (*rsvp_input_p)(struct mbuf *m, int off);
+extern int (*rsvp_input_p)(struct mbuf **, int *, int);
VNET_DECLARE(struct pfil_head, inet_pfil_hook); /* packet filter hooks */
#define V_inet_pfil_hook VNET(inet_pfil_hook)
OpenPOWER on IntegriCloud