smb.h: add linkspeed, capability, and if_index to interface struct
authorMichael Adam <obnox@samba.org>
Mon, 25 Jan 2016 02:38:16 +0000 (03:38 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 26 Jan 2016 06:33:16 +0000 (07:33 +0100)
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>
source3/include/smb.h

index 94a0e8a4bf1baacbdaa117a67bcfd4daef90b69e..7eeef880d73bba41fd7a019e256dbf6fd8d2d3da 100644 (file)
@@ -181,6 +181,9 @@ struct interface {
        struct sockaddr_storage ip;
        struct sockaddr_storage netmask;
        struct sockaddr_storage bcast;
+       uint32_t if_index;
+       uint64_t linkspeed;
+       uint32_t capability;
 };
 
 #define SHARE_MODE_FLAG_POSIX_OPEN     0x1