lib-interface: Add extra parameter 'options' to interface definition
authorVinit Agnihotri <vagnihotri@ddn.com>
Tue, 5 Mar 2024 10:27:04 +0000 (02:27 -0800)
committerMartin Schwenke <martins@samba.org>
Tue, 16 Apr 2024 23:51:45 +0000 (23:51 +0000)
Signed-off-by: Vinit Agnihotri<vagnihotri@ddn.com>
Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/socket/interfaces.h
source3/include/smb.h

index 0876f091c9717206e220bfab648cff7f91b5cbb7..d7a746fe163a876f8fd7e0c8fe4658d0ac7e6121 100644 (file)
@@ -30,6 +30,7 @@ struct iface_struct {
        uint32_t if_index;
        uint64_t linkspeed;
        uint32_t capability;
+       uint32_t options;
 };
 
 struct interface;
index ce188721ceb0ee4b86bf0e1b5d9876a7958b607c..aa91e3afcb96298ea4097b8272743863e13a51e3 100644 (file)
@@ -165,6 +165,7 @@ struct interface {
        uint32_t if_index;
        uint64_t linkspeed;
        uint32_t capability;
+       uint32_t options;
 };
 
 #define SHARE_MODE_FLAG_POSIX_OPEN     0x1