[Midnightbsd-cvs] src [9540] stable/0.9/sys/net/if_var.h: fix a bad revert.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 15 23:08:11 EDT 2017
Revision: 9540
http://svnweb.midnightbsd.org/src/?rev=9540
Author: laffer1
Date: 2017-09-15 23:08:11 -0400 (Fri, 15 Sep 2017)
Log Message:
-----------
fix a bad revert.
Modified Paths:
--------------
stable/0.9/sys/net/if_var.h
Modified: stable/0.9/sys/net/if_var.h
===================================================================
--- stable/0.9/sys/net/if_var.h 2017-09-16 03:06:05 UTC (rev 9539)
+++ stable/0.9/sys/net/if_var.h 2017-09-16 03:08:11 UTC (rev 9540)
@@ -1,4 +1,3 @@
-/* $MidnightBSD$ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +27,7 @@
* SUCH DAMAGE.
*
* From: @(#)if.h 8.1 (Berkeley) 6/10/93
- * $FreeBSD: stable/9/sys/net/if_var.h 248287 2013-03-14 21:39:39Z jfv $
+ * $MidnightBSD$
*/
#ifndef _NET_IF_VAR_H_
@@ -206,7 +205,11 @@
* be used with care where binary compatibility is required.
*/
char if_cspare[3];
- int if_ispare[4];
+ u_int if_hw_tsomax; /* tso burst length limit, the minmum
+ * is (IP_MAXPACKET / 8).
+ * XXXAO: Have to find a better place
+ * for it eventually. */
+ int if_ispare[3];
void *if_pspare[8]; /* 1 netmap, 7 TDB */
};
@@ -756,6 +759,8 @@
#define IF_MINMTU 72
#define IF_MAXMTU 65535
+#define TOEDEV(ifp) ((ifp)->if_llsoftc)
+
#endif /* _KERNEL */
/*
More information about the Midnightbsd-cvs
mailing list