Lines Matching refs:rtab
12 struct rtab {
13 struct rtab *r_next, *r_prev;
18 static struct rtab *rt_net = NULL;
19 static struct rtab *rt_host = NULL;
24 struct rtab *r;
25 struct rtab *rtab;
28 rtab = rt_host;
30 rtab = rt_net;
32 for ( r = rtab; r != NULL; r = r->r_next ) {
40 if (( r = kmem_alloc( sizeof( struct rtab ), KM_NOSLEEP )) == NULL ) {
47 r->r_next = rtab;
48 if ( rtab != NULL ) {
49 rtab->r_prev = r;
62 struct rtab *r;
63 struct rtab *rtab;
66 rtab = rt_host;
68 rtab = rt_net;
70 for ( r = rtab; r != NULL; r = r->r_next ) {
81 if ( r == rtab ) {
94 kmem_free( r, sizeof( struct rtab ));
101 struct rtab *r;