diff options
author | np <np@FreeBSD.org> | 2016-06-23 21:07:15 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2016-06-23 21:07:15 +0000 |
commit | af533198e352d1ee97e831497a7a004f6f1f2740 (patch) | |
tree | 6b704ccaadb906cc6c03467f121aa4f0dc1e483a /sys/net | |
parent | d5b9b0e8af15c826a00e60b69b8c77bff0d0a7c9 (diff) | |
download | FreeBSD-src-af533198e352d1ee97e831497a7a004f6f1f2740.zip FreeBSD-src-af533198e352d1ee97e831497a7a004f6f1f2740.tar.gz |
Add spares to struct ifnet and socket for packet pacing and/or general
use. Update comments regarding the spare fields in struct inpcb.
Bump __FreeBSD_version for the changes to the size of the structures.
Reviewed by: gnn@
Approved by: re@ (gjb@)
Sponsored by: Chelsio Communications
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_var.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index f0766ee..2298de5 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -311,6 +311,8 @@ struct ifnet { * that structure can be enhanced without changing the kernel * binary interface. */ + void *if_pspare[4]; /* packet pacing / general use */ + int if_ispare[4]; /* packet pacing / general use */ }; /* for compatibility with other BSDs */ |