diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2011-12-16 12:16:56 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2011-12-16 12:16:56 +0000 |
commit | 08b68b0e4c6b132127919cfbaf7275c727ca7843 (patch) | |
tree | 059f66a20d251fa947969ff34292206d47ffc45c /sys/net/if.h | |
parent | ec1c1d41b3e5d997dabe18a69ea5e7364b48d258 (diff) | |
download | src-test2-08b68b0e4c6b132127919cfbaf7275c727ca7843.tar.gz src-test2-08b68b0e4c6b132127919cfbaf7275c727ca7843.zip |
Notes
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 4f2dc6f62452..08420f4c3b1a 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -85,7 +85,7 @@ struct if_data { u_char ifi_addrlen; /* media address length */ u_char ifi_hdrlen; /* media header length */ u_char ifi_link_state; /* current link state */ - u_char ifi_spare_char1; /* spare byte */ + u_char ifi_vhid; /* carp vhid */ u_char ifi_spare_char2; /* spare byte */ u_char ifi_datalen; /* length of this data struct */ u_long ifi_mtu; /* maximum transmission unit */ @@ -267,6 +267,8 @@ struct ifa_msghdr { int ifam_flags; /* value of ifa_flags */ u_short ifam_index; /* index for associated ifp */ int ifam_metric; /* value of ifa_metric */ + struct if_data ifam_data;/* statistics and other data about if or + * address */ }; /* @@ -357,6 +359,7 @@ struct ifaliasreq { struct sockaddr ifra_addr; struct sockaddr ifra_broadaddr; struct sockaddr ifra_mask; + int ifra_vhid; }; struct ifmediareq { |