From d5dbf35cd880f2ae731d06a1357d578af5c8be5e Mon Sep 17 00:00:00 2001 From: pb Date: Tue, 19 May 1998 15:53:50 +0000 Subject: Move (private) struct ipflow out of ip_var.h, to reduce dependencies (for ipfw for example) on internal implementation details. Add $Id$ where missing. --- sys/netinet/ip_var.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'sys/netinet/ip_var.h') 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 */ -- cgit v1.1