From 7e12240af30426c7f72a6dffeaf2485e3248faf8 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Wed, 22 Mar 2017 23:32:17 +0100 Subject: [PATCH] Improve TCP documentation a bit --- src/core/tcp.c | 1 + src/include/lwip/tcp.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/core/tcp.c b/src/core/tcp.c index 9289f7f4..c8e23186 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -1428,6 +1428,7 @@ tcp_seg_free(struct tcp_seg *seg) } /** + * @ingroup tcp * Sets the priority of a connection. * * @param pcb the tcp_pcb to manipulate diff --git a/src/include/lwip/tcp.h b/src/include/lwip/tcp.h index deedaf98..29f89fd8 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -349,9 +349,12 @@ void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interv #if LWIP_TCP_TIMESTAMPS #define tcp_mss(pcb) (((pcb)->flags & TF_TIMESTAMP) ? ((pcb)->mss - 12) : (pcb)->mss) #else /* LWIP_TCP_TIMESTAMPS */ +/** @ingroup tcp_raw */ #define tcp_mss(pcb) ((pcb)->mss) #endif /* LWIP_TCP_TIMESTAMPS */ +/** @ingroup tcp_raw */ #define tcp_sndbuf(pcb) (TCPWND16((pcb)->snd_buf)) +/** @ingroup tcp_raw */ #define tcp_sndqueuelen(pcb) ((pcb)->snd_queuelen) /** @ingroup tcp_raw */ #define tcp_nagle_disable(pcb) ((pcb)->flags |= TF_NODELAY)