| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | tcp_lp.c | 147 if (tp->rx_opt.rcv_tsval == lp->remote_ref_time || in tcp_lp_remote_hz_estimator() 148 tp->rx_opt.rcv_tsecr == lp->local_ref_time) in tcp_lp_remote_hz_estimator() 152 (tp->rx_opt.rcv_tsval - lp->remote_ref_time) / in tcp_lp_remote_hz_estimator() 153 (tp->rx_opt.rcv_tsecr - lp->local_ref_time); in tcp_lp_remote_hz_estimator() 171 lp->remote_ref_time = tp->rx_opt.rcv_tsval; in tcp_lp_remote_hz_estimator() 172 lp->local_ref_time = tp->rx_opt.rcv_tsecr; in tcp_lp_remote_hz_estimator() 197 tp->rx_opt.rcv_tsval * (LP_RESOL / lp->remote_hz) - in tcp_lp_owd_calculator() 198 tp->rx_opt.rcv_tsecr * (LP_RESOL / TCP_TS_HZ); in tcp_lp_owd_calculator() 275 delta = now - tp->rx_opt.rcv_tsecr; in tcp_lp_pkts_acked()
|
| H A D | tcp_minisocks.c | 270 tw->tw_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_time_wait() 274 tcptw->tw_ts_recent = tp->rx_opt.ts_recent; in tcp_time_wait() 275 tcptw->tw_ts_recent_stamp = tp->rx_opt.ts_recent_stamp; in tcp_time_wait() 509 newtp->rx_opt.tstamp_ok = ireq->tstamp_ok; in tcp_create_openreq_child() 510 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child() 514 newtp->rx_opt.wscale_ok = ireq->wscale_ok; in tcp_create_openreq_child() 515 if (newtp->rx_opt.wscale_ok) { in tcp_create_openreq_child() 516 newtp->rx_opt.snd_wscale = ireq->snd_wscale; in tcp_create_openreq_child() 517 newtp->rx_opt.rcv_wscale = ireq->rcv_wscale; in tcp_create_openreq_child() 519 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child() [all …]
|
| H A D | tcp_input.c | 145 bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown && in bpf_skops_parse_hdr() 410 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand() 671 if (tp->rx_opt.rcv_tsecr == tp->rcv_rtt_last_tsecr) in tcp_rcv_rtt_measure_ts() 673 tp->rcv_rtt_last_tsecr = tp->rx_opt.rcv_tsecr; in tcp_rcv_rtt_measure_ts() 677 u32 delta = tcp_time_stamp(tp) - tp->rx_opt.rcv_tsecr; in tcp_rcv_rtt_measure_ts() 1002 tp->rx_opt.sack_ok |= TCP_DSACK_SEEN; in tcp_dsack_seen() 1031 tp->rx_opt.sack_ok, inet_csk(sk)->icsk_ca_state, in tcp_check_sack_reordering() 2386 return tp->rx_opt.saw_tstamp && tp->rx_opt.rcv_tsecr && in tcp_tsopt_ecr_before() 2387 before(tp->rx_opt.rcv_tsecr, when); in tcp_tsopt_ecr_before() 3077 if (seq_rtt_us < 0 && tp->rx_opt.saw_tstamp && tp->rx_opt.rcv_tsecr && in tcp_ack_update_rtt() [all …]
|
| H A D | tcp_output.c | 100 (tp->rx_opt.wscale_ok && in tcp_acceptable_seq() 101 ((tp->snd_nxt - tcp_wnd_end(tp)) < (1 << tp->rx_opt.rcv_wscale)))) in tcp_acceptable_seq() 276 new_win = ALIGN(cur_win, 1 << tp->rx_opt.rcv_wscale); in tcp_select_window() 284 if (!tp->rx_opt.rcv_wscale && in tcp_select_window() 288 new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); in tcp_select_window() 291 new_win >>= tp->rx_opt.rcv_wscale; in tcp_select_window() 657 struct tcp_sack_block *sp = tp->rx_opt.dsack ? in tcp_options_write() 673 tp->rx_opt.dsack = 0; in tcp_options_write() 792 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options() 796 opts->ws = tp->rx_opt.rcv_wscale; in tcp_syn_options() [all …]
|
| H A D | tcp.c | 2796 memset(&tp->rx_opt, 0, sizeof(tp->rx_opt)); in tcp_disconnect() 2826 tp->rx_opt.saw_tstamp = 0; in tcp_disconnect() 2827 tp->rx_opt.dsack = 0; in tcp_disconnect() 2828 tp->rx_opt.num_sacks = 0; in tcp_disconnect() 2904 tp->rx_opt.mss_clamp = opt.opt_val; in tcp_repair_options_est() 2915 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est() 2916 tp->rx_opt.rcv_wscale = rcv_wscale; in tcp_repair_options_est() 2917 tp->rx_opt.wscale_ok = 1; in tcp_repair_options_est() 2924 tp->rx_opt.sack_ok |= TCP_SACK_SEEN; in tcp_repair_options_est() 2930 tp->rx_opt.tstamp_ok = 1; in tcp_repair_options_est() [all …]
|
| H A D | tcp_rate.c | 167 tp->rx_opt.sack_ok, tcp_min_rtt(tp)); in tcp_rate_gen()
|
| H A D | tcp_ipv4.c | 171 tp->rx_opt.ts_recent = tcptw->tw_ts_recent; in tcp_twsk_unique() 172 tp->rx_opt.ts_recent_stamp = tcptw->tw_ts_recent_stamp; in tcp_twsk_unique() 252 if (tp->rx_opt.ts_recent_stamp && inet->inet_daddr != daddr) { in tcp_v4_connect() 254 tp->rx_opt.ts_recent = 0; in tcp_v4_connect() 255 tp->rx_opt.ts_recent_stamp = 0; in tcp_v4_connect() 267 tp->rx_opt.mss_clamp = TCP_MSS_DEFAULT; in tcp_v4_connect()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/it66353/ |
| H A D | it66353_opts.c | 148 it66353_gdev.opts.rx_opt[0] = &it66353_s_RxOpts; in it66353_options_init() 149 it66353_gdev.opts.rx_opt[1] = &it66353_s_RxOpts; in it66353_options_init() 150 it66353_gdev.opts.rx_opt[2] = &it66353_s_RxOpts; in it66353_options_init() 151 it66353_gdev.opts.rx_opt[3] = &it66353_s_RxOpts; in it66353_options_init() 152 it66353_gdev.opts.active_rx_opt = it66353_gdev.opts.rx_opt[DEFAULT_PORT]; in it66353_options_init()
|
| H A D | it66353_drv.h | 218 IT6635_RX_OPTIONS *rx_opt[4]; member 450 …{if (it66353_gdev.opts.rx_opt[port]->EnRxDDCBypass == 0) { it66353_h2swset(0x55 + port, 0x01, 0x00…
|
| H A D | it66353.c | 1360 if (it66353_gdev.opts.rx_opt[port]->EnRxDDCBypass == 0) { in _rx_set_hpd() 1367 if (it66353_gdev.opts.rx_opt[port]->DisableEdidRam == 0) { in _rx_set_hpd() 1371 if (it66353_gdev.opts.rx_opt[port]->HPDOutputInverse) { in _rx_set_hpd() 1403 if (it66353_gdev.opts.rx_opt[port]->HPDOutputInverse) { in _rx_set_hpd() 1440 if (it66353_gdev.opts.rx_opt[i]->NonActivePortReplyHPD) { in _rx_set_hpd_with_5v_all() 1849 if (it66353_gdev.opts.rx_opt[port]->DisableEdidRam) { in _sw_init() 2174 if (it66353_gdev.opts.rx_opt[port]->NonActivePortReplyHPD) { in it66353_detect_port() 4470 it66353_gdev.opts.rx_opt[port]->DefaultEQ[0] = new_rs_idx0; in it66353_change_default_RS() 4471 it66353_gdev.opts.rx_opt[port]->DefaultEQ[1] = new_rs_idx1; in it66353_change_default_RS() 4472 it66353_gdev.opts.rx_opt[port]->DefaultEQ[2] = new_rs_idx2; in it66353_change_default_RS()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| H A D | chtls_cm.h | 91 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale) 92 #define RCV_WSCALE(tp) ((tp)->rx_opt.rcv_wscale) 93 #define USER_MSS(tp) ((tp)->rx_opt.user_mss) 94 #define TS_RECENT_STAMP(tp) ((tp)->rx_opt.ts_recent_stamp) 95 #define WSCALE_OK(tp) ((tp)->rx_opt.wscale_ok) 96 #define TSTAMP_OK(tp) ((tp)->rx_opt.tstamp_ok) 97 #define SACK_OK(tp) ((tp)->rx_opt.sack_ok)
|
| H A D | chtls_cm.c | 152 tp->rx_opt.mss_clamp = cdev->mtus[TCPOPT_MSS_G(opt)] - 40; in assign_rxopt() 153 tp->mss_cache = tp->rx_opt.mss_clamp; in assign_rxopt() 154 tp->rx_opt.tstamp_ok = TCPOPT_TSTAMP_G(opt); in assign_rxopt() 155 tp->rx_opt.snd_wscale = TCPOPT_SACK_G(opt); in assign_rxopt() 156 tp->rx_opt.wscale_ok = TCPOPT_WSCALE_OK_G(opt); in assign_rxopt() 158 if (!tp->rx_opt.wscale_ok) in assign_rxopt() 159 tp->rx_opt.rcv_wscale = 0; in assign_rxopt() 160 if (tp->rx_opt.tstamp_ok) { in assign_rxopt() 162 tp->rx_opt.mss_clamp -= TCPOLEN_TSTAMP_ALIGNED; in assign_rxopt() 465 tp->max_window = 0xFFFF << (tp->rx_opt.snd_wscale); in chtls_disconnect() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | tcp.h | 103 static inline void tcp_clear_options(struct tcp_options_received *rx_opt) in tcp_clear_options() argument 105 rx_opt->tstamp_ok = rx_opt->sack_ok = 0; in tcp_clear_options() 106 rx_opt->wscale_ok = rx_opt->snd_wscale = 0; in tcp_clear_options() 108 rx_opt->smc_ok = 0; in tcp_clear_options() 288 struct tcp_options_received rx_opt; member 516 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | tcp.h | 511 last_overflow = READ_ONCE(tcp_sk(sk)->rx_opt.ts_recent_stamp); in tcp_synq_overflow() 513 WRITE_ONCE(tcp_sk(sk)->rx_opt.ts_recent_stamp, now); in tcp_synq_overflow() 534 last_overflow = READ_ONCE(tcp_sk(sk)->rx_opt.ts_recent_stamp); in tcp_synq_no_recent_overflow() 692 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on() 1176 return likely(tp->rx_opt.sack_ok); in tcp_is_sack() 1377 static inline void tcp_sack_reset(struct tcp_options_received *rx_opt) in tcp_sack_reset() argument 1379 rx_opt->dsack = 0; in tcp_sack_reset() 1380 rx_opt->num_sacks = 0; in tcp_sack_reset() 1498 static inline bool tcp_paws_check(const struct tcp_options_received *rx_opt, in tcp_paws_check() argument 1501 if ((s32)(rx_opt->ts_recent - rx_opt->rcv_tsval) <= paws_win) in tcp_paws_check() [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | tcp_ipv6.c | 215 if (tp->rx_opt.ts_recent_stamp && in tcp_v6_connect() 217 tp->rx_opt.ts_recent = 0; in tcp_v6_connect() 218 tp->rx_opt.ts_recent_stamp = 0; in tcp_v6_connect() 306 tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()
|