See include/linux/if_addr.h. struct ifaddrmsg { __u8 ifa_family; __u8 ifa_prefixlen; /* The prefix length */ __u8 ifa_flags; /* Flags */ __u8 ifa_scope; /* Address scope */ __u32 ifa_index; /* Link index */ }; --- man7/rtnetlink.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man7/rtnetlink.7 b/man7/rtnetlink.7 index 0be59a7..6260545 100644 --- a/man7/rtnetlink.7 +++ b/man7/rtnetlink.7 @@ -134,7 +134,7 @@ struct ifaddrmsg { unsigned char ifa_prefixlen; /* Prefixlength of address */ unsigned char ifa_flags; /* Address flags */ unsigned char ifa_scope; /* Address scope */ - int ifa_index; /* Interface index */ + unsigned int ifa_index; /* Interface index */ }; .EE .IP -- 2.24.1