diff --git a/include/nuttx/net/ip.h b/include/nuttx/net/ip.h index 2cdfeeb84b6..c7d5b406159 100644 --- a/include/nuttx/net/ip.h +++ b/include/nuttx/net/ip.h @@ -587,7 +587,7 @@ bool net_ipv6addr_maskcmp(const net_ipv6addr_t addr1, * Name: net_is_addr_mcast * * Description: - * s address a multicast address? see RFC 3513. + * Is address a multicast address? see RFC 3513. * ****************************************************************************/ diff --git a/net/icmpv6/icmpv6_rsolicit.c b/net/icmpv6/icmpv6_rsolicit.c index 1aefcab64d2..9009a621ec3 100644 --- a/net/icmpv6/icmpv6_rsolicit.c +++ b/net/icmpv6/icmpv6_rsolicit.c @@ -115,7 +115,7 @@ void icmpv6_rsolicit(FAR struct net_driver_s *dev) ipv6->ttl = 255; /* Hop limit */ /* Set the multicast destination IP address to the IPv6 all link- - * loocal routers address: ff02::2 + * local routers address: ff02::2 */ net_ipv6addr_copy(ipv6->destipaddr, g_ipv6_allrouters); diff --git a/net/inet/inet_sockif.c b/net/inet/inet_sockif.c index 8240e569d5d..9f55c06f11f 100644 --- a/net/inet/inet_sockif.c +++ b/net/inet/inet_sockif.c @@ -218,7 +218,7 @@ static int inet_setup(FAR struct socket *psock, int protocol) * the connection structure is is unallocated at this point. It will * not actually be initialized until the socket is connected. * - * Only SOCK_STREAM and SOCK_DGRAM and possible SOCK_RAW are supported. + * REVISIT: Only SOCK_STREAM and SOCK_DGRAM are supported. */ switch (psock->s_type) diff --git a/net/local/local_sockif.c b/net/local/local_sockif.c index 7ef572e4d15..553aad9818d 100644 --- a/net/local/local_sockif.c +++ b/net/local/local_sockif.c @@ -177,7 +177,8 @@ static int local_setup(FAR struct socket *psock, int protocol) * the connection structure is is unallocated at this point. It will * not actually be initialized until the socket is connected. * - * Only SOCK_STREAM and SOCK_DGRAM and possible SOCK_RAW are supported. + * REVIST: Only SOCK_STREAM and SOCK_DGRAM are supported. Should also + * support SOCK_RAW. */ switch (psock->s_type) diff --git a/net/socket/net_sockif.c b/net/socket/net_sockif.c index d755c3d2a36..ec3d56c412b 100644 --- a/net/socket/net_sockif.c +++ b/net/socket/net_sockif.c @@ -78,7 +78,11 @@ FAR const struct sock_intf_s * { FAR const struct sock_intf_s *sockif = NULL; - /* Get the socket interface */ + /* Get the socket interface. + * + * REVISIT: Should also support PF_UNSPEC which would permit the socket + * to be used for anything. + */ switch (family) { diff --git a/net/udp/udp_finddev.c b/net/udp/udp_finddev.c index 2139bc1ca94..0dc70b1a065 100644 --- a/net/udp/udp_finddev.c +++ b/net/udp/udp_finddev.c @@ -152,7 +152,7 @@ FAR struct net_driver_s *udp_find_raddr_device(FAR struct udp_conn_s *conn) #endif { /* Check if the remote, destination address is the broadcast - * or multicast address. In this is the case select the device + * or multicast address. If this is the case, select the device * using the locally bound address (assuming that there is one). */ @@ -191,7 +191,7 @@ FAR struct net_driver_s *udp_find_raddr_device(FAR struct udp_conn_s *conn) #endif { /* Check if the remote, destination address is a multicast - * address. In this is the case select the device + * address. If this is the case, select the device * using the locally bound address (assuming that there is one). * * The general form of all well-known, reserved IPv6 multicast