Searched refs:tcp_opt (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/net/ipv4/ |
D | syncookies.c | 236 struct tcp_options_received *tcp_opt) in cookie_timestamp_decode() argument 239 u32 options = tcp_opt->rcv_tsecr; in cookie_timestamp_decode() 241 if (!tcp_opt->saw_tstamp) { in cookie_timestamp_decode() 242 tcp_clear_options(tcp_opt); in cookie_timestamp_decode() 249 tcp_opt->sack_ok = (options & TS_OPT_SACK) ? TCP_SACK_SEEN : 0; in cookie_timestamp_decode() 251 if (tcp_opt->sack_ok && !net->ipv4.sysctl_tcp_sack) in cookie_timestamp_decode() 257 tcp_opt->wscale_ok = 1; in cookie_timestamp_decode() 258 tcp_opt->snd_wscale = options & TS_OPT_WSCALE_MASK; in cookie_timestamp_decode() 264 bool cookie_ecn_ok(const struct tcp_options_received *tcp_opt, in cookie_ecn_ok() argument 267 bool ecn_ok = tcp_opt->rcv_tsecr & TS_OPT_ECN; in cookie_ecn_ok() [all …]
|
/Linux-v4.19/net/ipv6/ |
D | syncookies.c | 135 struct tcp_options_received tcp_opt; in cookie_v6_check() local 164 memset(&tcp_opt, 0, sizeof(tcp_opt)); in cookie_v6_check() 165 tcp_parse_options(sock_net(sk), skb, &tcp_opt, 0, NULL); in cookie_v6_check() 167 if (tcp_opt.saw_tstamp && tcp_opt.rcv_tsecr) { in cookie_v6_check() 171 tcp_opt.rcv_tsecr -= tsoff; in cookie_v6_check() 174 if (!cookie_timestamp_decode(sock_net(sk), &tcp_opt)) in cookie_v6_check() 210 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check() 211 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v6_check() 212 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v6_check() 213 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v6_check() [all …]
|
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 782 unsigned short tcp_opt = ntohs(req->tcp_opt); in do_act_establish() local 832 csk->advmss = lldi->mtus[TCPOPT_MSS_G(tcp_opt)] - 40; in do_act_establish() 833 if (TCPOPT_TSTAMP_G(tcp_opt)) in do_act_establish() 840 csk, TCPOPT_MSS_G(tcp_opt), csk->advmss); in do_act_establish() 842 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
|
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 1176 unsigned short tcp_opt = ntohs(req->tcp_opt); in act_establish() local 1197 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in act_establish() 1199 set_emss(ep, tcp_opt); in act_establish() 2631 u16 tcp_opt = ntohs(req->tcp_opt); in pass_establish() local 2637 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in pass_establish() 2639 pr_debug("ep %p hwtid %u tcp_opt 0x%02x\n", ep, tid, tcp_opt); in pass_establish() 2641 set_emss(ep, tcp_opt); in pass_establish()
|
/Linux-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1595 u16 tcp_opt = be16_to_cpu(req->tcp_opt); in cxgbit_pass_establish() local 1618 csk->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in cxgbit_pass_establish() 1619 cxgbit_set_emss(csk, tcp_opt); in cxgbit_pass_establish()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 509 __be16 tcp_opt; member 636 __be16 tcp_opt; member
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_msg.h | 610 __be16 tcp_opt; member 667 __be16 tcp_opt; member
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 646 set_emss(ep, ntohs(req->tcp_opt)); in act_establish() 1419 set_emss(ep, ntohs(req->tcp_opt)); in pass_establish()
|
/Linux-v4.19/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 510 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
|
/Linux-v4.19/drivers/crypto/chelsio/chtls/ |
D | chtls_cm.c | 1406 make_established(sk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in chtls_pass_establish()
|