summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorpb <pb@FreeBSD.org>1998-05-19 15:53:50 +0000
committerpb <pb@FreeBSD.org>1998-05-19 15:53:50 +0000
commitd5dbf35cd880f2ae731d06a1357d578af5c8be5e (patch)
treee74abd03ba0cf755d73bb051ed2d418b9817a13b /sys/netinet/ip_var.h
parent337c39bf088869c1cb7f01f83af40e82606f3734 (diff)
downloadFreeBSD-src-d5dbf35cd880f2ae731d06a1357d578af5c8be5e.zip
FreeBSD-src-d5dbf35cd880f2ae731d06a1357d578af5c8be5e.tar.gz
Move (private) struct ipflow out of ip_var.h, to reduce dependencies
(for ipfw for example) on internal implementation details. Add $Id$ where missing.
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index b4ad766..985e17e 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_var.h 8.2 (Berkeley) 1/9/95
- * $Id: ip_var.h,v 1.35 1998/05/19 14:04:36 dg Exp $
+ * $Id: ip_var.h,v 1.36 1998/05/19 14:19:03 dg Exp $
*/
#ifndef _NETINET_IP_VAR_H_
@@ -151,21 +151,6 @@ struct ipstat {
u_long ips_notmember; /* multicasts for unregistered grps */
};
-struct ipflow {
- LIST_ENTRY(ipflow) ipf_next; /* next ipflow in bucket */
- struct in_addr ipf_dst; /* destination address */
- struct in_addr ipf_src; /* source address */
-
- u_int8_t ipf_tos; /* type-of-service */
- struct route ipf_ro; /* associated route entry */
- u_long ipf_uses; /* number of uses in this period */
-
- int ipf_timer; /* remaining lifetime of this entry */
- u_long ipf_dropped; /* ENOBUFS returned by if_output */
- u_long ipf_errors; /* other errors returned by if_output */
- u_long ipf_last_uses; /* number of uses in last period */
-};
-
#ifdef KERNEL
/* flags passed to ip_output as last parameter */
#define IP_FORWARDING 0x1 /* most of ip header exists */
OpenPOWER on IntegriCloud