Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/
Dcalipso.c786 struct ipv6_txoptions *old = txopt_get(inet6_sk(sk)), *txopts; in calipso_opt_update() local
788 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update()
790 if (IS_ERR(txopts)) in calipso_opt_update()
791 return PTR_ERR(txopts); in calipso_opt_update()
793 txopts = ipv6_update_options(sk, txopts); in calipso_opt_update()
794 if (txopts) { in calipso_opt_update()
795 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_opt_update()
796 txopt_put(txopts); in calipso_opt_update()
1082 struct ipv6_txoptions *txopts = txopt_get(inet6_sk(sk)); in calipso_sock_getattr() local
1084 if (!txopts || !txopts->hopopt) in calipso_sock_getattr()
[all …]