Searched refs:tun_src (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/ipv6/ |
D | seg6.c | 198 t_old = sdata->tun_src; in seg6_genl_set_tunsrc() 199 rcu_assign_pointer(sdata->tun_src, t_new); in seg6_genl_set_tunsrc() 212 struct in6_addr *tun_src; in seg6_genl_get_tunsrc() local 226 tun_src = rcu_dereference(seg6_pernet(net)->tun_src); in seg6_genl_get_tunsrc() 228 if (nla_put(msg, SEG6_ATTR_DST, sizeof(struct in6_addr), tun_src)) in seg6_genl_get_tunsrc() 376 sdata->tun_src = kzalloc(sizeof(*sdata->tun_src), GFP_KERNEL); in seg6_net_init() 377 if (!sdata->tun_src) { in seg6_net_init() 399 kfree(sdata->tun_src); in seg6_net_exit()
|
D | seg6_iptunnel.c | 90 struct in6_addr *tun_src; in set_tun_src() local 94 tun_src = rcu_dereference(sdata->tun_src); in set_tun_src() 96 if (!ipv6_addr_any(tun_src)) { in set_tun_src() 97 memcpy(saddr, tun_src, sizeof(struct in6_addr)); in set_tun_src()
|
/kernel/linux/linux-5.10/include/net/ |
D | seg6.h | 38 struct in6_addr __rcu *tun_src; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 2239 struct qed_tunnel_info *tun_src) in qed_pf_validate_modify_tunn_config() argument 2250 qed_pf_validate_tunn_mode(&tun_src->vxlan, &rc); in qed_pf_validate_modify_tunn_config() 2251 qed_pf_validate_tunn_mode(&tun_src->l2_geneve, &rc); in qed_pf_validate_modify_tunn_config() 2252 qed_pf_validate_tunn_mode(&tun_src->ip_geneve, &rc); in qed_pf_validate_modify_tunn_config() 2253 qed_pf_validate_tunn_mode(&tun_src->l2_gre, &rc); in qed_pf_validate_modify_tunn_config() 2254 qed_pf_validate_tunn_mode(&tun_src->ip_gre, &rc); in qed_pf_validate_modify_tunn_config() 2256 if ((tun_src->b_update_rx_cls || tun_src->b_update_tx_cls) && in qed_pf_validate_modify_tunn_config() 2257 (tun_src->vxlan.tun_cls != QED_TUNN_CLSS_MAC_VLAN || in qed_pf_validate_modify_tunn_config() 2258 tun_src->l2_geneve.tun_cls != QED_TUNN_CLSS_MAC_VLAN || in qed_pf_validate_modify_tunn_config() 2259 tun_src->ip_geneve.tun_cls != QED_TUNN_CLSS_MAC_VLAN || in qed_pf_validate_modify_tunn_config() [all …]
|