summaryrefslogtreecommitdiff
path: root/lib/socket
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-01-25 03:38:05 +0100
committerMichael Adam <obnox@samba.org>2016-01-26 07:33:16 +0100
commitd392e0a66d941eb66c1973cfa3e54653f5e7d240 (patch)
treec807704a54881d566f90cfbb73b539fe695dc186 /lib/socket
parentbc9e1fc70cda0dffd8a4959db4d51bc0bc136206 (diff)
downloadsamba-d392e0a66d941eb66c1973cfa3e54653f5e7d240.tar.gz
lib:socket: add linkspeed, capability and if_index to iface_struct
Pair-Programmed-With: Anoop C S <anoopcs@redhat.com> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/socket')
-rw-r--r--lib/socket/interfaces.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/socket/interfaces.h b/lib/socket/interfaces.h
index b4e113dcc82..0876f091c97 100644
--- a/lib/socket/interfaces.h
+++ b/lib/socket/interfaces.h
@@ -27,6 +27,9 @@ struct iface_struct {
struct sockaddr_storage ip;
struct sockaddr_storage netmask;
struct sockaddr_storage bcast;
+ uint32_t if_index;
+ uint64_t linkspeed;
+ uint32_t capability;
};
struct interface;