lib:socket: add linkspeed, capability and if_index to iface_struct
authorMichael Adam <obnox@samba.org>
Mon, 25 Jan 2016 02:38:05 +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>
lib/socket/interfaces.h

index b4e113dcc82b4e31e12e3716c1dd02c76451bcda..0876f091c9717206e220bfab648cff7f91b5cbb7 100644 (file)
@@ -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;