/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste.h | 41 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \ 42 MLX5_SET(ste_##lookup_type, tag, tcp_cwr, !!((spec)->tcp_flags & (1 << 7))); \ 43 MLX5_SET(ste_##lookup_type, tag, tcp_ece, !!((spec)->tcp_flags & (1 << 6))); \ 44 MLX5_SET(ste_##lookup_type, tag, tcp_urg, !!((spec)->tcp_flags & (1 << 5))); \ 45 MLX5_SET(ste_##lookup_type, tag, tcp_ack, !!((spec)->tcp_flags & (1 << 4))); \ 46 MLX5_SET(ste_##lookup_type, tag, tcp_psh, !!((spec)->tcp_flags & (1 << 3))); \ 47 MLX5_SET(ste_##lookup_type, tag, tcp_rst, !!((spec)->tcp_flags & (1 << 2))); \ 48 MLX5_SET(ste_##lookup_type, tag, tcp_syn, !!((spec)->tcp_flags & (1 << 1))); \ 49 MLX5_SET(ste_##lookup_type, tag, tcp_fin, !!((spec)->tcp_flags & (1 << 0))); \
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | test_tcp_hdr_options.c | 353 __u8 tcp_flags = skops_tcp_flags(skops); in handle_hdr_opt_len() local 355 if ((tcp_flags & TCPHDR_SYNACK) == TCPHDR_SYNACK) in handle_hdr_opt_len() 358 if (tcp_flags & TCPHDR_SYN) in handle_hdr_opt_len() 361 if (tcp_flags & TCPHDR_FIN) in handle_hdr_opt_len() 376 __u8 tcp_flags = skops_tcp_flags(skops); in handle_write_hdr_opt() local 379 if ((tcp_flags & TCPHDR_SYNACK) == TCPHDR_SYNACK) in handle_write_hdr_opt() 382 if (tcp_flags & TCPHDR_SYN) in handle_write_hdr_opt() 385 if (tcp_flags & TCPHDR_FIN) in handle_write_hdr_opt()
|
D | test_misc_tcp_hdr_options.c | 244 __u8 tcp_flags = skops_tcp_flags(skops); in handle_hdr_opt_len() local 246 if ((tcp_flags & TCPHDR_SYNACK) == TCPHDR_SYNACK) in handle_hdr_opt_len()
|
/Linux-v5.15/net/ipv4/ |
D | tcp_output.c | 313 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_CWR; in tcp_ecn_send_synack() 315 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_ECE; in tcp_ecn_send_synack() 339 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_ECE | TCPHDR_CWR; in tcp_ecn_send_syn() 352 TCP_SKB_CB(skb)->tcp_flags &= ~(TCPHDR_ECE | TCPHDR_CWR); in tcp_ecn_clear_syn() 396 TCP_SKB_CB(skb)->tcp_flags = flags; in tcp_init_nondata_skb() 1282 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) { in __tcp_transmit_skb() 1296 tcb->tcp_flags |= TCPHDR_PSH; in __tcp_transmit_skb() 1333 tcb->tcp_flags); in __tcp_transmit_skb() 1350 if (likely(!(tcb->tcp_flags & TCPHDR_SYN))) { in __tcp_transmit_skb() 1378 if (likely(tcb->tcp_flags & TCPHDR_ACK)) in __tcp_transmit_skb() [all …]
|
D | tcp_fastopen.c | 200 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_SYN; in tcp_fastopen_add_skb() 211 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_fastopen_add_skb() 568 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_fastopen_active_disable_ofo_check()
|
D | tcp_ipv4.c | 1844 ((TCP_SKB_CB(tail)->tcp_flags | in tcp_add_backlog() 1845 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_SYN | TCPHDR_RST | TCPHDR_URG)) || in tcp_add_backlog() 1846 !((TCP_SKB_CB(tail)->tcp_flags & in tcp_add_backlog() 1847 TCP_SKB_CB(skb)->tcp_flags) & TCPHDR_ACK) || in tcp_add_backlog() 1848 ((TCP_SKB_CB(tail)->tcp_flags ^ in tcp_add_backlog() 1849 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_ECE | TCPHDR_CWR)) || in tcp_add_backlog() 1884 TCP_SKB_CB(tail)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_add_backlog() 1948 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v4_fill_cb()
|
D | tcp.c | 649 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_PSH; in tcp_mark_push() 665 tcb->tcp_flags = TCPHDR_ACK; in skb_entail() 1068 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in do_tcp_sendpages() 1389 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in tcp_sendmsg_locked() 1608 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recv_skb() 1612 if (offset < skb->len || (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) { in tcp_recv_skb() 1685 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_read_sock() 2371 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recvmsg_locked() 2377 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg_locked() 2500 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg_locked() [all …]
|
D | tcp_input.c | 1485 TCP_SKB_CB(prev)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_shifted_skb() 1487 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_shifted_skb() 3289 if (likely(!(scb->tcp_flags & TCPHDR_SYN))) { in tcp_clean_rtx_queue() 4650 TCP_SKB_CB(to)->tcp_flags |= TCP_SKB_CB(from)->tcp_flags; in tcp_try_coalesce() 4718 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in tcp_ofo_queue() 5019 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_data_queue() 5159 if (!(TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN)) && in tcp_collapse() 5176 (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()
|
/Linux-v5.15/net/openvswitch/ |
D | flow.h | 204 __be16 tcp_flags; /* Union of seen TCP flags. */ member 267 void ovs_flow_stats_update(struct sw_flow *, __be16 tcp_flags, 270 unsigned long *used, __be16 *tcp_flags);
|
D | flow.c | 59 void ovs_flow_stats_update(struct sw_flow *flow, __be16 tcp_flags, in ovs_flow_stats_update() argument 103 new_stats->tcp_flags = tcp_flags; in ovs_flow_stats_update() 119 stats->tcp_flags |= tcp_flags; in ovs_flow_stats_update() 127 unsigned long *used, __be16 *tcp_flags) in ovs_flow_stats_get() argument 132 *tcp_flags = 0; in ovs_flow_stats_get() 146 *tcp_flags |= stats->tcp_flags; in ovs_flow_stats_get() 168 stats->tcp_flags = 0; in ovs_flow_stats_clear()
|
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 224 u16 tcp_flags, tcp_flags_mask; in nfp_flower_compile_ip_ext() local 228 tcp_flags = be16_to_cpu(match.key->flags); in nfp_flower_compile_ip_ext() 231 if (tcp_flags & TCPHDR_FIN) in nfp_flower_compile_ip_ext() 236 if (tcp_flags & TCPHDR_SYN) in nfp_flower_compile_ip_ext() 241 if (tcp_flags & TCPHDR_RST) in nfp_flower_compile_ip_ext() 246 if (tcp_flags & TCPHDR_PSH) in nfp_flower_compile_ip_ext() 251 if (tcp_flags & TCPHDR_URG) in nfp_flower_compile_ip_ext()
|
D | offload.c | 478 u32 tcp_flags; in nfp_flower_calculate_key_layers() local 481 tcp_flags = be16_to_cpu(tcp.key->flags); in nfp_flower_calculate_key_layers() 483 if (tcp_flags & ~NFP_FLOWER_SUPPORTED_TCPFLAGS) { in nfp_flower_calculate_key_layers() 491 if ((tcp_flags & (TCPHDR_PSH | TCPHDR_URG)) && in nfp_flower_calculate_key_layers() 492 !(tcp_flags & (TCPHDR_FIN | TCPHDR_SYN | TCPHDR_RST))) { in nfp_flower_calculate_key_layers()
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | tx_tso.c | 292 u8 tcp_flags_mask, tcp_flags; in tso_start_new_packet() local 307 tcp_flags = ((u8 *)tcp_hdr(skb))[TCP_FLAGS_OFFSET] & ~tcp_flags_mask; in tso_start_new_packet() 316 ESF_DZ_TX_TSO_TCP_FLAGS, tcp_flags, in tso_start_new_packet()
|
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/ |
D | qed_nvmetcp.h | 59 u16 tcp_flags; member
|
D | qed_nvmetcp.c | 327 p_tcp->flags = cpu_to_le16(p_conn->tcp_flags); in qed_sp_nvmetcp_conn_offload() 695 SET_FIELD(con->tcp_flags, TCP_OFFLOAD_PARAMS_OPT2_TS_EN, 1); in qed_nvmetcp_offload_conn() 698 SET_FIELD(con->tcp_flags, TCP_OFFLOAD_PARAMS_OPT2_DA_EN, 1); in qed_nvmetcp_offload_conn() 701 SET_FIELD(con->tcp_flags, TCP_OFFLOAD_PARAMS_OPT2_KA_EN, 1); in qed_nvmetcp_offload_conn() 704 SET_FIELD(con->tcp_flags, TCP_OFFLOAD_PARAMS_OPT2_ECN_EN, 1); in qed_nvmetcp_offload_conn()
|
D | qed_iwarp.h | 76 u8 tcp_flags; member
|
D | qed_iscsi.c | 66 u16 tcp_flags; member 345 p_tcp->flags = cpu_to_le16(p_conn->tcp_flags); in qed_sp_iscsi_conn_offload() 416 p_tcp2->flags = cpu_to_le16(p_conn->tcp_flags); in qed_sp_iscsi_conn_offload() 1233 con->tcp_flags = conn_info->tcp_flags; in qed_iscsi_offload_conn()
|
D | qed_iwarp.c | 631 u8 tcp_flags; in qed_iwarp_tcp_offload() local 682 tcp_flags = p_hwfn->p_rdma_info->iwarp.tcp_flags; in qed_iwarp_tcp_offload() 685 !!(tcp_flags & QED_IWARP_TS_EN)); in qed_iwarp_tcp_offload() 688 !!(tcp_flags & QED_IWARP_DA_EN)); in qed_iwarp_tcp_offload() 2819 iwarp_info->tcp_flags = QED_IWARP_TS_EN; in qed_iwarp_setup()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 140 PRINT_MASKED_VAL_L2(u16, tcp_flags, tcp_flags, p, "%x"); in print_lyr_2_4_hdrs()
|
/Linux-v5.15/include/linux/qed/ |
D | qed_iscsi_if.h | 62 u8 tcp_flags; member
|
/Linux-v5.15/net/mptcp/ |
D | options.c | 36 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in mptcp_parse_option() 42 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_ACK) in mptcp_parse_option() 332 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) in mptcp_parse_option() 824 if (unlikely(skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) { in mptcp_established_options()
|
D | subflow.c | 951 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) in get_mapping_status() 955 TCP_SKB_CB(skb)->tcp_flags); in get_mapping_status() 1074 bool fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in mptcp_subflow_discard_data()
|
/Linux-v5.15/drivers/net/ethernet/broadcom/ |
D | cnic.c | 2068 if (kwqe1->tcp_flags & L4_KWQ_CONNECT_REQ1_NAGLE_ENABLE) in cnic_init_storm_conn_bufs() 3470 u8 tcp_flags = 0; in cnic_cm_conn_req() local 3529 if (csk->tcp_flags & SK_TCP_NO_DELAY_ACK) in cnic_cm_conn_req() 3530 tcp_flags |= L4_KWQ_CONNECT_REQ1_NO_DELAY_ACK; in cnic_cm_conn_req() 3531 if (csk->tcp_flags & SK_TCP_KEEP_ALIVE) in cnic_cm_conn_req() 3532 tcp_flags |= L4_KWQ_CONNECT_REQ1_KEEP_ALIVE; in cnic_cm_conn_req() 3533 if (csk->tcp_flags & SK_TCP_NAGLE) in cnic_cm_conn_req() 3534 tcp_flags |= L4_KWQ_CONNECT_REQ1_NAGLE_ENABLE; in cnic_cm_conn_req() 3535 if (csk->tcp_flags & SK_TCP_TIMESTAMP) in cnic_cm_conn_req() 3536 tcp_flags |= L4_KWQ_CONNECT_REQ1_TIME_STAMP; in cnic_cm_conn_req() [all …]
|
D | cnic_if.h | 286 unsigned long tcp_flags; member
|
/Linux-v5.15/drivers/scsi/qedi/ |
D | qedi_iscsi.c | 544 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_TS_EN, 1); in qedi_iscsi_offload_conn() 545 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_DA_EN, 1); in qedi_iscsi_offload_conn() 546 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_DA_CNT_EN, 1); in qedi_iscsi_offload_conn() 547 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_KA_EN, 1); in qedi_iscsi_offload_conn()
|