| /kernel/linux/linux-5.10/net/ipv4/ |
| D | tcp_fastopen.c | 137 struct tcp_fastopen_cookie *foc) in __tcp_fastopen_cookie_gen_cipher() argument 144 foc->val[0] = cpu_to_le64(siphash(&iph->saddr, in __tcp_fastopen_cookie_gen_cipher() 148 foc->len = TCP_FASTOPEN_COOKIE_SIZE; in __tcp_fastopen_cookie_gen_cipher() 155 foc->val[0] = cpu_to_le64(siphash(&ip6h->saddr, in __tcp_fastopen_cookie_gen_cipher() 159 foc->len = TCP_FASTOPEN_COOKIE_SIZE; in __tcp_fastopen_cookie_gen_cipher() 172 struct tcp_fastopen_cookie *foc) in tcp_fastopen_cookie_gen() argument 179 __tcp_fastopen_cookie_gen_cipher(req, syn, &ctx->key[0], foc); in tcp_fastopen_cookie_gen() 234 struct tcp_fastopen_cookie *foc = valid_foc; in tcp_fastopen_cookie_gen_check() local 243 __tcp_fastopen_cookie_gen_cipher(req, syn, &ctx->key[i], foc); in tcp_fastopen_cookie_gen_check() 244 if (tcp_fastopen_cookie_match(foc, orig)) { in tcp_fastopen_cookie_gen_check() [all …]
|
| D | tcp_output.c | 677 struct tcp_fastopen_cookie *foc = opts->fastopen_cookie; in tcp_options_write() local 681 if (foc->exp) { in tcp_options_write() 682 len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len; in tcp_options_write() 687 len = TCPOLEN_FASTOPEN_BASE + foc->len; in tcp_options_write() 692 memcpy(p, foc->val, foc->len); in tcp_options_write() 694 p[foc->len] = TCPOPT_NOP; in tcp_options_write() 695 p[foc->len + 1] = TCPOPT_NOP; in tcp_options_write() 843 struct tcp_fastopen_cookie *foc, in tcp_synack_options() argument 885 if (foc != NULL && foc->len >= 0) { in tcp_synack_options() 886 u32 need = foc->len; in tcp_synack_options() [all …]
|
| D | tcp_input.c | 3921 bool syn, struct tcp_fastopen_cookie *foc, in tcp_parse_fastopen_option() argument 3925 if (!foc || !syn || len < 0 || (len & 1)) in tcp_parse_fastopen_option() 3930 memcpy(foc->val, cookie, len); in tcp_parse_fastopen_option() 3933 foc->len = len; in tcp_parse_fastopen_option() 3934 foc->exp = exp_opt; in tcp_parse_fastopen_option() 4005 struct tcp_fastopen_cookie *foc) in tcp_parse_options() argument 4095 ptr, th->syn, foc, false); in tcp_parse_options() 4107 ptr + 2, th->syn, foc, true); in tcp_parse_options() 6104 struct tcp_fastopen_cookie foc = { .len = -1 }; in tcp_rcv_synsent_state_process() local 6108 tcp_parse_options(sock_net(sk), skb, &tp->rx_opt, 0, &foc); in tcp_rcv_synsent_state_process() [all …]
|
| D | tcp_ipv4.c | 969 struct tcp_fastopen_cookie *foc, in tcp_v4_send_synack() argument 983 skb = tcp_make_synack(sk, dst, req, foc, synack_type, syn_skb); in tcp_v4_send_synack()
|
| /kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
| D | tcp_nip.h | 175 struct tcp_fastopen_cookie *foc,
|
| /kernel/linux/linux-5.10/include/net/ |
| D | tcp.h | 407 int estab, struct tcp_fastopen_cookie *foc); 448 struct tcp_fastopen_cookie *foc, 1692 struct tcp_fastopen_cookie *foc, 1729 bool tcp_fastopen_cookie_match(const struct tcp_fastopen_cookie *foc, in tcp_fastopen_cookie_match() argument 1733 orig->len == foc->len && in tcp_fastopen_cookie_match() 1734 !memcmp(orig->val, foc->val, foc->len)) in tcp_fastopen_cookie_match() 2049 struct tcp_fastopen_cookie *foc,
|
| /kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
| D | tcp_nip_output.c | 727 struct tcp_fastopen_cookie *foc, in tcp_nip_synack_options() argument 786 struct tcp_fastopen_cookie *foc, in tcp_nip_make_synack() argument 828 foc, synack_type) + sizeof(*th); in tcp_nip_make_synack()
|
| D | tcp_nip_input.c | 892 struct tcp_fastopen_cookie *foc) in tcp_nip_parse_options() argument 1144 struct tcp_fastopen_cookie foc = { .len = -1 }; in _tcp_nip_conn_request() local 1228 af_ops->send_synack(sk, dst, NULL, req, &foc, TCP_SYNACK_NORMAL, NULL); in _tcp_nip_conn_request()
|
| D | tcp_nip.c | 767 struct tcp_fastopen_cookie *foc, in tcp_nip_send_synack() argument 774 skb = tcp_nip_make_synack(sk, dst, req, foc, synack_type); in tcp_nip_send_synack()
|
| /kernel/linux/linux-5.10/net/ipv6/ |
| D | tcp_ipv6.c | 522 struct tcp_fastopen_cookie *foc, in tcp_v6_send_synack() argument 539 skb = tcp_make_synack(sk, dst, req, foc, synack_type, syn_skb); in tcp_v6_send_synack()
|