Searched refs:tun_src (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/ipv6/ |
D | seg6.c | 254 t_old = sdata->tun_src; in seg6_genl_set_tunsrc() 255 rcu_assign_pointer(sdata->tun_src, t_new); in seg6_genl_set_tunsrc() 268 struct in6_addr *tun_src; in seg6_genl_get_tunsrc() local 282 tun_src = rcu_dereference(seg6_pernet(net)->tun_src); in seg6_genl_get_tunsrc() 284 if (nla_put(msg, SEG6_ATTR_DST, sizeof(struct in6_addr), tun_src)) in seg6_genl_get_tunsrc() 432 sdata->tun_src = kzalloc(sizeof(*sdata->tun_src), GFP_KERNEL); in seg6_net_init() 433 if (!sdata->tun_src) { in seg6_net_init() 442 kfree(rcu_dereference_raw(sdata->tun_src)); in seg6_net_init() 459 kfree(rcu_dereference_raw(sdata->tun_src)); in seg6_net_exit()
|
D | seg6_iptunnel.c | 93 struct in6_addr *tun_src; in set_tun_src() local 97 tun_src = rcu_dereference(sdata->tun_src); in set_tun_src() 99 if (!ipv6_addr_any(tun_src)) { in set_tun_src() 100 memcpy(saddr, tun_src, sizeof(struct in6_addr)); in set_tun_src()
|
/linux-6.1.9/include/net/ |
D | seg6.h | 38 struct in6_addr __rcu *tun_src; member
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 2241 struct qed_tunnel_info *tun_src) in qed_pf_validate_modify_tunn_config() argument 2252 qed_pf_validate_tunn_mode(&tun_src->vxlan, &rc); in qed_pf_validate_modify_tunn_config() 2253 qed_pf_validate_tunn_mode(&tun_src->l2_geneve, &rc); in qed_pf_validate_modify_tunn_config() 2254 qed_pf_validate_tunn_mode(&tun_src->ip_geneve, &rc); in qed_pf_validate_modify_tunn_config() 2255 qed_pf_validate_tunn_mode(&tun_src->l2_gre, &rc); in qed_pf_validate_modify_tunn_config() 2256 qed_pf_validate_tunn_mode(&tun_src->ip_gre, &rc); in qed_pf_validate_modify_tunn_config() 2258 if ((tun_src->b_update_rx_cls || tun_src->b_update_tx_cls) && in qed_pf_validate_modify_tunn_config() 2259 (tun_src->vxlan.tun_cls != QED_TUNN_CLSS_MAC_VLAN || in qed_pf_validate_modify_tunn_config() 2260 tun_src->l2_geneve.tun_cls != QED_TUNN_CLSS_MAC_VLAN || in qed_pf_validate_modify_tunn_config() 2261 tun_src->ip_geneve.tun_cls != QED_TUNN_CLSS_MAC_VLAN || in qed_pf_validate_modify_tunn_config() [all …]
|