VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "../sys/types.h"
#include "../sys/socket.h"
#include "../arpa/inet.h"
Go to the source code of this file.
Data Structures | |
struct | in_addr |
struct | sockaddr_in |
struct | ip_mreq |
struct | in_pktinfo |
struct | in6_addr |
struct | sockaddr_in6 |
struct | ipv6_mreq |
Macros | |
#define | IPPROTO_IP IPPROTO_IP |
#define | IPPROTO_ICMP IPPROTO_ICMP |
#define | IPPROTO_IGMP IPPROTO_IGMP |
#define | IPPROTO_TCP IPPROTO_TCP |
#define | IPPROTO_UDP IPPROTO_UDP |
#define | IPPROTO_IPV6 IPPROTO_IPV6 |
#define | IPPROTO_RAW IPPROTO_RAW |
#define | INADDR_ANY (in_addr_t)0x00000000 |
#define | INADDR_NONE (in_addr_t)0xFFFFFFFF |
#define | INADDR_BROADCAST (in_addr_t)0xFFFFFFFF |
#define | INADDR_LOOPBACK (in_addr_t)0x7F000001 |
#define | IN_CLASSA(a) ((((long int) (a)) & 0x80000000) == 0) |
#define | IN_CLASSA_NET 0xff000000 |
#define | IN_CLASSA_NSHIFT 24 |
#define | IN_CLASSA_HOST (0xffffffff & ~IN_CLASSA_NET) |
#define | IN_CLASSA_MAX 128 |
#define | IN_CLASSB(a) ((((long int) (a)) & 0xc0000000) == 0x80000000) |
#define | IN_CLASSB_NET 0xffff0000 |
#define | IN_CLASSB_NSHIFT 16 |
#define | IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET) |
#define | IN_CLASSB_MAX 65536 |
#define | IN_CLASSC(a) ((((long int) (a)) & 0xe0000000) == 0xc0000000) |
#define | IN_CLASSC_NET 0xffffff00 |
#define | IN_CLASSC_NSHIFT 8 |
#define | IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET) |
#define | IN_CLASSD(a) ((((long int) (a)) & 0xf0000000) == 0xe0000000) |
#define | IN_MULTICAST(a) IN_CLASSD(a) |
#define | IN_MULTICAST_NET 0xe0000000 |
#define | IN6_IS_ADDR_MULTICAST(a) (((const uint8_t *) (a))[0] == 0xff) |
#define | IN6_IS_ADDR_MC_NODELOCAL(a) |
#define | IN6_IS_ADDR_MC_LINKLOCAL(a) |
#define | IN6_IS_ADDR_MC_SITELOCAL(a) |
#define | IN6_IS_ADDR_MC_ORGLOCAL(a) |
#define | IN6_IS_ADDR_MC_GLOBAL(a) |
#define | IN6_IS_ADDR_UNSPECIFIED(a) |
#define | IN6_IS_ADDR_LOOPBACK(a) |
#define | IN6_IS_ADDR_LINKLOCAL(a) |
#define | IN6_IS_ADDR_SITELOCAL(a) |
#define | IN6_IS_ADDR_V4MAPPED(a) |
#define | IN6_IS_ADDR_V4COMPAT(a) |
#define | IN6_ARE_ADDR_EQUAL(a, b) |
#define | INET_ADDRSTRLEN 16 |
#define | SIN_ZERO_LEN 8 |
#define | INET6_ADDRSTRLEN 46 |
#define | IN6ADDR_ANY_INIT { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } |
#define | IN6ADDR_LOOPBACK_INIT { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 } |
#define | s6_addr in6_u.u6_addr8 |
#define | s6_addr16 in6_u.u6_addr16 |
#define | s6_addr32 in6_u.u6_addr32 |
Typedefs | |
typedef uint16_t | in_port_t |
typedef uint32_t | in_addr_t |
Enumerations | |
enum | { IPPROTO_IP = 0 , IPPROTO_IP = 0 , IPPROTO_ICMP = 1 , IPPROTO_ICMP = 1 , IPPROTO_IGMP = 2 , IPPROTO_IGMP = 2 , IPPROTO_TCP = 6 , IPPROTO_TCP = 6 , IPPROTO_UDP = 17 , IPPROTO_UDP = 17 , IPPROTO_IPV6 = 41 , IPPROTO_IPV6 = 41 , IPPROTO_RAW = 255 , IPPROTO_RAW = 255 } |
Variables | |
const struct in6_addr | in6addr_any |
const struct in6_addr | in6addr_loopback |
#define IPPROTO_IP IPPROTO_IP |
#define IPPROTO_ICMP IPPROTO_ICMP |
#define IPPROTO_IGMP IPPROTO_IGMP |
#define IPPROTO_TCP IPPROTO_TCP |
#define IPPROTO_UDP IPPROTO_UDP |
#define IPPROTO_IPV6 IPPROTO_IPV6 |
#define IPPROTO_RAW IPPROTO_RAW |
#define INADDR_ANY (in_addr_t)0x00000000 |
#define INADDR_NONE (in_addr_t)0xFFFFFFFF |
#define INADDR_BROADCAST (in_addr_t)0xFFFFFFFF |
#define INADDR_LOOPBACK (in_addr_t)0x7F000001 |
#define IN_CLASSA | ( | a | ) | ((((long int) (a)) & 0x80000000) == 0) |
#define IN_CLASSA_NET 0xff000000 |
#define IN_CLASSA_NSHIFT 24 |
#define IN_CLASSA_HOST (0xffffffff & ~IN_CLASSA_NET) |
#define IN_CLASSA_MAX 128 |
#define IN_CLASSB | ( | a | ) | ((((long int) (a)) & 0xc0000000) == 0x80000000) |
#define IN_CLASSB_NET 0xffff0000 |
#define IN_CLASSB_NSHIFT 16 |
#define IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET) |
#define IN_CLASSB_MAX 65536 |
#define IN_CLASSC | ( | a | ) | ((((long int) (a)) & 0xe0000000) == 0xc0000000) |
#define IN_CLASSC_NET 0xffffff00 |
#define IN_CLASSC_NSHIFT 8 |
#define IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET) |
#define IN_CLASSD | ( | a | ) | ((((long int) (a)) & 0xf0000000) == 0xe0000000) |
#define IN_MULTICAST | ( | a | ) | IN_CLASSD(a) |
#define IN_MULTICAST_NET 0xe0000000 |
#define IN6_IS_ADDR_MULTICAST | ( | a | ) | (((const uint8_t *) (a))[0] == 0xff) |
#define IN6_IS_ADDR_MC_NODELOCAL | ( | a | ) |
#define IN6_IS_ADDR_MC_LINKLOCAL | ( | a | ) |
#define IN6_IS_ADDR_MC_SITELOCAL | ( | a | ) |
#define IN6_IS_ADDR_MC_ORGLOCAL | ( | a | ) |
#define IN6_IS_ADDR_MC_GLOBAL | ( | a | ) |
#define IN6_IS_ADDR_UNSPECIFIED | ( | a | ) |
#define IN6_IS_ADDR_LOOPBACK | ( | a | ) |
#define IN6_IS_ADDR_LINKLOCAL | ( | a | ) |
#define IN6_IS_ADDR_SITELOCAL | ( | a | ) |
#define IN6_IS_ADDR_V4MAPPED | ( | a | ) |
#define IN6_IS_ADDR_V4COMPAT | ( | a | ) |
#define IN6_ARE_ADDR_EQUAL | ( | a, | |
b | |||
) |
#define INET_ADDRSTRLEN 16 |
#define SIN_ZERO_LEN 8 |
#define INET6_ADDRSTRLEN 46 |
#define IN6ADDR_ANY_INIT { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } |
#define IN6ADDR_LOOPBACK_INIT { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 } |
#define s6_addr in6_u.u6_addr8 |
#define s6_addr16 in6_u.u6_addr16 |
#define s6_addr32 in6_u.u6_addr32 |
anonymous enum |
|
extern |
|
extern |