Update to reflect current include files.

This commit is contained in:
mpp 1997-01-30 23:57:31 +00:00
parent f1eacb7cf0
commit a43d8ada6e
2 changed files with 6 additions and 2 deletions

View File

@ -196,6 +196,8 @@ struct ifreq {
struct sockaddr ifru_broadaddr;
short ifru_flags;
int ifru_metric;
int ifru_mtu;
int ifru_phys;
caddr_t ifru_data;
} ifr_ifru;
#define ifr_addr ifr_ifru.ifru_addr /* address */
@ -203,6 +205,8 @@ struct ifreq {
#define ifr_broadaddr ifr_ifru.ifru_broadaddr /* broadcast address */
#define ifr_flags ifr_ifru.ifru_flags /* flags */
#define ifr_metric ifr_ifru.ifru_metric /* metric */
#define ifr_mtu ifr_ifru.ifru_mtu /* mtu */
#define ifr_phys ifr_ifru.ifru_phys /* physical wire */
#define ifr_data ifr_ifru.ifru_data /* for use by interface */
};
.Ed

View File

@ -203,11 +203,11 @@ struct rt_msghdr {
u_char rtm_version; /* future binary compatibility */
u_char rtm_type; /* message type */
u_short rmt_index; /* index for associated ifp */
pid_t rmt_pid; /* identify sender */
int rtm_flags; /* flags, incl kern & message, e.g. DONE */
int rtm_addrs; /* bitmask identifying sockaddrs in msg */
pid_t rmt_pid; /* identify sender */
int rtm_seq; /* for sender to identify action */
int rtm_errno; /* why failed */
int rtm_flags; /* flags, incl kern & message, e.g. DONE */
int rtm_use; /* from rtentry */
u_long rtm_inits; /* which values we are initializing */
struct rt_metrics rtm_rmx; /* metrics themselves */