Searched refs:vifc (Results 1 – 2 of 2) sorted by relevance
/linux/net/ipv4/ |
H A D | ipmr.c | 812 struct vifctl *vifc, int mrtsock) in vif_add() argument 815 int vifi = vifc->vifc_vifi; in vif_add() 825 switch (vifc->vifc_flags) { in vif_add() 845 dev = ipmr_new_tunnel(net, vifc); in vif_add() 851 if (vifc->vifc_flags == VIFF_USE_IFINDEX) { in vif_add() 852 dev = dev_get_by_index(net, vifc->vifc_lcl_ifindex); in vif_add() 858 dev = ip_dev_find(net, vifc->vifc_lcl_addr.s_addr); in vif_add() 883 vif_device_init(v, dev, vifc->vifc_rate_limit, in vif_add() 884 vifc->vifc_threshold, in vif_add() 885 vifc->vifc_flags | (!mrtsock ? VIFF_STATIC : 0), in vif_add() [all …]
|
/linux/net/ipv6/ |
H A D | ip6mr.c | 863 struct mif6ctl *vifc, int mrtsock) in mif6_add() argument 865 int vifi = vifc->mif6c_mifi; in mif6_add() 875 switch (vifc->mif6c_flags) { in mif6_add() 896 dev = dev_get_by_index(net, vifc->mif6c_pifi); in mif6_add() 918 vif_device_init(v, dev, vifc->vifc_rate_limit, vifc->vifc_threshold, in mif6_add() 919 vifc->mif6c_flags | (!mrtsock ? VIFF_STATIC : 0), in mif6_add()
|