mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 03:39:02 +00:00
Add the intf_entry.intf_index member.
This is the operating system's interface index, as used by if_indextoname and sockaddr_sin6.sin6_scope_id.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
struct intf_entry {
|
||||
u_int intf_len; /* length of entry */
|
||||
char intf_name[INTF_NAME_LEN]; /* interface name */
|
||||
u_int intf_index; /* interface index (r/o) */
|
||||
u_short intf_type; /* interface type (r/o) */
|
||||
u_short intf_flags; /* interface flags */
|
||||
u_int intf_mtu; /* interface MTU */
|
||||
|
||||
Reference in New Issue
Block a user