Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Dcalipso.c1194 struct inet_request_sock *req_inet = inet_rsk(req); in calipso_req_setattr() local
1198 if (req_inet->ipv6_opt && req_inet->ipv6_opt->hopopt) in calipso_req_setattr()
1199 old = req_inet->ipv6_opt->hopopt; in calipso_req_setattr()
1207 txopts = ipv6_renew_options(sk, req_inet->ipv6_opt, IPV6_HOPOPTS, new); in calipso_req_setattr()
1214 txopts = xchg(&req_inet->ipv6_opt, txopts); in calipso_req_setattr()
1233 struct inet_request_sock *req_inet = inet_rsk(req); in calipso_req_delattr() local
1238 if (!req_inet->ipv6_opt || !req_inet->ipv6_opt->hopopt) in calipso_req_delattr()
1241 if (calipso_opt_del(req_inet->ipv6_opt->hopopt, &new)) in calipso_req_delattr()
1244 txopts = ipv6_renew_options(sk, req_inet->ipv6_opt, IPV6_HOPOPTS, new); in calipso_req_delattr()
1247 txopts = xchg(&req_inet->ipv6_opt, txopts); in calipso_req_delattr()
/linux-6.1.9/net/ipv4/
Dcipso_ipv4.c1924 struct inet_request_sock *req_inet; in cipso_v4_req_setattr() local
1957 req_inet = inet_rsk(req); in cipso_v4_req_setattr()
1958 opt = xchg((__force struct ip_options_rcu **)&req_inet->ireq_opt, opt); in cipso_v4_req_setattr()