summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 80a7112..450f3a5 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -106,6 +106,9 @@ struct if_data {
uint64_t ifi_hwassist; /* HW offload capabilities, see IFCAP */
time_t ifi_epoch; /* uptime at attach or stat reset */
struct timeval ifi_lastchange; /* time of last administrative change */
+#ifdef _IFI_OQDROPS
+ u_long ifi_oqdrops; /* dropped on output */
+#endif
};
/*-
@@ -283,6 +286,9 @@ struct if_msghdrl {
u_short ifm_len; /* length of if_msghdrl incl. if_data */
u_short ifm_data_off; /* offset of if_data from beginning */
struct if_data ifm_data;/* statistics and other data about if */
+#ifdef _IN_NET_RTSOCK_C
+ u_long ifi_oqdrops;
+#endif
};
/*
OpenPOWER on IntegriCloud