Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dtcp_minisocks.c88 struct tcp_options_received tmp_opt; in tcp_timewait_state_process() local
92 tmp_opt.saw_tstamp = 0; in tcp_timewait_state_process()
94 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process()
96 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
97 if (tmp_opt.rcv_tsecr) in tcp_timewait_state_process()
98 tmp_opt.rcv_tsecr -= tcptw->tw_ts_offset; in tcp_timewait_state_process()
99 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process()
100 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process()
101 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
140 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
[all …]
Dtcp_input.c6908 struct tcp_options_received tmp_opt; in tcp_conn_request() local
6946 tcp_clear_options(&tmp_opt); in tcp_conn_request()
6947 tmp_opt.mss_clamp = af_ops->mss_clamp; in tcp_conn_request()
6948 tmp_opt.user_mss = tp->rx_opt.user_mss; in tcp_conn_request()
6949 tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, in tcp_conn_request()
6952 if (want_cookie && !tmp_opt.saw_tstamp) in tcp_conn_request()
6953 tcp_clear_options(&tmp_opt); in tcp_conn_request()
6956 tmp_opt.smc_ok = 0; in tcp_conn_request()
6958 tmp_opt.tstamp_ok = tmp_opt.saw_tstamp; in tcp_conn_request()
6959 tcp_openreq_init(req, &tmp_opt, skb, sk); in tcp_conn_request()
[all …]
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dcm.c3927 struct tcp_options_received tmp_opt; in build_cpl_pass_accept_req() local
3945 memset(&tmp_opt, 0, sizeof(tmp_opt)); in build_cpl_pass_accept_req()
3946 tcp_clear_options(&tmp_opt); in build_cpl_pass_accept_req()
3947 tcp_parse_options(&init_net, skb, &tmp_opt, 0, NULL); in build_cpl_pass_accept_req()
3977 req->tcpopt.mss = htons(tmp_opt.mss_clamp); in build_cpl_pass_accept_req()
3978 if (tmp_opt.wscale_ok) in build_cpl_pass_accept_req()
3979 req->tcpopt.wsf = tmp_opt.snd_wscale; in build_cpl_pass_accept_req()
3980 req->tcpopt.tstamp = tmp_opt.saw_tstamp; in build_cpl_pass_accept_req()
3981 if (tmp_opt.sack_ok) in build_cpl_pass_accept_req()