Home
last modified time | relevance | path

Searched refs:fin (Results 1 – 23 of 23) sorted by relevance

/net/ipv4/netfilter/
Dipt_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
51 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
Dnf_tproxy_ipv4.c31 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in nf_tproxy_handle_time_wait4()
Dnf_reject_ipv4.c208 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
/net/ipv6/netfilter/
Dip6t_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
52 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
Dnf_tproxy_ipv6.c54 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in nf_tproxy_handle_time_wait6()
Dnf_reject_ipv6.c241 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
/net/core/
Dtso.c43 tcph->fin = 0; in tso_build_hdr()
Dfilter.c7235 if (!th->syn || th->ack || th->fin || th->rst) in BPF_CALL_5()
/net/netfilter/ipvs/
Dip_vs_proto_tcp.c504 if (th->fin) in tcp_state_idx()
548 th->fin ? 'F' : '.', in set_tcp_state()
/net/netfilter/
Dnf_conntrack_proto_tcp.c279 else if (tcph->fin) return TCP_FIN_SET; in get_conntrack_index()
321 + (tcph->syn ? 1 : 0) + (tcph->fin ? 1 : 0)); in segment_seq_plus_len()
1241 (th->fin ? 1 : 0), (th->rst ? 1 : 0), in nf_conntrack_tcp_packet()
Dnft_flow_offload.c316 if (unlikely(!tcph || tcph->fin || tcph->rst || in nft_flow_offload_eval()
Dnf_flow_table_ip.c30 if (unlikely(tcph->fin || tcph->rst)) { in nf_flow_state_check()
Dnf_log_syslog.c234 if (th->fin) in nf_log_dump_tcp_header()
/net/ipv4/
Dtcp_offload.c125 th->fin = th->psh = 0; in tcp_gso_segment()
Dtcp_input.c4747 bool fin, fragstolen, eaten; in tcp_ofo_queue() local
4774 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in tcp_ofo_queue()
4780 if (unlikely(fin)) { in tcp_ofo_queue()
6489 if (th->fin) { in tcp_rcv_state_process()
6628 after(TCP_SKB_CB(skb)->end_seq - th->fin, tp->rcv_nxt)) { in tcp_rcv_state_process()
6630 if (tp->syn_fastopen && th->fin) in tcp_rcv_state_process()
6640 } else if (th->fin || sock_owned_by_user(sk)) { in tcp_rcv_state_process()
6696 after(TCP_SKB_CB(skb)->end_seq - th->fin, tp->rcv_nxt)) { in tcp_rcv_state_process()
Dtcp_ipv4.c719 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset()
1852 thtail->fin |= th->fin; in tcp_add_backlog()
1917 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v4_fill_cb()
Dtcp_minisocks.c133 if (!th->fin || in tcp_timewait_state_process()
/net/smc/
Dsmc_core.c959 union smc_host_cursor cons, fin; in smc_switch_cursor() local
964 smc_curs_copy(&fin, &conn->local_tx_ctrl_fin, conn); in smc_switch_cursor()
966 smc_curs_copy(&conn->local_tx_ctrl.prod, &fin, conn); in smc_switch_cursor()
969 if (smc_curs_comp(conn->peer_rmbe_size, &cons, &fin) < 0) { in smc_switch_cursor()
973 diff = smc_curs_diff(conn->peer_rmbe_size, &fin, &cons); in smc_switch_cursor()
/net/mptcp/
Dsubflow.c1103 bool fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in mptcp_subflow_discard_data() local
1106 incr = limit >= skb->len ? skb->len + fin : limit; in mptcp_subflow_discard_data()
Dprotocol.c660 bool fin; in __mptcp_move_skbs_from_subflow() local
687 fin = TCP_SKB_CB(skb)->tcp_flags & TCPHDR_FIN; in __mptcp_move_skbs_from_subflow()
688 if (fin) { in __mptcp_move_skbs_from_subflow()
706 WARN_ON_ONCE(!fin); in __mptcp_move_skbs_from_subflow()
/net/sched/
Dsch_htb.c953 goto fin; in htb_dequeue()
988 fin: in htb_dequeue()
Dact_ct.c692 if (tcph && (unlikely(tcph->fin || tcph->rst))) { in tcf_ct_flow_table_lookup()
/net/ipv6/
Dtcp_ipv6.c1056 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
1580 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()