/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 1283 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) { in __tcp_transmit_skb() 1297 tcb->tcp_flags |= TCPHDR_PSH; in __tcp_transmit_skb() 1335 tcb->tcp_flags); in __tcp_transmit_skb() 1353 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 | 211 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_SYN; in tcp_fastopen_add_skb() 222 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_fastopen_add_skb() 582 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_fastopen_active_disable_ofo_check()
|
D | tcp_ipv4.c | 1826 ((TCP_SKB_CB(tail)->tcp_flags | in tcp_add_backlog() 1827 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_SYN | TCPHDR_RST | TCPHDR_URG)) || in tcp_add_backlog() 1828 !((TCP_SKB_CB(tail)->tcp_flags & in tcp_add_backlog() 1829 TCP_SKB_CB(skb)->tcp_flags) & TCPHDR_ACK) || in tcp_add_backlog() 1830 ((TCP_SKB_CB(tail)->tcp_flags ^ in tcp_add_backlog() 1831 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_ECE | TCPHDR_CWR)) || in tcp_add_backlog() 1866 TCP_SKB_CB(tail)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_add_backlog() 1932 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v4_fill_cb()
|
D | tcp.c | 664 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_PSH; in tcp_mark_push() 680 tcb->tcp_flags = TCPHDR_ACK; in skb_entail() 1068 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in do_tcp_sendpages() 1390 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in tcp_sendmsg_locked() 1613 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recv_skb() 1617 if (offset < skb->len || (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) { in tcp_recv_skb() 1692 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_read_sock() 2196 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recvmsg() 2202 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg() 2325 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg() [all …]
|
D | tcp_input.c | 1478 TCP_SKB_CB(prev)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_shifted_skb() 1480 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() 4653 TCP_SKB_CB(to)->tcp_flags |= TCP_SKB_CB(from)->tcp_flags; in tcp_try_coalesce() 4721 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in tcp_ofo_queue() 5024 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_data_queue() 5164 if (!(TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN)) && in tcp_collapse() 5181 (TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN))) in tcp_collapse() 5225 (TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN))) in tcp_collapse()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 185 u16 tcp_flags, tcp_flags_mask; in nfp_flower_compile_ip_ext() local 189 tcp_flags = be16_to_cpu(match.key->flags); in nfp_flower_compile_ip_ext() 192 if (tcp_flags & TCPHDR_FIN) in nfp_flower_compile_ip_ext() 197 if (tcp_flags & TCPHDR_SYN) in nfp_flower_compile_ip_ext() 202 if (tcp_flags & TCPHDR_RST) in nfp_flower_compile_ip_ext() 207 if (tcp_flags & TCPHDR_PSH) in nfp_flower_compile_ip_ext() 212 if (tcp_flags & TCPHDR_URG) in nfp_flower_compile_ip_ext()
|
D | offload.c | 480 u32 tcp_flags; in nfp_flower_calculate_key_layers() local 483 tcp_flags = be16_to_cpu(tcp.key->flags); in nfp_flower_calculate_key_layers() 485 if (tcp_flags & ~NFP_FLOWER_SUPPORTED_TCPFLAGS) { in nfp_flower_calculate_key_layers() 493 if ((tcp_flags & (TCPHDR_PSH | TCPHDR_URG)) && in nfp_flower_calculate_key_layers() 494 !(tcp_flags & (TCPHDR_FIN | TCPHDR_SYN | TCPHDR_RST))) { in nfp_flower_calculate_key_layers()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste.c | 42 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \ 43 MLX5_SET(ste_##lookup_type, tag, tcp_cwr, !!((spec)->tcp_flags & (1 << 7))); \ 44 MLX5_SET(ste_##lookup_type, tag, tcp_ece, !!((spec)->tcp_flags & (1 << 6))); \ 45 MLX5_SET(ste_##lookup_type, tag, tcp_urg, !!((spec)->tcp_flags & (1 << 5))); \ 46 MLX5_SET(ste_##lookup_type, tag, tcp_ack, !!((spec)->tcp_flags & (1 << 4))); \ 47 MLX5_SET(ste_##lookup_type, tag, tcp_psh, !!((spec)->tcp_flags & (1 << 3))); \ 48 MLX5_SET(ste_##lookup_type, tag, tcp_rst, !!((spec)->tcp_flags & (1 << 2))); \ 49 MLX5_SET(ste_##lookup_type, tag, tcp_syn, !!((spec)->tcp_flags & (1 << 1))); \ 50 MLX5_SET(ste_##lookup_type, tag, tcp_fin, !!((spec)->tcp_flags & (1 << 0))); \ 882 spec->tcp_flags = MLX5_GET(fte_match_set_lyr_2_4, mask, tcp_flags); in dr_ste_copy_mask_spec() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | tcp_nip_output.c | 350 TCP_SKB_CB(skb)->tcp_flags = flags; in tcp_nip_init_nondata_skb() 524 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) in __tcp_nip_transmit_skb() 558 tcb->tcp_flags); in __tcp_nip_transmit_skb() 569 if (likely(!(tcb->tcp_flags & TCPHDR_SYN))) in __tcp_nip_transmit_skb() 574 ack = tcb->tcp_flags & TCPHDR_ACK; in __tcp_nip_transmit_skb() 583 if (likely(tcb->tcp_flags & TCPHDR_ACK)) in __tcp_nip_transmit_skb() 999 TCP_SKB_CB(tskb)->tcp_flags |= TCPHDR_FIN; in tcp_nip_send_fin() 1308 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_PSH; in tcp_nip_write_wakeup()
|
D | tcp_nip.c | 521 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_nip_close() 1420 tcb->tcp_flags = TCPHDR_ACK; in skb_nip_entail() 1545 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in tcp_nip_sendmsg() 1698 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_nip_recvmsg() 1704 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_nip_recvmsg() 1792 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_nip_recvmsg() 1901 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_nip_fill_cb()
|
D | tcp_nip_input.c | 274 TCP_SKB_CB(to)->tcp_flags |= TCP_SKB_CB(from)->tcp_flags; in tcp_nip_try_coalesce() 339 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in tcp_nip_ofo_queue() 612 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_nip_data_queue() 808 if (likely(!(scb->tcp_flags & TCPHDR_SYN))) { in tcp_nip_clean_rtx_queue()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | qed_iscsi_if.h | 62 u8 tcp_flags; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
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()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | options.c | 33 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in mptcp_parse_option() 39 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_ACK) in mptcp_parse_option() 666 if (unlikely(skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) in mptcp_established_options()
|
D | subflow.c | 746 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) in get_mapping_status() 750 TCP_SKB_CB(skb)->tcp_flags); in get_mapping_status() 862 bool fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in mptcp_subflow_discard_data()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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()
|