Home
last modified time | relevance | path

Searched refs:vifc (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/ipv4/
Dipmr.c811 struct vifctl *vifc, int mrtsock) in vif_add() argument
814 int vifi = vifc->vifc_vifi; in vif_add()
824 switch (vifc->vifc_flags) { in vif_add()
844 dev = ipmr_new_tunnel(net, vifc); in vif_add()
850 if (vifc->vifc_flags == VIFF_USE_IFINDEX) { in vif_add()
851 dev = dev_get_by_index(net, vifc->vifc_lcl_ifindex); in vif_add()
857 dev = ip_dev_find(net, vifc->vifc_lcl_addr.s_addr); in vif_add()
882 vif_device_init(v, dev, vifc->vifc_rate_limit, in vif_add()
883 vifc->vifc_threshold, in vif_add()
884 vifc->vifc_flags | (!mrtsock ? VIFF_STATIC : 0), in vif_add()
[all …]
/linux-6.6.21/net/ipv6/
Dip6mr.c863 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()