Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_output.c310 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_CWR; in tcp_ecn_send_synack()
312 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_ECE; in tcp_ecn_send_synack()
336 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_ECE | TCPHDR_CWR; in tcp_ecn_send_syn()
349 TCP_SKB_CB(skb)->tcp_flags &= ~(TCPHDR_ECE | TCPHDR_CWR); in tcp_ecn_clear_syn()
393 TCP_SKB_CB(skb)->tcp_flags = flags; in tcp_init_nondata_skb()
1279 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) { in __tcp_transmit_skb()
1293 tcb->tcp_flags |= TCPHDR_PSH; in __tcp_transmit_skb()
1330 tcb->tcp_flags); in __tcp_transmit_skb()
1347 if (likely(!(tcb->tcp_flags & TCPHDR_SYN))) { in __tcp_transmit_skb()
1375 if (likely(tcb->tcp_flags & TCPHDR_ACK)) in __tcp_transmit_skb()
[all …]
Dtcp_fastopen.c200 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()
571 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_fastopen_active_disable_ofo_check()
Dtcp_ipv4.c1857 ((TCP_SKB_CB(tail)->tcp_flags | in tcp_add_backlog()
1858 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_SYN | TCPHDR_RST | TCPHDR_URG)) || in tcp_add_backlog()
1859 !((TCP_SKB_CB(tail)->tcp_flags & in tcp_add_backlog()
1860 TCP_SKB_CB(skb)->tcp_flags) & TCPHDR_ACK) || in tcp_add_backlog()
1861 ((TCP_SKB_CB(tail)->tcp_flags ^ in tcp_add_backlog()
1862 TCP_SKB_CB(skb)->tcp_flags) & (TCPHDR_ECE | TCPHDR_CWR)) || in tcp_add_backlog()
1898 TCP_SKB_CB(tail)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_add_backlog()
1964 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v4_fill_cb()
Dtcp.c654 TCP_SKB_CB(skb)->tcp_flags |= TCPHDR_PSH; in tcp_mark_push()
670 tcb->tcp_flags = TCPHDR_ACK; in tcp_skb_entail()
1076 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in do_tcp_sendpages()
1392 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in tcp_sendmsg_locked()
1609 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recv_skb()
1613 if (offset < skb->len || (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) { in tcp_recv_skb()
1688 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) { in tcp_read_sock()
2387 if (unlikely(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_SYN)) { in tcp_recvmsg_locked()
2393 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg_locked()
2516 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_recvmsg_locked()
[all …]
Dtcp_input.c258 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_PSH) in tcp_measure_rcv_mss()
1499 TCP_SKB_CB(prev)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags; in tcp_shifted_skb()
1501 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_shifted_skb()
3325 if (likely(!(scb->tcp_flags & TCPHDR_SYN))) { in tcp_clean_rtx_queue()
4699 TCP_SKB_CB(to)->tcp_flags |= TCP_SKB_CB(from)->tcp_flags; in tcp_try_coalesce()
4768 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in tcp_ofo_queue()
5069 if (TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN) in tcp_data_queue()
5209 if (!(TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN)) && in tcp_collapse()
5226 (TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN))) in tcp_collapse()
5270 (TCP_SKB_CB(skb)->tcp_flags & (TCPHDR_SYN | TCPHDR_FIN))) in tcp_collapse()
/net/openvswitch/
Dflow.c60 void ovs_flow_stats_update(struct sw_flow *flow, __be16 tcp_flags, in ovs_flow_stats_update() argument
104 new_stats->tcp_flags = tcp_flags; in ovs_flow_stats_update()
120 stats->tcp_flags |= tcp_flags; in ovs_flow_stats_update()
128 unsigned long *used, __be16 *tcp_flags) in ovs_flow_stats_get() argument
133 *tcp_flags = 0; in ovs_flow_stats_get()
147 *tcp_flags |= stats->tcp_flags; in ovs_flow_stats_get()
169 stats->tcp_flags = 0; in ovs_flow_stats_clear()
Dflow.h204 __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);
Ddatapath.c782 __be16 tcp_flags; in ovs_flow_cmd_fill_stats() local
785 ovs_flow_stats_get(flow, &stats, &used, &tcp_flags); in ovs_flow_cmd_fill_stats()
798 if ((u8)ntohs(tcp_flags) && in ovs_flow_cmd_fill_stats()
799 nla_put_u8(skb, OVS_FLOW_ATTR_TCP_FLAGS, (u8)ntohs(tcp_flags))) in ovs_flow_cmd_fill_stats()
/net/mptcp/
Doptions.c36 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()
333 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) in mptcp_parse_option()
810 if (unlikely(skb && TCP_SKB_CB(skb)->tcp_flags & TCPHDR_RST)) { in mptcp_established_options()
Dsubflow.c975 if (!(TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN)) in get_mapping_status()
979 TCP_SKB_CB(skb)->tcp_flags); in get_mapping_status()
1098 bool fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in mptcp_subflow_discard_data()
Dprotocol.c611 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in __mptcp_move_skbs_from_subflow()
1416 TCP_SKB_CB(skb)->tcp_flags &= ~TCPHDR_PSH; in mptcp_sendmsg_frag()
/net/ipv6/
Dtcp_ipv6.c1619 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb()
/net/core/
Dfilter.c9909 off += offsetof(struct tcp_skb_cb, tcp_flags); in sock_ops_convert_ctx_access()
9910 *target_size = sizeof_field(struct tcp_skb_cb, tcp_flags); in sock_ops_convert_ctx_access()
9918 tcp_flags), in sock_ops_convert_ctx_access()