Home
last modified time | relevance | path

Searched refs:odst (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/net/ipv4/
Droute.c1114 struct dst_entry *odst = NULL; in ipv4_sk_update_pmtu() local
1123 odst = sk_dst_get(sk); in ipv4_sk_update_pmtu()
1125 if (sock_owned_by_user(sk) || !odst) { in ipv4_sk_update_pmtu()
1132 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1133 if (odst->obsolete && !odst->ops->check(odst, 0)) { in ipv4_sk_update_pmtu()
1159 dst_release(odst); in ipv4_sk_update_pmtu()
/linux-6.6.21/net/xfrm/
Dxfrm_policy.c583 struct hlist_head *odst; in xfrm_bydst_resize() local
592 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
596 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
606 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize()
1230 struct hlist_head *odst; in xfrm_hash_rebuild() local
1308 odst = net->xfrm.policy_bydst[dir].table; in xfrm_hash_rebuild()
1310 hlist_for_each_entry_safe(policy, n, odst + i, bydst) in xfrm_hash_rebuild()
Dxfrm_state.c153 struct hlist_head *ndst, *nsrc, *nspi, *nseq, *odst, *osrc, *ospi, *oseq; in xfrm_hash_resize() local
185 odst = xfrm_state_deref_prot(net->xfrm.state_bydst, net); in xfrm_hash_resize()
187 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nseq, nhashmask); in xfrm_hash_resize()
207 xfrm_hash_free(odst, osize); in xfrm_hash_resize()