Trivial typo fixes
This commit is contained in:
parent
8fa3f54ba9
commit
706a6a2c19
include/nuttx/net
net
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user