X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..060df5ea7c632b1ac8cc8aac1fb59758165c2084:/bsd/man/man4/route.4 diff --git a/bsd/man/man4/route.4 b/bsd/man/man4/route.4 index fd9ef63f1..34088e51a 100644 --- a/bsd/man/man4/route.4 +++ b/bsd/man/man4/route.4 @@ -177,12 +177,7 @@ be reclaimed until all references to it are released. User processes can obtain information about the routing entry to a specific destination by using a .Dv RTM_GET -message, -or by reading the -.Pa /dev/kmem -device, or by issuing a -.Xr getkerninfo 2 -system call. +message. .Pp Messages include: .Bd -literal @@ -199,11 +194,11 @@ Messages include: A message header consists of: .Bd -literal struct rt_msghdr { - u_short rmt_msglen; /* to skip over non-understood messages */ + u_short rtm_msglen; /* to skip over non-understood messages */ 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 */ + u_short rtm_index; /* index for associated ifp or interface scope */ + pid_t rtm_pid; /* identify sender */ int rtm_addrs; /* bitmask identifying sockaddrs in msg */ int rtm_seq; /* for sender to identify action */ int rtm_errno; /* why failed */ @@ -246,6 +241,7 @@ Flags include the values: #define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */ #define RTF_PROTO2 0x4000 /* protocol specific routing flag #1 */ #define RTF_PROTO1 0x8000 /* protocol specific routing flag #2 */ +#define RTF_IFSCOPE 0x1000000 /* has valid interface scope */ .Ed .Pp Specifiers for metric values in rmx_locks and rtm_inits are: