Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/netinet Pull up revision 1.16 (requested by darrenr):
details: https://anonhg.NetBSD.org/src/rev/8bf5b510487a
branches: netbsd-1-4
changeset: 471287:8bf5b510487a
user: he <he%NetBSD.org@localhost>
date: Sat Apr 14 21:14:41 2001 +0000
description:
Pull up revision 1.16 (requested by darrenr):
Fix bug related to fragment cache handling.
diffstat:
sys/netinet/ip_frag.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 50d6cb1003ed -r 8bf5b510487a sys/netinet/ip_frag.h
--- a/sys/netinet/ip_frag.h Sat Apr 14 21:14:26 2001 +0000
+++ b/sys/netinet/ip_frag.h Sat Apr 14 21:14:41 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_frag.h,v 1.12.4.1 1999/12/20 21:07:01 he Exp $ */
+/* $NetBSD: ip_frag.h,v 1.12.4.2 2001/04/14 21:14:41 he Exp $ */
/*
* Copyright (C) 1993-1998 by Darren Reed.
@@ -25,7 +25,8 @@
u_char ipfr_p;
u_char ipfr_tos;
u_short ipfr_off;
- u_short ipfr_ttl;
+ u_char ipfr_ttl;
+ u_char ipfr_seen0;
frentry_t *ipfr_rule;
} ipfr_t;
@@ -41,7 +42,8 @@
struct ipfr **ifs_nattab;
} ipfrstat_t;
-#define IPFR_CMPSZ (4 + 4 + 2 + 1 + 1)
+#define IPFR_CMPSZ (offsetof(ipfr_t, ipfr_off) - \
+ offsetof(ipfr_t, ipfr_src))
extern int fr_ipfrttl;
extern ipfrstat_t *ipfr_fragstats __P((void));
Home |
Main Index |
Thread Index |
Old Index