Skip to content

Commit

Permalink
session.h: add documentation to contiki definition
Browse files Browse the repository at this point in the history
Signed-off-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
  • Loading branch information
leandrolanzieri committed Mar 29, 2022
1 parent e6499f4 commit a45122b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions session.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
#ifdef WITH_CONTIKI
#include "ip/uip.h"
typedef struct {
unsigned char size;
uip_ipaddr_t addr;
unsigned short port;
int ifindex;
unsigned char size; /**< size of session_t::addr */
uip_ipaddr_t addr; /**< session IP address */
unsigned short port; /**< transport layer port */
int ifindex; /**< network interface index */
} session_t;
/* TODO: Add support for RIOT over sockets */
#elif defined(WITH_RIOT_GNRC)
Expand Down

0 comments on commit a45122b

Please sign in to comment.