Searched refs:syn (Results 1 – 17 of 17) sorted by relevance
/net/ipv4/netfilter/ |
D | ipt_SYNPROXY.c | 279 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4() 297 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4() 344 if (!th->syn || th->ack || in ipv4_synproxy_hook() 361 if (!th->syn && th->ack && in ipv4_synproxy_hook() 379 if (!th->syn || !th->ack) in ipv4_synproxy_hook()
|
D | nf_reject_ipv4.c | 86 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
|
/net/ipv4/ |
D | tcp_fastopen.c | 99 struct sk_buff *syn, in tcp_fastopen_cookie_gen() argument 103 const struct iphdr *iph = ip_hdr(syn); in tcp_fastopen_cookie_gen() 111 const struct ipv6hdr *ip6h = ipv6_hdr(syn); in tcp_fastopen_cookie_gen()
|
D | tcp_input.c | 284 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo() 3402 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window() 3462 !tcp_hdr(skb)->syn) in tcp_oow_rate_limited() 3729 bool syn, struct tcp_fastopen_cookie *foc, in tcp_parse_fastopen_option() argument 3733 if (!foc || !syn || len < 0 || (len & 1)) in tcp_parse_fastopen_option() 3778 if (opsize == TCPOLEN_MSS && th->syn && !estab) { in tcp_parse_options() 3789 if (opsize == TCPOLEN_WINDOW && th->syn && in tcp_parse_options() 3812 if (opsize == TCPOLEN_SACK_PERM && th->syn && in tcp_parse_options() 3837 ptr, th->syn, foc, false); in tcp_parse_options() 3849 ptr + 2, th->syn, foc, true); in tcp_parse_options() [all …]
|
D | tcp_minisocks.c | 133 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt)) in tcp_timewait_state_process() 233 if (th->syn && !th->rst && !th->ack && !paws_reject && in tcp_timewait_state_process()
|
D | inet_lro.c | 69 tcph->rst || tcph->syn || tcph->fin) in lro_tcp_ip_check()
|
D | tcp_output.c | 3063 th->syn = 1; in tcp_make_synack() 3206 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn) in tcp_send_syn_data() argument 3247 memcpy(syn_data->cb, syn->cb, sizeof(syn->cb)); in tcp_send_syn_data() 3269 syn->skb_mstamp = syn_data->skb_mstamp; in tcp_send_syn_data() 3288 err = tcp_transmit_skb(sk, syn, 1, sk->sk_allocation); in tcp_send_syn_data()
|
D | tcp_ipv4.c | 627 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset() 1377 if (!th->syn) in tcp_v4_cookie_check() 1608 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_rcv()
|
/net/ipv6/netfilter/ |
D | ip6t_SYNPROXY.c | 292 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6() 310 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6() 364 if (!th->syn || th->ack || in ipv6_synproxy_hook() 381 if (!th->syn && th->ack && in ipv6_synproxy_hook() 399 if (!th->syn || !th->ack) in ipv6_synproxy_hook()
|
D | nf_reject_ipv6.c | 111 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
|
/net/netfilter/ipvs/ |
D | ip_vs_proto_tcp.c | 51 if (th->rst || !(sysctl_sloppy_tcp(ipvs) || th->syn)) in tcp_conn_schedule() 484 if (th->syn) in tcp_state_idx() 529 th->syn ? 'S' : '.', in set_tcp_state()
|
D | ip_vs_core.c | 1066 return th->syn; in is_new_conn()
|
/net/netfilter/ |
D | nf_log_common.c | 103 if (th->syn) in nf_log_dump_tcp_header()
|
D | xt_TPROXY.c | 265 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait4() 427 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait6()
|
D | nf_conntrack_proto_tcp.c | 328 else if (tcph->syn) return (tcph->ack ? TCP_SYNACK_SET : TCP_SYN_SET); in get_conntrack_index() 371 + (tcph->syn ? 1 : 0) + (tcph->fin ? 1 : 0)); in segment_seq_plus_len() 554 if (tcph->syn) { in tcp_in_window() 660 if (!tcph->syn) in tcp_in_window() 1053 (th->syn ? 1 : 0), (th->ack ? 1 : 0), in tcp_packet()
|
D | xt_osf.c | 219 if (!tcp->syn) in xt_osf_match_packet()
|
/net/ipv6/ |
D | tcp_ipv6.c | 920 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset() 984 if (!th->syn) in tcp_v6_cookie_check() 1384 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
|