Home
last modified time | relevance | path

Searched refs:TCPHDR_SYN (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_tcp_hdr_options.h42 #define TCPHDR_SYN 0x02 macro
49 #define TCPHDR_SYNACK (TCPHDR_SYN | TCPHDR_ACK)
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_tcp_hdr_options.c358 if (tcp_flags & TCPHDR_SYN) in handle_hdr_opt_len()
382 if (tcp_flags & TCPHDR_SYN) in handle_write_hdr_opt()
/linux-6.1.9/net/netfilter/
Dnf_conntrack_proto_tcp.c778 static const u8 tcp_valid_flags[(TCPHDR_FIN|TCPHDR_SYN|TCPHDR_RST|TCPHDR_ACK|
781 [TCPHDR_SYN] = 1,
782 [TCPHDR_SYN|TCPHDR_URG] = 1,
783 [TCPHDR_SYN|TCPHDR_ACK] = 1,
Dxt_TCPMSS.c256 tcpinfo->flg_cmp & TCPHDR_SYN && in find_syn_match()
/linux-6.1.9/net/ipv4/
Dtcp_output.c399 if (flags & (TCPHDR_SYN | TCPHDR_FIN)) in tcp_init_nondata_skb()
1279 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) { in __tcp_transmit_skb()
1347 if (likely(!(tcb->tcp_flags & TCPHDR_SYN))) { in __tcp_transmit_skb()
3112 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN) in tcp_retrans_try_collapse()
3216 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN) in __tcp_retransmit_skb()
3482 if (!skb || !(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_send_synack()
3586 TCP_SKB_CB(skb)->tcp_flags = TCPHDR_SYN | TCPHDR_ACK; in tcp_make_synack()
3859 tcp_init_nondata_skb(buff, tp->write_seq++, TCPHDR_SYN); in tcp_connect()
Dtcp_fastopen.c194 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_SYN; in tcp_fastopen_add_skb()
Dtcp_input.c3316 if (likely(!(scb->tcp_flags & TCPHDR_SYN))) { in tcp_clean_rtx_queue()
5203 if (!(TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN)) && in tcp_collapse()
5220 (TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN))) in tcp_collapse()
5264 (TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN))) in tcp_collapse()
Dtcp.c1651 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recv_skb()
2504 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recvmsg_locked()
Dtcp_ipv4.c1806 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_SYN | TCPHDR_RST | TCPHDR_URG)) || in tcp_add_backlog()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c248 if (tcp_flags & TCPHDR_SYN) in nfp_flower_compile_ip_ext()
250 if (tcp_flags_mask & TCPHDR_SYN) in nfp_flower_compile_ip_ext()
Doffload.c19 (TCPHDR_FIN | TCPHDR_SYN | TCPHDR_RST | \
492 !(tcp_flags & (TCPHDR_FIN | TCPHDR_SYN | TCPHDR_RST))) { in nfp_flower_calculate_key_layers()
/linux-6.1.9/include/net/
Dtcp.h841 #define TCPHDR_SYN 0x02 macro
849 #define TCPHDR_SYN_ECN (TCPHDR_SYN | TCPHDR_ECE | TCPHDR_CWR)
/linux-6.1.9/net/mptcp/
Doptions.c36 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in mptcp_parse_option()