/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A 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-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A 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()
|
A D | test_misc_tcp_hdr_options.c | 248 __u8 tcp_flags = skops_tcp_flags(skops); in handle_hdr_opt_len() local 250 if ((tcp_flags & TCPHDR_SYNACK) == TCPHDR_SYNACK) in handle_hdr_opt_len()
|
/linux-6.3-rc2/net/ipv4/ |
A D | tcp_output.c | 311 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_CWR; in tcp_ecn_send_synack() 394 TCP_SKB_CB(skb)->tcp_flags = flags; in tcp_init_nondata_skb() 1290 tcb->tcp_flags |= TCPHDR_PSH; in __tcp_transmit_skb() 1327 tcb->tcp_flags); in __tcp_transmit_skb() 1581 flags = TCP_SKB_CB(skb)->tcp_flags; in tcp_fragment() 1583 TCP_SKB_CB(buff)->tcp_flags = flags; in tcp_fragment() 2150 flags = TCP_SKB_CB(skb)->tcp_flags; in tso_fragment() 2152 TCP_SKB_CB(buff)->tcp_flags = flags; in tso_fragment() 2423 TCP_SKB_CB(nskb)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_mtu_probe() 2432 TCP_SKB_CB(nskb)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags & in tcp_mtu_probe() [all …]
|
A D | tcp_fastopen.c | 194 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_SYN; in tcp_fastopen_add_skb() 205 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_fastopen_add_skb() 564 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_fastopen_active_disable_ofo_check()
|
A D | tcp.c | 647 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_PSH; in tcp_mark_push() 662 tcb->tcp_flags = TCPHDR_ACK; in tcp_skb_entail() 1082 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in do_tcp_sendpages() 1417 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in tcp_sendmsg_locked() 1731 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_read_sock() 1766 u8 tcp_flags; in tcp_read_skb() local 1771 tcp_flags = TCP_SKB_CB(skb)->tcp_flags; in tcp_read_skb() 1782 if (tcp_flags & TCPHDR_FIN) { in tcp_read_skb() 2511 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg_locked() 2632 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg_locked() [all …]
|
A D | tcp_ipv4.c | 1856 ((TCP_SKB_CB(tail)->tcp_flags | in tcp_add_backlog() 1857 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_SYN | TCPHDR_RST | TCPHDR_URG)) || in tcp_add_backlog() 1858 !((TCP_SKB_CB(tail)->tcp_flags & in tcp_add_backlog() 1859 TCP_SKB_CB(skb)->tcp_flags) & TCPHDR_ACK) || in tcp_add_backlog() 1860 ((TCP_SKB_CB(tail)->tcp_flags ^ in tcp_add_backlog() 1861 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_ECE | TCPHDR_CWR)) || in tcp_add_backlog() 1896 TCP_SKB_CB(tail)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_add_backlog() 1963 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v4_fill_cb()
|
/linux-6.3-rc2/net/openvswitch/ |
A D | flow.h | 218 __be16 tcp_flags; /* Union of seen TCP flags. */ member 281 void ovs_flow_stats_update(struct sw_flow *, __be16 tcp_flags, 284 unsigned long *used, __be16 *tcp_flags);
|
A D | flow.c | 61 void ovs_flow_stats_update(struct sw_flow *flow, __be16 tcp_flags, in ovs_flow_stats_update() argument 105 new_stats->tcp_flags = tcp_flags; in ovs_flow_stats_update() 122 stats->tcp_flags |= tcp_flags; in ovs_flow_stats_update() 130 unsigned long *used, __be16 *tcp_flags) in ovs_flow_stats_get() argument 135 *tcp_flags = 0; in ovs_flow_stats_get() 150 *tcp_flags |= stats->tcp_flags; in ovs_flow_stats_get() 173 stats->tcp_flags = 0; in ovs_flow_stats_clear()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/ |
A D | match.c | 236 u16 tcp_flags, tcp_flags_mask; in nfp_flower_compile_ip_ext() local 240 tcp_flags = be16_to_cpu(match.key->flags); in nfp_flower_compile_ip_ext() 243 if (tcp_flags & TCPHDR_FIN) in nfp_flower_compile_ip_ext() 248 if (tcp_flags & TCPHDR_SYN) in nfp_flower_compile_ip_ext() 253 if (tcp_flags & TCPHDR_RST) in nfp_flower_compile_ip_ext() 258 if (tcp_flags & TCPHDR_PSH) in nfp_flower_compile_ip_ext() 263 if (tcp_flags & TCPHDR_URG) in nfp_flower_compile_ip_ext()
|
A 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-6.3-rc2/drivers/net/ethernet/sfc/ |
A 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()
|
A D | tc.h | 46 __be16 tcp_flags; member
|
A D | mae.c | 430 CHECK(TCP_FLAGS, tcp_flags) || in efx_mae_match_check_caps() 925 match->value.tcp_flags); in efx_mae_populate_match_criteria() 927 match->mask.tcp_flags); in efx_mae_populate_match_criteria()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_nvmetcp.h | 59 u16 tcp_flags; member
|
A 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()
|
A D | qed_iwarp.h | 76 u8 tcp_flags; member
|
A D | qed_iscsi.c | 67 u16 tcp_flags; member 346 p_tcp->flags = cpu_to_le16(p_conn->tcp_flags); in qed_sp_iscsi_conn_offload() 417 p_tcp2->flags = cpu_to_le16(p_conn->tcp_flags); in qed_sp_iscsi_conn_offload() 1232 con->tcp_flags = conn_info->tcp_flags; in qed_iscsi_offload_conn()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
A D | fs_tracepoint.c | 140 PRINT_MASKED_VAL_L2(u16, tcp_flags, tcp_flags, p, "%x"); in print_lyr_2_4_hdrs()
|
/linux-6.3-rc2/include/linux/qed/ |
A D | qed_iscsi_if.h | 62 u8 tcp_flags; member
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | cnic.c | 3468 u8 tcp_flags = 0; in cnic_cm_conn_req() local 3527 if (csk->tcp_flags & SK_TCP_NO_DELAY_ACK) in cnic_cm_conn_req() 3529 if (csk->tcp_flags & SK_TCP_KEEP_ALIVE) in cnic_cm_conn_req() 3530 tcp_flags |= L4_KWQ_CONNECT_REQ1_KEEP_ALIVE; in cnic_cm_conn_req() 3531 if (csk->tcp_flags & SK_TCP_NAGLE) in cnic_cm_conn_req() 3533 if (csk->tcp_flags & SK_TCP_TIMESTAMP) in cnic_cm_conn_req() 3535 if (csk->tcp_flags & SK_TCP_SACK) in cnic_cm_conn_req() 3536 tcp_flags |= L4_KWQ_CONNECT_REQ1_SACK; in cnic_cm_conn_req() 3537 if (csk->tcp_flags & SK_TCP_SEG_SCALING) in cnic_cm_conn_req() 3540 l4kwqe1->tcp_flags = tcp_flags; in cnic_cm_conn_req() [all …]
|
A D | cnic_if.h | 286 unsigned long tcp_flags; member
|
/linux-6.3-rc2/net/mptcp/ |
A D | options.c | 37 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in mptcp_parse_option() 44 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_ACK) { in mptcp_parse_option() 338 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) in mptcp_parse_option() 839 if (unlikely(skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) { in mptcp_established_options()
|
/linux-6.3-rc2/drivers/scsi/qedi/ |
A D | qedi_iscsi.c | 545 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_TS_EN, 1); in qedi_iscsi_offload_conn() 546 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_DA_EN, 1); in qedi_iscsi_offload_conn() 547 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_DA_CNT_EN, 1); in qedi_iscsi_offload_conn() 548 SET_FIELD(conn_info->tcp_flags, TCP_OFFLOAD_PARAMS_KA_EN, 1); in qedi_iscsi_offload_conn()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | ct_fs_smfs.c | 79 MLX5_SET(fte_match_set_lyr_2_4, headers_c, tcp_flags, in mlx5_ct_fs_smfs_fill_mask()
|