-/* $OpenBSD: if.h,v 1.162 2015/04/10 08:48:24 mpi Exp $ */
+/* $OpenBSD: if.h,v 1.163 2015/05/18 13:32:28 reyk Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
u_char ifi_link_state; /* current link state */
u_int32_t ifi_mtu; /* maximum transmission unit */
u_int32_t ifi_metric; /* routing metric (external only) */
- u_int32_t ifi_pad;
+ u_int32_t ifi_rdomain; /* routing instance */
u_int64_t ifi_baudrate; /* linespeed */
/* volatile statistics */
u_int64_t ifi_ipackets; /* packets received on interface */
-/* $OpenBSD: if_var.h,v 1.27 2015/05/15 11:53:06 claudio Exp $ */
+/* $OpenBSD: if_var.h,v 1.28 2015/05/18 13:32:28 reyk Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
int if_xflags; /* extra softnet flags */
struct if_data if_data; /* stats and other data about if */
u_int32_t if_hardmtu; /* maximum MTU device supports */
- u_int if_rdomain; /* routing instance */
char if_description[IFDESCRSIZE]; /* interface description */
u_short if_rtlabelid; /* next route label */
u_int8_t if_priority;
#define if_noproto if_data.ifi_noproto
#define if_lastchange if_data.ifi_lastchange
#define if_capabilities if_data.ifi_capabilities
+#define if_rdomain if_data.ifi_rdomain
/*
* The ifaddr structure contains information about one address