The friendly Operating System for the Internet of Things

GNRC-specific types and function definitions. More...

Detailed Description

#include <stdbool.h>
#include <stdint.h>
#include "net/ipv6/addr.h"
#include "net/gnrc.h"
#include "sched.h"
+ Include dependency graph for gnrc/conn.h:

Go to the source code of this file.

Data Structures

struct  conn_t
 Connection base class. More...
struct  conn_ip
 Raw connection type. More...
struct  conn_udp
 UDP connection type. More...


static void gnrc_conn_reg (gnrc_netreg_entry_t *entry, gnrc_nettype_t type, uint32_t demux_ctx)
 Bind connection to demux context.
bool gnrc_conn6_set_local_addr (uint8_t *conn_addr, const ipv6_addr_t *addr)
 Sets local address for a connection.
int gnrc_conn_recvfrom (conn_t *conn, void *data, size_t max_len, void *addr, size_t *addr_len, uint16_t *port)
 Generic recvfrom.