Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Variables
lwip/inet.h File Reference

This file (together with sockets.h) aims to provide structs and functions from. More...

#include "lwip/opt.h"
#include "lwip/def.h"
#include "lwip/ip_addr.h"
#include "lwip/ip6_addr.h"

Go to the source code of this file.

Data Structures

struct  in_addr
 socket address(net format) More...
 
struct  in6_addr
 socket address(IPV6 net format) More...
 

Macros

#define INADDR_NONE   IPADDR_NONE
 255.255.255.255 More...
 
#define INADDR_LOOPBACK   IPADDR_LOOPBACK
 127.0.0.1 More...
 
#define INADDR_ANY   IPADDR_ANY
 0.0.0.0 More...
 
#define INADDR_BROADCAST   IPADDR_BROADCAST
 255.255.255.255 More...
 
#define IN6ADDR_ANY_INIT   {{{0,0,0,0}}}
 This macro can be used to initialize a variable of type struct in6_addr to the IPv6 wildcard address. More...
 
#define IN6ADDR_LOOPBACK_INIT   {{{0,0,0,PP_HTONL(1)}}}
 This macro can be used to initialize a variable of type struct in6_addr to the IPv6 loopback address. More...
 

Variables

const struct in6_addr in6addr_any
 This variable is initialized by the system to contain the wildcard IPv6 address. More...
 

Detailed Description

This file (together with sockets.h) aims to provide structs and functions from.

Definition in file lwip/inet.h.

Macro Definition Documentation

#define IN6ADDR_ANY_INIT   {{{0,0,0,0}}}

This macro can be used to initialize a variable of type struct in6_addr to the IPv6 wildcard address.

Definition at line 81 of file lwip/inet.h.

#define IN6ADDR_LOOPBACK_INIT   {{{0,0,0,PP_HTONL(1)}}}

This macro can be used to initialize a variable of type struct in6_addr to the IPv6 loopback address.

Definition at line 84 of file lwip/inet.h.

#define INADDR_ANY   IPADDR_ANY

0.0.0.0

Definition at line 75 of file lwip/inet.h.

#define INADDR_BROADCAST   IPADDR_BROADCAST

255.255.255.255

Definition at line 77 of file lwip/inet.h.

#define INADDR_LOOPBACK   IPADDR_LOOPBACK

127.0.0.1

Definition at line 73 of file lwip/inet.h.

#define INADDR_NONE   IPADDR_NONE

255.255.255.255

Definition at line 71 of file lwip/inet.h.

Variable Documentation

const struct in6_addr in6addr_any

This variable is initialized by the system to contain the wildcard IPv6 address.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.