Merge pull request #1344 from tsparber/fix-doxygen
doxygen: Fixed all warnings
This commit is contained in:
commit
ebc8d9fb1c
39 changed files with 278 additions and 222 deletions
|
@ -1046,12 +1046,14 @@ uncompress_hdr_hc06(uint16_t ip_len)
|
|||
* - Both src and dest interface ID are recoverable from lower layer
|
||||
* header
|
||||
* - Next header is either ICMP, UDP or TCP
|
||||
*
|
||||
* Moreover, if next header is UDP, we try to compress it using HC_UDP.
|
||||
* This is feasible is both ports are between F0B0 and F0B0 + 15\n\n
|
||||
* This is feasible is both ports are between F0B0 and F0B0 + 15.
|
||||
*
|
||||
*
|
||||
* Resulting header structure:
|
||||
* - For ICMP, TCP, non compressed UDP\n
|
||||
* HC1 encoding = 11111010 (UDP) 11111110 (TCP) 11111100 (ICMP)\n
|
||||
* - For ICMP, TCP, non compressed UDP\n
|
||||
* HC1 encoding = 11111010 (UDP) 11111110 (TCP) 11111100 (ICMP)\n
|
||||
* \verbatim
|
||||
* 1 2 3
|
||||
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
||||
|
@ -1062,8 +1064,8 @@ uncompress_hdr_hc06(uint16_t ip_len)
|
|||
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
* \endverbatim
|
||||
*
|
||||
* - For compressed UDP
|
||||
* HC1 encoding = 11111011, HC_UDP encoding = 11100000\n
|
||||
* - For compressed UDP\n
|
||||
* HC1 encoding = 11111011, HC_UDP encoding = 11100000\n
|
||||
* \verbatim
|
||||
* 1 2 3
|
||||
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
||||
|
@ -1577,7 +1579,6 @@ output(const uip_lladdr_t *localdest)
|
|||
|
||||
/*--------------------------------------------------------------------*/
|
||||
/** \brief Process a received 6lowpan packet.
|
||||
* \param r The MAC layer
|
||||
*
|
||||
* The 6lowpan packet is put in packetbuf by the MAC. If its a frag1 or
|
||||
* a non-fragmented packet we first uncompress the IP header. The
|
||||
|
|
|
@ -231,10 +231,10 @@ uip_ds6_link_neighbor_callback(int status, int numtx)
|
|||
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/** Periodic processing on neighbors */
|
||||
void
|
||||
uip_ds6_neighbor_periodic(void)
|
||||
{
|
||||
/* Periodic processing on neighbors */
|
||||
uip_ds6_nbr_t *nbr = nbr_table_head(ds6_neighbors);
|
||||
while(nbr != NULL) {
|
||||
switch(nbr->state) {
|
||||
|
|
|
@ -53,23 +53,23 @@
|
|||
#define DEBUG DEBUG_NONE
|
||||
#include "net/ip/uip-debug.h"
|
||||
|
||||
struct etimer uip_ds6_timer_periodic; /** \brief Timer for maintenance of data structures */
|
||||
struct etimer uip_ds6_timer_periodic; /**< Timer for maintenance of data structures */
|
||||
|
||||
#if UIP_CONF_ROUTER
|
||||
struct stimer uip_ds6_timer_ra; /** \brief RA timer, to schedule RA sending */
|
||||
struct stimer uip_ds6_timer_ra; /**< RA timer, to schedule RA sending */
|
||||
#if UIP_ND6_SEND_RA
|
||||
static uint8_t racount; /** \brief number of RA already sent */
|
||||
static uint16_t rand_time; /** \brief random time value for timers */
|
||||
static uint8_t racount; /**< number of RA already sent */
|
||||
static uint16_t rand_time; /**< random time value for timers */
|
||||
#endif
|
||||
#else /* UIP_CONF_ROUTER */
|
||||
struct etimer uip_ds6_timer_rs; /** \brief RS timer, to schedule RS sending */
|
||||
static uint8_t rscount; /** \brief number of rs already sent */
|
||||
struct etimer uip_ds6_timer_rs; /**< RS timer, to schedule RS sending */
|
||||
static uint8_t rscount; /**< number of rs already sent */
|
||||
#endif /* UIP_CONF_ROUTER */
|
||||
|
||||
/** \name "DS6" Data structures */
|
||||
/** @{ */
|
||||
uip_ds6_netif_t uip_ds6_if; /** \brief The single interface */
|
||||
uip_ds6_prefix_t uip_ds6_prefix_list[UIP_DS6_PREFIX_NB]; /** \brief Prefix list */
|
||||
uip_ds6_netif_t uip_ds6_if; /**< The single interface */
|
||||
uip_ds6_prefix_t uip_ds6_prefix_list[UIP_DS6_PREFIX_NB]; /**< Prefix list */
|
||||
|
||||
/* Used by Cooja to enable extraction of addresses from memory.*/
|
||||
uint8_t uip_ds6_addr_size;
|
||||
|
|
|
@ -282,6 +282,7 @@ uint8_t uip_ds6_is_addr_onlink(uip_ipaddr_t *ipaddr);
|
|||
|
||||
/** \name Unicast address list basic routines */
|
||||
/** @{ */
|
||||
/** \brief Add a unicast address to the interface */
|
||||
uip_ds6_addr_t *uip_ds6_addr_add(uip_ipaddr_t *ipaddr,
|
||||
unsigned long vlifetime, uint8_t type);
|
||||
void uip_ds6_addr_rm(uip_ds6_addr_t *addr);
|
||||
|
|
|
@ -811,7 +811,7 @@ uip_nd6_rs_output(void)
|
|||
return;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/*
|
||||
/**
|
||||
* Process a Router Advertisement
|
||||
*
|
||||
* - Possible actions when receiving a RA: add router to router list,
|
||||
|
|
|
@ -59,9 +59,12 @@
|
|||
|
||||
/** \name RFC 4861 Host constant */
|
||||
/** @{ */
|
||||
/** \brief Maximum router solicitation delay */
|
||||
#define UIP_ND6_MAX_RTR_SOLICITATION_DELAY 1
|
||||
/** \brief Router solicitation interval */
|
||||
#define UIP_ND6_RTR_SOLICITATION_INTERVAL 4
|
||||
#define UIP_ND6_MAX_RTR_SOLICITATIONS 3
|
||||
/** \brief Maximum router solicitations */
|
||||
#define UIP_ND6_MAX_RTR_SOLICITATIONS 3
|
||||
/** @} */
|
||||
|
||||
/** \name RFC 4861 Router constants */
|
||||
|
|
|
@ -654,7 +654,7 @@ static uint8_t uip_reassflags;
|
|||
*/
|
||||
|
||||
|
||||
struct etimer uip_reass_timer; /* timer for reassembly */
|
||||
struct etimer uip_reass_timer; /**< Timer for reassembly */
|
||||
uint8_t uip_reass_on; /* equal to 1 if we are currently reassembling a packet */
|
||||
|
||||
static uint32_t uip_id; /* For every packet that is to be fragmented, the source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue