Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv4/
Dtcp_minisocks.c143 struct tcp_options_received tmp_opt; in tcp_timewait_state_process() local
148 tmp_opt.saw_tstamp = 0; in tcp_timewait_state_process()
150 tcp_parse_options(skb, &tmp_opt, &hash_location, 0); in tcp_timewait_state_process()
152 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
153 tmp_opt.ts_recent = tcptw->tw_ts_recent; in tcp_timewait_state_process()
154 tmp_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_timewait_state_process()
155 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
197 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
199 tcptw->tw_ts_recent = tmp_opt.rcv_tsval; in tcp_timewait_state_process()
250 if (tmp_opt.saw_tstamp) { in tcp_timewait_state_process()
[all …]
Dtcp_ipv4.c1263 struct tcp_options_received tmp_opt; in tcp_v4_conn_request() local
1304 tcp_clear_options(&tmp_opt); in tcp_v4_conn_request()
1305 tmp_opt.mss_clamp = TCP_MSS_DEFAULT; in tcp_v4_conn_request()
1306 tmp_opt.user_mss = tp->rx_opt.user_mss; in tcp_v4_conn_request()
1307 tcp_parse_options(skb, &tmp_opt, &hash_location, 0); in tcp_v4_conn_request()
1309 if (tmp_opt.cookie_plus > 0 && in tcp_v4_conn_request()
1310 tmp_opt.saw_tstamp && in tcp_v4_conn_request()
1317 int l = tmp_opt.cookie_plus - TCPOLEN_COOKIE_BASE; in tcp_v4_conn_request()
1333 tmp_ext.cookie_plus = tmp_opt.cookie_plus; in tcp_v4_conn_request()
1343 if (want_cookie && !tmp_opt.saw_tstamp) in tcp_v4_conn_request()
[all …]
/linux-3.4.99/net/ipv6/
Dtcp_ipv6.c1053 struct tcp_options_received tmp_opt; in tcp_v6_conn_request() local
1086 tcp_clear_options(&tmp_opt); in tcp_v6_conn_request()
1087 tmp_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_conn_request()
1088 tmp_opt.user_mss = tp->rx_opt.user_mss; in tcp_v6_conn_request()
1089 tcp_parse_options(skb, &tmp_opt, &hash_location, 0); in tcp_v6_conn_request()
1091 if (tmp_opt.cookie_plus > 0 && in tcp_v6_conn_request()
1092 tmp_opt.saw_tstamp && in tcp_v6_conn_request()
1100 int l = tmp_opt.cookie_plus - TCPOLEN_COOKIE_BASE; in tcp_v6_conn_request()
1124 tmp_ext.cookie_plus = tmp_opt.cookie_plus; in tcp_v6_conn_request()
1134 if (want_cookie && !tmp_opt.saw_tstamp) in tcp_v6_conn_request()
[all …]