<dec f='src/src/sys/net/rtsock.c' l='168' type='int rt_msg2(int , struct rt_addrinfo * , void * , struct rt_walkarg * , int * )'/>
<use f='src/src/sys/net/rtsock.c' l='532' u='c' c='route_output_report'/>
<use f='src/src/sys/net/rtsock.c' l='541' u='c' c='route_output_report'/>
<def f='src/src/sys/net/rtsock.c' l='1165' ll='1232' type='int rt_msg2(int type, struct rt_addrinfo * rtinfo, void * cpv, struct rt_walkarg * w, int * lenp)'/>
<use f='src/src/sys/net/rtsock.c' l='1550' u='c' c='sysctl_dumpentry'/>
<use f='src/src/sys/net/rtsock.c' l='1593' u='c' c='sysctl_iflist_addr'/>
<use f='src/src/sys/net/rtsock.c' l='1675' u='c' c='sysctl_iflist'/>
<doc f='src/src/sys/net/rtsock.c' l='1152'>/*
 * rt_msg2
 *
 *	 fills &apos;cp&apos; or &apos;w&apos;.w_tmem with the routing socket message and
 *		returns the length of the message in &apos;lenp&apos;.
 *
 * if walkarg is 0, cp is expected to be 0 or a buffer large enough to hold
 *	the message
 * otherwise walkarg&apos;s w_needed is updated and if the user buffer is
 *	specified and w_needed indicates space exists the information is copied
 *	into the temp space (w_tmem). w_tmem is [re]allocated if necessary,
 *	if the allocation fails ENOBUFS is returned.
 */</doc>
