summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/socketvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/socketvar.h')
-rw-r--r--freebsd/sys/sys/socketvar.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/freebsd/sys/sys/socketvar.h b/freebsd/sys/sys/socketvar.h
index 1e599a66..dd1ec474 100644
--- a/freebsd/sys/sys/socketvar.h
+++ b/freebsd/sys/sys/socketvar.h
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -127,8 +127,11 @@ struct socket {
int so_fibnum; /* routing domain for this socket */
uint32_t so_user_cookie;
- void *so_pspare[2]; /* packet pacing / general use */
- int so_ispare[2]; /* packet pacing / general use */
+ int so_ts_clock; /* type of the clock used for timestamps */
+ uint32_t so_max_pacing_rate; /* (f) TX rate limit in bytes/s */
+
+ void *so_pspare[2]; /* general use */
+ int so_ispare[2]; /* general use */
};
/*