summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index c99ab81b..1b29f470 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -172,6 +172,12 @@ struct connected
/* Label for Linux 2.2.X and upper. */
char *label;
+
+ /* scope value, Linux only */
+ unsigned scope;
+
+ /* address preference, NetBSD >=4.0 with option IPSRCSEL, in_getifa(9) */
+ int preference;
};
/* Does the destination field contain a peer address? */