Loading...
Searching...
No Matches
utils.h File Reference

Common network interface API definitions. More...

Detailed Description

Common network interface API definitions.

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com
Hendrik van Essen hendr.nosp@m.ik.v.nosp@m.e@fu-.nosp@m.berl.nosp@m.in.de

Definition in file utils.h.

#include <stdint.h>
#include <stddef.h>
#include "net/ipv4/addr.h"
#include "net/ipv6/addr.h"
#include "net/netif.h"
+ Include dependency graph for utils.h:

Go to the source code of this file.

Functions

int netutils_get_ipv4 (ipv4_addr_t *addr, const char *hostname)
 Parse an IPv4 address / hostname string.
 
int netutils_get_ipv6 (ipv6_addr_t *addr, netif_t **netif, const char *hostname)
 Parse an IPv6 address / hostname string.