LIBSSDP
 All Classes Files Functions Variables Typedefs Macros
Macros
net_definitions.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IPv4_STR_MAX_SIZE   16
 
#define IPv6_STR_MAX_SIZE   46
 
#define MAC_STR_MAX_SIZE   18
 
#define PORT_MAX_NUMBER   65535
 

Detailed Description

Network definitions used in many files.

Definition in file net_definitions.h.

Macro Definition Documentation

#define IPv4_STR_MAX_SIZE   16

The maximum size an IPv4 address can take (aaa.bbb.ccc.ddd + '\0').

Definition at line 18 of file net_definitions.h.

#define IPv6_STR_MAX_SIZE   46

The maximum size an IPv6 address can take (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:aaa.bbb.ccc.ddd + '\0').

Definition at line 23 of file net_definitions.h.

#define MAC_STR_MAX_SIZE   18

The maximum size a MAC address can take (00:40:8C:1A:2B:3C + '\0').

Definition at line 25 of file net_definitions.h.

#define PORT_MAX_NUMBER   65535

The last port number.

Definition at line 27 of file net_definitions.h.