|
|
| version 1.6, 2003/11/14 09:53:46 | version 1.7, 2003/11/22 19:30:56 |
|---|---|
| Line 44 | Line 44 |
| /* | /* |
| * <net/if.h> does not depend on <sys/time.h> on most other systems. This | * <net/if.h> does not depend on <sys/time.h> on most other systems. This |
| * helps userland compatability. (struct timeval ifi_lastchange) | * helps userland compatibility. (struct timeval ifi_lastchange) |
| */ | */ |
| #ifndef _KERNEL | #ifndef _KERNEL |
| #include <sys/time.h> | #include <sys/time.h> |
| Line 167 struct if_data { | Line 167 struct if_data { |
| */ | */ |
| struct if_msghdr { | struct if_msghdr { |
| u_short ifm_msglen; /* to skip over non-understood messages */ | u_short ifm_msglen; /* to skip over non-understood messages */ |
| u_char ifm_version; /* future binary compatability */ | u_char ifm_version; /* future binary compatibility */ |
| u_char ifm_type; /* message type */ | u_char ifm_type; /* message type */ |
| int ifm_addrs; /* like rtm_addrs */ | int ifm_addrs; /* like rtm_addrs */ |
| int ifm_flags; /* value of if_flags */ | int ifm_flags; /* value of if_flags */ |
| Line 181 struct if_msghdr { | Line 181 struct if_msghdr { |
| */ | */ |
| struct ifa_msghdr { | struct ifa_msghdr { |
| u_short ifam_msglen; /* to skip over non-understood messages */ | u_short ifam_msglen; /* to skip over non-understood messages */ |
| u_char ifam_version; /* future binary compatability */ | u_char ifam_version; /* future binary compatibility */ |
| u_char ifam_type; /* message type */ | u_char ifam_type; /* message type */ |
| int ifam_addrs; /* like rtm_addrs */ | int ifam_addrs; /* like rtm_addrs */ |
| int ifam_flags; /* value of ifa_flags */ | int ifam_flags; /* value of ifa_flags */ |
| Line 195 struct ifa_msghdr { | Line 195 struct ifa_msghdr { |
| */ | */ |
| struct ifma_msghdr { | struct ifma_msghdr { |
| u_short ifmam_msglen; /* to skip over non-understood messages */ | u_short ifmam_msglen; /* to skip over non-understood messages */ |
| u_char ifmam_version; /* future binary compatability */ | u_char ifmam_version; /* future binary compatibility */ |
| u_char ifmam_type; /* message type */ | u_char ifmam_type; /* message type */ |
| int ifmam_addrs; /* like rtm_addrs */ | int ifmam_addrs; /* like rtm_addrs */ |
| int ifmam_flags; /* value of ifa_flags */ | int ifmam_flags; /* value of ifa_flags */ |