Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dcalipso.c779 struct ipv6_txoptions *old = txopt_get(inet6_sk(sk)), *txopts; in calipso_opt_update() local
781 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update()
783 if (IS_ERR(txopts)) in calipso_opt_update()
784 return PTR_ERR(txopts); in calipso_opt_update()
786 txopts = ipv6_update_options(sk, txopts); in calipso_opt_update()
787 if (txopts) { in calipso_opt_update()
788 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_opt_update()
789 txopt_put(txopts); in calipso_opt_update()
1075 struct ipv6_txoptions *txopts = txopt_get(inet6_sk(sk)); in calipso_sock_getattr() local
1077 if (!txopts || !txopts->hopopt) in calipso_sock_getattr()
[all …]