Lines Matching defs:gt
51 #define GET_SCOPE(gt) { \
53 if (((gt)->gt_mcastgrp & 0xff000000) == 0xef000000) \
55 if (scoped_addr(_i, (gt)->gt_mcastgrp)) \
56 VIFM_SET(_i, (gt)->gt_scope); \
82 static void rsrr_cache(struct gtable *gt, struct rsrr_rq *route_query);
265 struct gtable *gt,local_g;
305 gt = gtp ? gtp->gt_gnext : kernel_table;
308 route_reply->in_vif = gt->gt_route->rt_parent;
309 route_reply->out_vif_bm = gt->gt_grpmems;
313 rsrr_cache(gt,route_query);
330 gt = &local_g;
333 gt->gt_mcastgrp = mcastgrp;
334 gt->gt_grpmems = 0;
335 gt->gt_scope = 0;
336 gt->gt_route = r;
342 VIFM_SET(i, gt->gt_grpmems);
345 VIFM_SET(i, gt->gt_grpmems);
348 GET_SCOPE(gt);
349 gt->gt_grpmems &= ~gt->gt_scope;
352 route_reply->in_vif = gt->gt_route->rt_parent;
353 route_reply->out_vif_bm = gt->gt_grpmems;
401 rsrr_cache(gt,route_query)
402 struct gtable *gt;
410 rcnp = >->gt_rsrr_cache;
448 rc->next = gt->gt_rsrr_cache;
449 gt->gt_rsrr_cache = rc;
458 rsrr_cache_send(gt,notify)
459 struct gtable *gt;
468 rcnp = >->gt_rsrr_cache;
470 if (rsrr_accept_rq(&rc->route_query,flags,gt) < 0) {
484 rsrr_cache_clean(gt)
485 struct gtable *gt;
490 inet_fmt(gt->gt_mcastgrp));
491 rc = gt->gt_rsrr_cache;
497 gt->gt_rsrr_cache = NULL;