Searched refs:foc (Results 1 – 6 of 6) sorted by relevance
| /linux/net/ipv4/ |
| A D | tcp_fastopen.c | 131 foc->len = TCP_FASTOPEN_COOKIE_SIZE; in __tcp_fastopen_cookie_gen_cipher() 142 foc->len = TCP_FASTOPEN_COOKIE_SIZE; in __tcp_fastopen_cookie_gen_cipher() 231 foc = &search_foc; in tcp_fastopen_cookie_gen_check() 361 foc->len = -1; in tcp_try_fastopen() 368 if (foc->len == 0) { in tcp_try_fastopen() 371 } else if (foc->len > 0) { in tcp_try_fastopen() 391 valid_foc.exp = foc->exp; in tcp_try_fastopen() 392 *foc = valid_foc; in tcp_try_fastopen() 396 foc->len = -1; in tcp_try_fastopen() 406 valid_foc.exp = foc->exp; in tcp_try_fastopen() [all …]
|
| A D | tcp_output.c | 683 if (foc->exp) { in tcp_options_write() 689 len = TCPOLEN_FASTOPEN_BASE + foc->len; in tcp_options_write() 694 memcpy(p, foc->val, foc->len); in tcp_options_write() 696 p[foc->len] = TCPOPT_NOP; in tcp_options_write() 697 p[foc->len + 1] = TCPOPT_NOP; in tcp_options_write() 845 struct tcp_fastopen_cookie *foc, in tcp_synack_options() argument 887 if (foc != NULL && foc->len >= 0) { in tcp_synack_options() 888 u32 need = foc->len; in tcp_synack_options() 895 opts->fastopen_cookie = foc; in tcp_synack_options() 3497 struct tcp_fastopen_cookie *foc, in tcp_make_synack() argument [all …]
|
| A D | tcp_input.c | 3931 if (!foc || !syn || len < 0 || (len & 1)) in tcp_parse_fastopen_option() 3936 memcpy(foc->val, cookie, len); in tcp_parse_fastopen_option() 3939 foc->len = len; in tcp_parse_fastopen_option() 3940 foc->exp = exp_opt; in tcp_parse_fastopen_option() 4011 struct tcp_fastopen_cookie *foc) in tcp_parse_options() argument 4101 ptr, th->syn, foc, false); in tcp_parse_options() 4113 ptr + 2, th->syn, foc, true); in tcp_parse_options() 6224 tcp_rcv_fastopen_synack(sk, skb, &foc); in tcp_rcv_synsent_state_process() 6867 want_cookie ? NULL : &foc); in tcp_conn_request() 6929 &foc, TCP_SYNACK_FASTOPEN, skb); in tcp_conn_request() [all …]
|
| A D | tcp_ipv4.c | 985 struct tcp_fastopen_cookie *foc, in tcp_v4_send_synack() argument 999 skb = tcp_make_synack(sk, dst, req, foc, synack_type, syn_skb); in tcp_v4_send_synack()
|
| /linux/include/net/ |
| A D | tcp.h | 425 int estab, struct tcp_fastopen_cookie *foc); 466 struct tcp_fastopen_cookie *foc, 1711 struct tcp_fastopen_cookie *foc, 1747 bool tcp_fastopen_cookie_match(const struct tcp_fastopen_cookie *foc, in tcp_fastopen_cookie_match() argument 1751 orig->len == foc->len && in tcp_fastopen_cookie_match() 1752 !memcmp(orig->val, foc->val, foc->len)) in tcp_fastopen_cookie_match() 2054 struct tcp_fastopen_cookie *foc,
|
| /linux/net/ipv6/ |
| A D | tcp_ipv6.c | 521 struct tcp_fastopen_cookie *foc, in tcp_v6_send_synack() argument 538 skb = tcp_make_synack(sk, dst, req, foc, synack_type, syn_skb); in tcp_v6_send_synack()
|
Completed in 35 milliseconds