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

Detailed Description

#include <stdbool.h>
#include <stdint.h>
#include "mbox.h"
#include "net/af.h"
#include "net/gnrc.h"
#include "net/gnrc/netreg.h"
#include "net/iana/portrange.h"
#include "net/sock/ip.h"
#include "sock_types.h"
+ Include dependency graph for gnrc_sock_internal.h:

Go to the source code of this file.


 Minimum port number in the dynamic portrange.
 Maximum port number in the dynamic portrange.
 Available ports in the range for dynamic source port allocation.
 Error value indicating that no free port could be found in the dynamic port range.
 Offset for next dynamic port. More...


static bool gnrc_af_not_supported (int af)
 Internal helper functions for GNRC. More...
static bool gnrc_ep_addr_any (const sock_ip_ep_t *ep)
 Check if end point points to any address.
void gnrc_sock_create (gnrc_sock_reg_t *reg, gnrc_nettype_t type, uint32_t demux_ctx)
 Create a sock internally.
ssize_t gnrc_sock_recv (gnrc_sock_reg_t *reg, gnrc_pktsnip_t **pkt, uint32_t timeout, sock_ip_ep_t *remote)
 Receive a packet internally.
ssize_t gnrc_sock_send (gnrc_pktsnip_t *payload, sock_ip_ep_t *local, const sock_ip_ep_t *remote, uint8_t nh)
 Send a packet internally.