From d4ba3bd184943e02ddf3a4a8e47de13f56ef8839 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Tue, 11 Oct 2016 10:24:45 +0200 Subject: [PATCH] sock: doc fixes --- sys/include/net/sock/ip.h | 6 +++--- sys/include/net/sock/udp.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/include/net/sock/ip.h b/sys/include/net/sock/ip.h index c1eccda946..969259a3ae 100644 --- a/sys/include/net/sock/ip.h +++ b/sys/include/net/sock/ip.h @@ -59,8 +59,8 @@ * * Above you see a simple IPv6 server. Don't forget to also * @ref including-modules "include" the IPv6 module of your networking - * implementation (e.g. `gnrc_ipv6_default` for @ref net_gnrc GNRC) and at least - * one network device. + * implementation (e.g. `gnrc_ipv6_default` for @ref net_gnrc "GNRC") and at + * least one network device. * * After including header files for the @ref net_af "address families", * @ref net_protnum "protocol numbers" and the @ref net_sock_ip "raw `sock`s" @@ -194,7 +194,7 @@ * * Again: Don't forget to also @ref including-modules "include" the IPv6 module * of your networking implementation (e.g. `gnrc_ipv6_default` for - * @ref net_gnrc GNRC) and at least one network device. + * @ref net_gnrc "GNRC") and at least one network device. * * We first create again a `sock` with a local end point bound to any IPv6 * address. Note that we also could specify the remote end point here and not diff --git a/sys/include/net/sock/udp.h b/sys/include/net/sock/udp.h index f2f85a5e13..f71f3f9157 100644 --- a/sys/include/net/sock/udp.h +++ b/sys/include/net/sock/udp.h @@ -60,11 +60,11 @@ * * Above you see a simple UDP echo server. Don't forget to also * @ref including-modules "include" the IPv6 module of your networking - * implementation (e.g. gnrc_ipv6_default` for @ref net_gnrc GNRC) and at least + * implementation (e.g. `gnrc_ipv6_default` for @ref net_gnrc GNRC) and at least * one network device. * * After including header files for the @ref net_af "address families" and - * the @ref net_sock_ip "raw `sock`s" themselves, we create some buffer space + * the @ref net_sock_udp "UDP `sock`s" themselves, we create some buffer space * `buf` to store the data received by the server: * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c} @@ -75,7 +75,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * To be able to listen for incoming packets we bind the `sock` by setting a - * local end point with with a port (`12345` in this case). + * local end point with a port (`12345` in this case). * * We then proceed to create the `sock`. It is bound to `local` and thus listens * for UDP packets with @ref udp_hdr_t::dst_port "destination port" `12345`. @@ -194,7 +194,7 @@ * * Again: Don't forget to also @ref including-modules "include" the IPv6 module * of your networking implementation (e.g. `gnrc_ipv6_default` for - * @ref net_gnrc GNRC) and at least one network device. + * @ref net_gnrc "GNRC") and at least one network device. * * We first create again a `sock` with a local end point bound to any IPv6 * address and some port. Note that we also could specify the remote here and