- s/TDP/TCP/ in one place - Incorrect parameter name in function comment - Remove accidental reversion of tap_backend_init() comment Signed-off-by: David Gibson <david(a)gibson.dropbear.id.au> --- tap.c | 3 ++- tcp_vu.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tap.c b/tap.c index 7e91f52..9278430 100644 --- a/tap.c +++ b/tap.c @@ -1381,7 +1381,8 @@ void tap_sock_update_pool(void *base, size_t size) } /** - * tap_sock_init() - Create and set up AF_UNIX socket or tuntap file descriptor + * tap_backend_init() - Create and set up AF_UNIX socket or + * tuntap file descriptor * @c: Execution context */ void tap_backend_init(struct ctx *c) diff --git a/tcp_vu.c b/tcp_vu.c index 339c4d1..2415118 100644 --- a/tcp_vu.c +++ b/tcp_vu.c @@ -37,7 +37,7 @@ static struct iovec iov_vu[VIRTQUEUE_MAX_SIZE + 1]; static struct vu_virtq_element elem[VIRTQUEUE_MAX_SIZE]; /** - * tcp_vu_l2_hdrlen() - return the size of the header in level 2 frame (TDP) + * tcp_vu_l2_hdrlen() - return the size of the header in level 2 frame (TCP) * @v6: Set for IPv6 packet * * Return: Return the size of the header @@ -206,7 +206,7 @@ int tcp_vu_send_flag(const struct ctx *c, struct tcp_tap_conn *conn, int flags) * @conn: Connection pointer * @v4: Set for IPv4 connections * @fillsize: Number of bytes we can receive - * @datalen: Size of received data (output) + * @dlen: Size of received data (output) * * Return: Number of iov entries used to store the data */ -- 2.47.0