diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-07-29 15:01:29 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-07-29 15:01:29 +0000 |
commit | 9753faf553090e8e238f02c3059b8113bad30819 (patch) | |
tree | 9477b8accc13df001371a4c8635f8befec181197 /sys/net/if.h | |
parent | dc0ca75105d8358297f9beba3c4e7b870dafc25b (diff) | |
download | src-9753faf553090e8e238f02c3059b8113bad30819.tar.gz src-9753faf553090e8e238f02c3059b8113bad30819.zip |
Garbage collect couple of unused fields from struct ifaddr:
- ifa_claim_addr() unused since removal of NetAtalk
- ifa_metric seems to be never utilized, always a copy of if_metric
Notes
Notes:
svn path=/head/; revision=269243
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 1910cbd24358..8482dafa2cf7 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -304,7 +304,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 */ - int ifam_metric; /* value of ifa_metric */ + int ifam_metric; /* value of ifa_ifp->if_metric */ }; /* @@ -329,7 +329,7 @@ struct ifa_msghdrl { u_short _ifam_spare1; /* spare space to grow if_index, see if_var.h */ u_short ifam_len; /* length of ifa_msghdrl incl. if_data */ u_short ifam_data_off; /* offset of if_data from beginning */ - int ifam_metric; /* value of ifa_metric */ + int ifam_metric; /* value of ifa_ifp->if_metric */ struct if_data ifam_data;/* statistics and other data about if or * address */ }; |