Module Name: src
Committed By: maxv
Date: Tue May 1 07:03:33 UTC 2018
Modified Files:
src/sys/netinet: tcp_debug.h
Log Message:
Redefine the structure, not to rely on tcpiphdr.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/netinet/tcp_debug.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/tcp_debug.h
diff -u src/sys/netinet/tcp_debug.h:1.17 src/sys/netinet/tcp_debug.h:1.18
--- src/sys/netinet/tcp_debug.h:1.17 Sun Mar 4 06:03:22 2007
+++ src/sys/netinet/tcp_debug.h Tue May 1 07:03:33 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_debug.h,v 1.17 2007/03/04 06:03:22 christos Exp $ */
+/* $NetBSD: tcp_debug.h,v 1.18 2018/05/01 07:03:33 maxv Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -44,7 +44,10 @@ struct tcp_debug {
short td_ostate;
void * td_tcb;
int td_family;
- struct tcpiphdr td_ti;
+ struct {
+ struct ip ip4;
+ struct tcphdr th;
+ } __packed td_ti;
struct {
#ifdef INET6
struct ip6_hdr ip6;