Home
last modified time | relevance | path

Searched refs:dest_dst (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_xmit.c64 static inline void ip_vs_dest_dst_free(struct ip_vs_dest_dst *dest_dst) in ip_vs_dest_dst_free() argument
66 kfree(dest_dst); in ip_vs_dest_dst_free()
73 __ip_vs_dst_set(struct ip_vs_dest *dest, struct ip_vs_dest_dst *dest_dst, in __ip_vs_dst_set() argument
78 old = rcu_dereference_protected(dest->dest_dst, in __ip_vs_dst_set()
81 if (dest_dst) { in __ip_vs_dst_set()
82 dest_dst->dst_cache = dst; in __ip_vs_dst_set()
83 dest_dst->dst_cookie = dst_cookie; in __ip_vs_dst_set()
85 rcu_assign_pointer(dest->dest_dst, dest_dst); in __ip_vs_dst_set()
94 struct ip_vs_dest_dst *dest_dst = rcu_dereference(dest->dest_dst); in __ip_vs_dst_check() local
97 if (!dest_dst) in __ip_vs_dst_check()
[all …]
Dip_vs_ctl.c713 struct ip_vs_dest_dst *dest_dst = container_of(head, in ip_vs_dest_dst_rcu_free() local
717 dst_release(dest_dst->dst_cache); in ip_vs_dest_dst_rcu_free()
718 kfree(dest_dst); in ip_vs_dest_dst_rcu_free()
726 old = rcu_dereference_protected(dest->dest_dst, 1); in __ip_vs_dst_cache_reset()
728 RCU_INIT_POINTER(dest->dest_dst, NULL); in __ip_vs_dst_cache_reset()
1667 struct ip_vs_dest_dst *dest_dst; in ip_vs_forget_dev() local
1670 dest_dst = rcu_dereference_protected(dest->dest_dst, 1); in ip_vs_forget_dev()
1671 if (dest_dst && dest_dst->dst_cache->dev == dev) { in ip_vs_forget_dev()
Dip_vs_core.c1760 struct ip_vs_dest_dst *dest_dst; in ip_vs_in_icmp() local
1762 dest_dst = rcu_dereference(dest->dest_dst); in ip_vs_in_icmp()
1763 if (dest_dst) in ip_vs_in_icmp()
1764 mtu = dst_mtu(dest_dst->dst_cache); in ip_vs_in_icmp()
/linux-6.1.9/include/net/
Dip_vs.h682 struct ip_vs_dest_dst __rcu *dest_dst; /* cached dst info */ member