Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dcalipso.c1191 struct inet_request_sock *req_inet = inet_rsk(req); in calipso_req_setattr() local
1195 if (req_inet->ipv6_opt && req_inet->ipv6_opt->hopopt) in calipso_req_setattr()
1196 old = req_inet->ipv6_opt->hopopt; in calipso_req_setattr()
1204 txopts = ipv6_renew_options(sk, req_inet->ipv6_opt, IPV6_HOPOPTS, new); in calipso_req_setattr()
1211 txopts = xchg(&req_inet->ipv6_opt, txopts); in calipso_req_setattr()
1230 struct inet_request_sock *req_inet = inet_rsk(req); in calipso_req_delattr() local
1235 if (!req_inet->ipv6_opt || !req_inet->ipv6_opt->hopopt) in calipso_req_delattr()
1238 if (calipso_opt_del(req_inet->ipv6_opt->hopopt, &new)) in calipso_req_delattr()
1241 txopts = ipv6_renew_options(sk, req_inet->ipv6_opt, IPV6_HOPOPTS, new); in calipso_req_delattr()
1244 txopts = xchg(&req_inet->ipv6_opt, txopts); in calipso_req_delattr()
/linux/net/ipv4/
H A Dcipso_ipv4.c1945 struct inet_request_sock *req_inet; in cipso_v4_req_setattr() local
1978 req_inet = inet_rsk(req); in cipso_v4_req_setattr()
1979 opt = unrcu_pointer(xchg(&req_inet->ireq_opt, RCU_INITIALIZER(opt))); in cipso_v4_req_setattr()