Changeset View
Changeset View
Standalone View
Standalone View
sys/nfs/bootp_subr.c
Show First 20 Lines • Show All 370 Lines • ▼ Show 20 Lines | if (rn->rn_bit < 0) { | ||||
return; | return; | ||||
} | } | ||||
} | } | ||||
} | } | ||||
void | void | ||||
bootpboot_p_rtlist(void) | bootpboot_p_rtlist(void) | ||||
{ | { | ||||
RIB_RLOCK_TRACKER; | |||||
struct rib_head *rnh; | struct rib_head *rnh; | ||||
printf("Routing table:\n"); | printf("Routing table:\n"); | ||||
rnh = rt_tables_get_rnh(0, AF_INET); | rnh = rt_tables_get_rnh(0, AF_INET); | ||||
if (rnh == NULL) | if (rnh == NULL) | ||||
return; | return; | ||||
RIB_RLOCK(rnh); /* could sleep XXX */ | RIB_RLOCK(rnh); /* could sleep XXX */ | ||||
bootpboot_p_tree(rnh->rnh_treetop); | bootpboot_p_tree(rnh->rnh_treetop); | ||||
▲ Show 20 Lines • Show All 1,517 Lines • Show Last 20 Lines |