From 3d9c76a69c6d560c5a932cefac2daf74fc19f533 Mon Sep 17 00:00:00 2001 From: fbernon Date: Sat, 24 Nov 2007 22:13:25 +0000 Subject: [PATCH] Minor change (doxygen tags) --- src/api/api_lib.c | 1 + src/api/api_msg.c | 2 +- src/api/tcpip.c | 2 +- src/core/dns.c | 2 +- src/core/pbuf.c | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/api/api_lib.c b/src/api/api_lib.c index f2a4adac..36621f5e 100644 --- a/src/api/api_lib.c +++ b/src/api/api_lib.c @@ -185,6 +185,7 @@ netconn_type(struct netconn *conn) * @param conn the netconn to query * @param addr a pointer to which to save the IP address * @param port a pointer to which to save the port (or protocol for RAW) + * @param local 1 to get the local IP address, 0 to get the remote one * @return ERR_CONN for invalid connections * ERR_OK if the information was retrieved */ diff --git a/src/api/api_msg.c b/src/api/api_msg.c index 849b4f41..d8260642 100644 --- a/src/api/api_msg.c +++ b/src/api/api_msg.c @@ -1024,7 +1024,7 @@ do_dns_found(const char *name, struct ip_addr *ipaddr, void *arg) * Execute a DNS query * Called from netconn_gethostbyname * - * @param msg the dns_api_msg pointing to the query + * @param arg the dns_api_msg pointing to the query */ void do_gethostbyname(void *arg) diff --git a/src/api/tcpip.c b/src/api/tcpip.c index 4ba223d2..65faaa88 100644 --- a/src/api/tcpip.c +++ b/src/api/tcpip.c @@ -316,7 +316,7 @@ tcpip_thread(void *arg) * * @param p the received packet, p->payload pointing to the Ethernet header or * to an IP header (if netif doesn't got NETIF_FLAG_ETHARP flag) - * @param netif the network interface on which the packet was received + * @param inp the network interface on which the packet was received */ err_t tcpip_input(struct pbuf *p, struct netif *inp) diff --git a/src/core/dns.c b/src/core/dns.c index 660ec176..e544e280 100644 --- a/src/core/dns.c +++ b/src/core/dns.c @@ -779,7 +779,7 @@ dns_enqueue(const char *name, dns_found_callback found, void *callback_arg) * - DNS_REQUEST_QUEUED and queues a request to be sent to the DNS server * for resolution if no errors are present. * - * @param name the hostname that is to be queried + * @param hostname the hostname that is to be queried * @param addr pointer to a struct ip_addr where to store the address if it is already * cached in the dns_table (only valid if DNS_COMPLETE is returned!) * @param found a callback founction to be called on success, failure or timeout (only if diff --git a/src/core/pbuf.c b/src/core/pbuf.c index e068058b..f766fb7d 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -85,9 +85,9 @@ * layer at which the pbuf is allocated and the requested size * (from the size parameter). * - * @param l flag to define header size + * @param layer flag to define header size * @param length size of the pbuf's payload - * @param flag this parameter decides how and where the pbuf + * @param type this parameter decides how and where the pbuf * should be allocated as follows: * * - PBUF_RAM: buffer memory for pbuf is allocated as one large