Lines Matching refs:vifc
378 static int vif_add(struct vifctl *vifc, int mrtsock) in vif_add() argument
380 int vifi = vifc->vifc_vifi; in vif_add()
389 switch (vifc->vifc_flags) { in vif_add()
398 dev = ipmr_reg_vif(vifc); in vif_add()
404 dev = ipmr_new_tunnel(vifc); in vif_add()
409 dev=ip_dev_find(vifc->vifc_lcl_addr.s_addr); in vif_add()
427 v->rate_limit=vifc->vifc_rate_limit; in vif_add()
428 v->local=vifc->vifc_lcl_addr.s_addr; in vif_add()
429 v->remote=vifc->vifc_rmt_addr.s_addr; in vif_add()
430 v->flags=vifc->vifc_flags; in vif_add()
433 v->threshold=vifc->vifc_threshold; in vif_add()