From: Michael Adam Date: Mon, 25 Jan 2016 02:38:05 +0000 (+0100) Subject: lib:socket: add linkspeed, capability and if_index to iface_struct X-Git-Tag: samba-4.4.0rc1~41 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=d392e0a66d941eb66c1973cfa3e54653f5e7d240 lib:socket: add linkspeed, capability and if_index to iface_struct Pair-Programmed-With: Anoop C S Signed-off-by: Michael Adam Signed-off-by: Anoop C S Reviewed-by: Stefan Metzmacher --- 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;