Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/ip_var.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/ip_var.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.77 retrieving revision 1.77.20.2 diff -u -p -r1.77 -r1.77.20.2 --- src/sys/netinet/ip_var.h 2006/02/16 20:17:20 1.77 +++ src/sys/netinet/ip_var.h 2007/04/15 16:04:00 1.77.20.2 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_var.h,v 1.77 2006/02/16 20:17:20 perry Exp $ */ +/* $NetBSD: ip_var.h,v 1.77.20.2 2007/04/15 16:04:00 yamt Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -212,6 +212,7 @@ extern struct mowner ip_tx_mowner; #endif #ifdef GATEWAY extern int ip_maxflows; +extern int ip_hashsize; #endif extern struct pool inmulti_pool; extern struct pool ipqent_pool; @@ -243,18 +244,18 @@ struct mbuf * void ip_stripoptions(struct mbuf *, struct mbuf *); int ip_sysctl(int *, u_int, void *, size_t *, void *, size_t); void ipintr(void); -void * rip_ctlinput(int, struct sockaddr *, void *); +void * rip_ctlinput(int, const struct sockaddr *, void *); int rip_ctloutput(int, struct socket *, int, int, struct mbuf **); void rip_init(void); void rip_input(struct mbuf *, ...); int rip_output(struct mbuf *, ...); int rip_usrreq(struct socket *, int, struct mbuf *, struct mbuf *, struct mbuf *, struct lwp *); -void ipflow_init(void); +int ipflow_init(int); struct ipflow *ipflow_reap(int); void ipflow_create(const struct route *, struct mbuf *); void ipflow_slowtimo(void); -void ipflow_invalidate_all(void); +int ipflow_invalidate_all(int); extern uint16_t ip_id; static __inline uint16_t ip_newid(void);