aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-11-17 16:58:38 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-11-25 01:34:26 +0100
commit698e4fd761ca200759a12872479a95b96c6c4ebb (patch)
tree1c53c9f3b91bdd5e10d5e8cc304769d9aab2a483 /tap.c
parente6948822ba28387347c6937e370584f9f164d0b3 (diff)
downloadpasst-698e4fd761ca200759a12872479a95b96c6c4ebb.tar
passt-698e4fd761ca200759a12872479a95b96c6c4ebb.tar.gz
passt-698e4fd761ca200759a12872479a95b96c6c4ebb.tar.bz2
passt-698e4fd761ca200759a12872479a95b96c6c4ebb.tar.lz
passt-698e4fd761ca200759a12872479a95b96c6c4ebb.tar.xz
passt-698e4fd761ca200759a12872479a95b96c6c4ebb.tar.zst
passt-698e4fd761ca200759a12872479a95b96c6c4ebb.zip
style: Minor corrections to function comments
Some style issues and a typo. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
-rw-r--r--tap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tap.c b/tap.c
index d26af58..5a20b75 100644
--- a/tap.c
+++ b/tap.c
@@ -90,7 +90,7 @@ int tap_send(const struct ctx *c, const void *data, size_t len)
* tap_ip4_daddr() - Normal IPv4 destination address for inbound packets
* @c: Execution context
*
- * Returns: IPv4 address, network order
+ * Return: IPv4 address, network order
*/
struct in_addr tap_ip4_daddr(const struct ctx *c)
{
@@ -98,11 +98,11 @@ struct in_addr tap_ip4_daddr(const struct ctx *c)
}
/**
- * tap_ip6_daddr() - Normal IPv4 destination address for inbound packets
+ * tap_ip6_daddr() - Normal IPv6 destination address for inbound packets
* @c: Execution context
* @src: Source address
*
- * Returns: pointer to IPv6 address
+ * Return: pointer to IPv6 address
*/
const struct in6_addr *tap_ip6_daddr(const struct ctx *c,
const struct in6_addr *src)