mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
Be consistent... Use Name: consistent in function headers vs Function:
This commit is contained in:
@@ -79,7 +79,7 @@ struct sockaddr; /* Forward reference */
|
||||
void sixlowpan_initialize(void);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: psock_6lowpan_tcp_send
|
||||
* Name: psock_6lowpan_tcp_send
|
||||
*
|
||||
* Description:
|
||||
* psock_6lowpan_tcp_send() call may be used only when the TCP socket is in a
|
||||
@@ -107,7 +107,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf,
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_tcp_send
|
||||
* Name: sixlowpan_tcp_send
|
||||
*
|
||||
* Description:
|
||||
* TCP output comes through three different mechansims. Either from:
|
||||
@@ -139,7 +139,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf,
|
||||
void sixlowpan_tcp_send(FAR struct net_driver_s *dev);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: psock_6lowpan_udp_send
|
||||
* Name: psock_6lowpan_udp_send
|
||||
*
|
||||
* Description:
|
||||
* psock_6lowpan_udp_send() call may be used with connectionlesss UDP
|
||||
@@ -167,7 +167,7 @@ ssize_t psock_6lowpan_udp_send(FAR struct socket *psock, FAR const void *buf,
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Function: psock_6lowpan_udp_sendto
|
||||
* Name: psock_6lowpan_udp_sendto
|
||||
*
|
||||
* Description:
|
||||
* If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET)
|
||||
|
||||
@@ -82,7 +82,7 @@ struct field_length_s
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_addrlen
|
||||
* Name: sixlowpan_addrlen
|
||||
*
|
||||
* Description:
|
||||
* Return the address length associated with a 2-bit address mode
|
||||
@@ -109,7 +109,7 @@ static inline uint8_t sixlowpan_addrlen(uint8_t addrmode)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_addrnull
|
||||
* Name: sixlowpan_addrnull
|
||||
*
|
||||
* Description:
|
||||
* If the output address is NULL in the Rime buf, then it is broadcast
|
||||
@@ -140,7 +140,7 @@ static bool sixlowpan_addrnull(FAR uint8_t *addr)
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_fieldlengths
|
||||
* Name: sixlowpan_fieldlengths
|
||||
*
|
||||
* Description:
|
||||
* Return the lengths associated fields of the IEEE802.15.4 header.
|
||||
@@ -228,7 +228,7 @@ static void sixlowpan_fieldlengths(FAR struct frame802154_s *finfo,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_fieldlengths
|
||||
* Name: sixlowpan_fieldlengths
|
||||
*
|
||||
* Description:
|
||||
* Return the lengths associated fields of the IEEE802.15.4 header.
|
||||
@@ -249,7 +249,7 @@ static int sixlowpan_flen_hdrlen(FAR const struct field_length_s *flen)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_802154_hdrlen
|
||||
* Name: sixlowpan_802154_hdrlen
|
||||
*
|
||||
* Description:
|
||||
* Calculates the length of the frame header. This function is meant to
|
||||
@@ -272,7 +272,7 @@ static int sixlowpan_802154_hdrlen(FAR struct frame802154_s *finfo)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_setup_params
|
||||
* Name: sixlowpan_setup_params
|
||||
*
|
||||
* Description:
|
||||
* Configure frame parmeters structure.
|
||||
@@ -382,7 +382,7 @@ static void sixlowpan_setup_params(FAR struct ieee802154_driver_s *ieee,
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_send_hdrlen
|
||||
* Name: sixlowpan_send_hdrlen
|
||||
*
|
||||
* Description:
|
||||
* This function is before the first frame has been sent in order to
|
||||
@@ -415,7 +415,7 @@ int sixlowpan_send_hdrlen(FAR struct ieee802154_driver_s *ieee,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_802154_framecreate
|
||||
* Name: sixlowpan_802154_framecreate
|
||||
*
|
||||
* Description:
|
||||
* Creates a frame for transmission over the air. This function is meant
|
||||
@@ -514,7 +514,7 @@ int sixlowpan_802154_framecreate(FAR struct frame802154_s *finfo,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_framecreate
|
||||
* Name: sixlowpan_framecreate
|
||||
*
|
||||
* Description:
|
||||
* This function is called after eiether (1) the IEEE802.15.4 MAC driver
|
||||
|
||||
@@ -680,7 +680,7 @@ static int sixlowpan_frame_process(FAR struct ieee802154_driver_s *ieee,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_dispatch
|
||||
* Name: sixlowpan_dispatch
|
||||
*
|
||||
* Description:
|
||||
* Inject the packet in d_buf into the network for normal packet processing.
|
||||
|
||||
@@ -344,7 +344,7 @@ int sixlowpan_send(FAR struct net_driver_s *dev,
|
||||
uint16_t timeout);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_send_hdrlen
|
||||
* Name: sixlowpan_send_hdrlen
|
||||
*
|
||||
* Description:
|
||||
* This function is before the first frame has been sent in order to
|
||||
@@ -366,7 +366,7 @@ int sixlowpan_send_hdrlen(FAR struct ieee802154_driver_s *ieee,
|
||||
uint16_t dest_panid);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_framecreate
|
||||
* Name: sixlowpan_framecreate
|
||||
*
|
||||
* Description:
|
||||
* This function is called after the IEEE802.15.4 MAC driver polls for
|
||||
|
||||
@@ -93,7 +93,7 @@ struct sixlowpan_send_s
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: send_timeout
|
||||
* Name: send_timeout
|
||||
*
|
||||
* Description:
|
||||
* Check for send timeout.
|
||||
@@ -134,7 +134,7 @@ static inline bool send_timeout(FAR struct sixlowpan_send_s *sinfo)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: send_interrupt
|
||||
* Name: send_interrupt
|
||||
*
|
||||
* Description:
|
||||
* This function is called from the interrupt level to perform the actual
|
||||
|
||||
@@ -136,7 +136,7 @@ static uint16_t sixlowpan_tcp_chksum(FAR struct ipv6tcp_hdr_s *ipv6tcp,
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: psock_6lowpan_tcp_send
|
||||
* Name: psock_6lowpan_tcp_send
|
||||
*
|
||||
* Description:
|
||||
* psock_6lowpan_tcp_send() call may be used only when the TCP socket is in a
|
||||
@@ -348,7 +348,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: sixlowpan_tcp_send
|
||||
* Name: sixlowpan_tcp_send
|
||||
*
|
||||
* Description:
|
||||
* TCP output comes through three different mechansims. Either from:
|
||||
|
||||
@@ -125,7 +125,7 @@ static uint16_t sixlowpan_udp_chksum(FAR struct ipv6udp_hdr_s *ipv6udp,
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: psock_6lowpan_udp_sendto
|
||||
* Name: psock_6lowpan_udp_sendto
|
||||
*
|
||||
* Description:
|
||||
* If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET)
|
||||
@@ -323,7 +323,7 @@ ssize_t psock_6lowpan_udp_sendto(FAR struct socket *psock,
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: psock_6lowpan_udp_send
|
||||
* Name: psock_6lowpan_udp_send
|
||||
*
|
||||
* Description:
|
||||
* psock_6lowpan_udp_send() call may be used with connectionlesss UDP
|
||||
|
||||
Reference in New Issue
Block a user