Home
last modified time | relevance | path

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

/Linux-v6.6/net/ipv6/
Dcalipso.c782 struct ipv6_txoptions *old = txopt_get(inet6_sk(sk)), *txopts; in calipso_opt_update() local
784 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update()
786 if (IS_ERR(txopts)) in calipso_opt_update()
787 return PTR_ERR(txopts); in calipso_opt_update()
789 txopts = ipv6_update_options(sk, txopts); in calipso_opt_update()
790 if (txopts) { in calipso_opt_update()
791 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_opt_update()
792 txopt_put(txopts); in calipso_opt_update()
1078 struct ipv6_txoptions *txopts = txopt_get(inet6_sk(sk)); in calipso_sock_getattr() local
1080 if (!txopts || !txopts->hopopt) in calipso_sock_getattr()
[all …]