diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2019-02-28 14:46:52 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2019-02-28 16:12:12 +0100 |
commit | 6a9b43b6ed1f27b2e82fa9b6ad7d981a63e30f35 (patch) | |
tree | 49a6b09e66871379902f4c8f04c4c6b00cf7b4bb | |
parent | refresh: log elapsed time (diff) | |
download | knot-6a9b43b6ed1f27b2e82fa9b6ad7d981a63e30f35.tar.xz knot-6a9b43b6ed1f27b2e82fa9b6ad7d981a63e30f35.zip |
net: update documentation
-rw-r--r-- | src/contrib/net.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/contrib/net.h b/src/contrib/net.h index 21219db06..689dd6b6a 100644 --- a/src/contrib/net.h +++ b/src/contrib/net.h @@ -136,7 +136,7 @@ ssize_t net_base_recv(int sock, uint8_t *buffer, size_t size, /*! * \brief Send a message on a SOCK_DGRAM socket. * - * \see net_send + * \see net_base_send */ ssize_t net_dgram_send(int sock, const uint8_t *buffer, size_t size, const struct sockaddr *addr); @@ -144,21 +144,21 @@ ssize_t net_dgram_send(int sock, const uint8_t *buffer, size_t size, /*! * \brief Receive a message from a SOCK_DGRAM socket. * - * \see net_recv + * \see net_base_recv */ ssize_t net_dgram_recv(int sock, uint8_t *buffer, size_t size, int timeout_ms); /*! * \brief Send a message on a SOCK_STREAM socket. * - * \see net_send + * \see net_base_send */ ssize_t net_stream_send(int sock, const uint8_t *buffer, size_t size, int timeout_ms); /*! * \brief Receive a message from a SOCK_STREAM socket. * - * \see net_recv + * \see net_base_recv */ ssize_t net_stream_recv(int sock, uint8_t *buffer, size_t size, int timeout_ms); @@ -169,7 +169,7 @@ ssize_t net_stream_recv(int sock, uint8_t *buffer, size_t size, int timeout_ms); * message size according to the specification. These two bytes are not * reflected in the return value. * - * \see net_send + * \see net_base_send */ ssize_t net_dns_tcp_send(int sock, const uint8_t *buffer, size_t size, int timeout_ms); @@ -180,6 +180,6 @@ ssize_t net_dns_tcp_send(int sock, const uint8_t *buffer, size_t size, int timeo * size according to the specification. These two bytes are not included in * the returned size. Only a complete DNS message is retrieved. * - * \see net_recv + * \see net_base_recv */ ssize_t net_dns_tcp_recv(int sock, uint8_t *buffer, size_t size, int timeout_ms); |