1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */
4 /* Define states of a socket to tracking messages sending to and from the
7 * These states are based on rfc9293 with some modifications to support
8 * tracking of messages sent out from a socket. For example, when a SYN is
9 * received, a new socket is transiting to the SYN_RECV state defined in
10 * rfc9293. But, we put it in SYN_RECV_SENDING_SYN_ACK state and when
11 * SYN-ACK is sent out, it moves to SYN_RECV state. With this modification,
12 * we can track the message sent out from a socket.
15 #ifndef __CGROUP_TCP_SKB_H__
16 #define __CGROUP_TCP_SKB_H__
22 SYN_RECV_SENDING_SYN_ACK
,
27 CLOSE_WAIT_SENDING_ACK
,
31 TIME_WAIT_SENDING_ACK
,
35 #endif /* __CGROUP_TCP_SKB_H__ */