X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..eb6b6ca394357805f2bdba989abae309f718b4d8:/bsd/man/man4/route.4?ds=inline diff --git a/bsd/man/man4/route.4 b/bsd/man/man4/route.4 index fd9ef63f1..e4f456335 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 @@ -190,7 +185,6 @@ Messages include: #define RTM_DELETE 0x2 /* Delete Route */ #define RTM_CHANGE 0x3 /* Change Metrics, Flags, or Gateway */ #define RTM_GET 0x4 /* Report Information */ -#define RTM_LOOSING 0x5 /* Kernel Suspects Partitioning */ #define RTM_REDIRECT 0x6 /* Told to use different route */ #define RTM_MISS 0x7 /* Lookup failed on this address */ #define RTM_RESOLVE 0xb /* request to resolve dst to LL addr */ @@ -199,11 +193,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 +240,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: