updated sicslowpan documentation and platform configurations
This commit is contained in:
parent
d0448df3b8
commit
d4dc45e096
3 changed files with 34 additions and 44 deletions
|
@ -211,7 +211,6 @@ static uint8_t uncomp_hdr_len;
|
|||
static int last_tx_status;
|
||||
/** @} */
|
||||
|
||||
static uint16_t my_tag;
|
||||
|
||||
static int last_rssi;
|
||||
|
||||
|
@ -222,6 +221,8 @@ static int last_rssi;
|
|||
* temporary memory allocation. In that case the number of available
|
||||
* buffers will be lower for a short time.
|
||||
**/
|
||||
#if SICSLOWPAN_CONF_FRAG
|
||||
static uint16_t my_tag;
|
||||
|
||||
/** The total length of the IPv6 packet in the sicslowpan_buf. */
|
||||
|
||||
|
@ -434,7 +435,7 @@ copy_frags2uip(int context)
|
|||
/* deallocate all the fragments for this context */
|
||||
clear_fragments(context);
|
||||
}
|
||||
|
||||
#endif /* SICSLOWPAN_CONF_FRAG */
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
|
@ -1541,6 +1542,7 @@ output(const uip_lladdr_t *localdest)
|
|||
|
||||
#if SICSLOWPAN_CONF_FRAG
|
||||
/* Number of bytes processed. */
|
||||
#if SICSLOWPAN_CONF_FRAG
|
||||
uint16_t processed_ip_out_len;
|
||||
#endif /* SICSLOWPAN_CONF_FRAG */
|
||||
|
||||
|
@ -1772,14 +1774,14 @@ input(void)
|
|||
{
|
||||
/* size of the IP packet (read from fragment) */
|
||||
uint16_t frag_size = 0;
|
||||
int8_t frag_context = 0;
|
||||
/* offset of the fragment in the IP packet */
|
||||
uint8_t frag_offset = 0;
|
||||
uint8_t is_fragment = 0;
|
||||
uint8_t *buffer;
|
||||
|
||||
#if SICSLOWPAN_CONF_FRAG
|
||||
uint8_t is_fragment = 0;
|
||||
int8_t frag_context = 0;
|
||||
|
||||
/* tag of the fragment */
|
||||
uint16_t frag_tag = 0;
|
||||
uint8_t first_fragment = 0, last_fragment = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue