Home
last modified time | relevance | path

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

/net/ipv4/
Dsyncookies.c284 struct tcp_request_sock *treq; in cookie_tcp_reqsk_alloc() local
295 treq = tcp_rsk(req); in cookie_tcp_reqsk_alloc()
298 treq->af_specific = af_ops; in cookie_tcp_reqsk_alloc()
300 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_alloc()
302 treq->is_mptcp = sk_is_mptcp(sk); in cookie_tcp_reqsk_alloc()
303 if (treq->is_mptcp) { in cookie_tcp_reqsk_alloc()
326 struct tcp_request_sock *treq; in cookie_v4_check() local
374 treq = tcp_rsk(req); in cookie_v4_check()
375 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v4_check()
376 treq->snt_isn = cookie; in cookie_v4_check()
[all …]
Dtcp_minisocks.c462 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_create_openreq_child() local
479 seq = treq->rcv_isn + 1; in tcp_create_openreq_child()
485 seq = treq->snt_isn + 1; in tcp_create_openreq_child()
493 tcp_init_wl(newtp, treq->rcv_isn); in tcp_create_openreq_child()
499 newsk->sk_txhash = treq->txhash; in tcp_create_openreq_child()
503 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); in tcp_create_openreq_child()
534 newtp->undo_marker = treq->snt_isn; in tcp_create_openreq_child()
535 newtp->retrans_stamp = div_u64(treq->snt_synack, in tcp_create_openreq_child()
538 newtp->tsoffset = treq->ts_off; in tcp_create_openreq_child()
541 if (treq->af_specific->req_md5_lookup(sk, req_to_sk(req))) in tcp_create_openreq_child()
/net/ipv6/
Dsyncookies.c132 struct tcp_request_sock *treq; in cookie_v6_check() local
180 treq = tcp_rsk(req); in cookie_v6_check()
181 treq->tfo_listener = false; in cookie_v6_check()
213 treq->snt_synack = 0; in cookie_v6_check()
214 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v6_check()
215 treq->snt_isn = cookie; in cookie_v6_check()
216 treq->ts_off = 0; in cookie_v6_check()
217 treq->txhash = net_tx_rndhash(); in cookie_v6_check()
/net/wireless/
Dpmsr.c193 struct nlattr *treq; in pmsr_parse_peer() local
244 nla_for_each_nested(treq, req[NL80211_PMSR_REQ_ATTR_DATA], rem) { in pmsr_parse_peer()
245 switch (nla_type(treq)) { in pmsr_parse_peer()
247 err = pmsr_parse_ftm(rdev, treq, out, info); in pmsr_parse_peer()
250 NL_SET_ERR_MSG_ATTR(info->extack, treq, in pmsr_parse_peer()