summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikhail Kshevetskiy <[email protected]>2024-12-28 13:46:31 +0300
committerTom Rini <[email protected]>2024-12-28 11:59:42 -0600
commit82bf3aafa6378f1fdb3b9e3daca74db6aac38ed3 (patch)
tree0d48229d2a645d35ad1691dea0b2486aa2974c45 /include
parent2b1774987031d6f30fb773bd84e91884f35fbc8d (diff)
net/tcp: rename ack_edge and seq_init to more common rcv_nxt and irs
Use the names from RFC 9293 Signed-off-by: Mikhail Kshevetskiy <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/net/tcp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index f224d0cae2f..0694af9d5b1 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -285,8 +285,8 @@ enum tcp_state {
*
* @state: TCP connection state
*
- * @seq_init: Initial receive sequence number
- * @ack_edge: Receive next
+ * @irs: Initial receive sequence number
+ * @rcv_nxt: Receive next
*
* @loc_timestamp: Local timestamp
* @rmt_timestamp: Remote timestamp
@@ -301,8 +301,8 @@ struct tcp_stream {
/* TCP connection state */
enum tcp_state state;
- u32 seq_init;
- u32 ack_edge;
+ u32 irs;
+ u32 rcv_nxt;
/* TCP option timestamp */
u32 loc_timestamp;