Page MenuHomeFreeBSD
Authored By
np
Jun 23 2016, 6:26 PM
Size
1 KB
Referenced Files
None
Subscribers
None

spares_11.diff

diff -r 1e43431f77a0 sys/net/if_var.h
--- a/sys/net/if_var.h Thu Jun 23 02:53:00 2016 +0000
+++ b/sys/net/if_var.h Thu Jun 23 11:17:44 2016 -0700
@@ -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 */
diff -r 1e43431f77a0 sys/netinet/in_pcb.h
--- a/sys/netinet/in_pcb.h Thu Jun 23 02:53:00 2016 +0000
+++ b/sys/netinet/in_pcb.h Thu Jun 23 11:17:44 2016 -0700
@@ -202,10 +202,10 @@ struct inpcb {
u_char inp_ip_minttl; /* (i) minimum TTL or drop */
uint32_t inp_flowid; /* (x) flow id / queue id */
u_int inp_refcount; /* (i) refcount */
- void *inp_pspare[5]; /* (x) route caching / general use */
+ void *inp_pspare[5]; /* (x) packet pacing / general use */
uint32_t inp_flowtype; /* (x) M_HASHTYPE value */
uint32_t inp_rss_listen_bucket; /* (x) overridden RSS listen bucket */
- u_int inp_ispare[4]; /* (x) route caching / user cookie /
+ u_int inp_ispare[4]; /* (x) packet pacing / user cookie /
* general use */
/* Local and foreign ports, local and foreign addr. */
diff -r 1e43431f77a0 sys/sys/socketvar.h
--- a/sys/sys/socketvar.h Thu Jun 23 02:53:00 2016 +0000
+++ b/sys/sys/socketvar.h Thu Jun 23 11:17:44 2016 -0700
@@ -126,6 +126,9 @@ 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 */
};
/*

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
531906
Default Alt Text
spares_11.diff (1 KB)

Event Timeline