diff options
author | Mark Johnston <markj@FreeBSD.org> | 2018-11-29 15:42:32 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2018-11-29 15:42:32 +0000 |
commit | 9737c884b103374a47ece3820c001ce8580b4826 (patch) | |
tree | 8bf4559c1357cfe429539a15e3c14f78c5af6144 /sys/net/if.h | |
parent | 6f6fb6ff6bcd92bbd5e2caa88f22e05825e4b578 (diff) | |
download | src-test2-9737c884b103374a47ece3820c001ce8580b4826.tar.gz src-test2-9737c884b103374a47ece3820c001ce8580b4826.zip |
Notes
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 1c860ffedbdf..d6e032e36f7b 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -271,6 +271,7 @@ struct if_msghdr { int ifm_addrs; /* like rtm_addrs */ int ifm_flags; /* value of if_flags */ u_short ifm_index; /* index for associated ifp */ + u_short _ifm_spare1; struct if_data ifm_data;/* statistics and other data about if */ }; @@ -296,6 +297,7 @@ struct if_msghdrl { u_short _ifm_spare1; /* spare space to grow if_index, see if_var.h */ u_short ifm_len; /* length of if_msghdrl incl. if_data */ u_short ifm_data_off; /* offset of if_data from beginning */ + int _ifm_spare2; struct if_data ifm_data;/* statistics and other data about if */ }; @@ -311,6 +313,7 @@ struct ifa_msghdr { int ifam_addrs; /* like rtm_addrs */ int ifam_flags; /* value of ifa_flags */ u_short ifam_index; /* index for associated ifp */ + u_short _ifam_spare1; int ifam_metric; /* value of ifa_ifp->if_metric */ }; @@ -352,6 +355,7 @@ struct ifma_msghdr { int ifmam_addrs; /* like rtm_addrs */ int ifmam_flags; /* value of ifa_flags */ u_short ifmam_index; /* index for associated ifp */ + u_short _ifmam_spare1; }; /* |