ext/socket/sockport.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SA_LEN(sa)   (sizeof(struct sockaddr))
#define SS_LEN(ss)   (sizeof(struct sockaddr))
#define SET_SA_LEN(sa, len)   (void)(len)
#define SET_SS_LEN(ss, len)   (void)(len)
#define SIN_LEN(si)   sizeof(struct sockaddr_in)
#define SET_SIN_LEN(si, len)
#define IN_CLASSD(i)   (((long)(i) & 0xf0000000) == 0xe0000000)
#define IN_MULTICAST(i)   IN_CLASSD(i)
#define IN_EXPERIMENTAL(i)   ((((long)(i)) & 0xe0000000) == 0xe0000000)
#define IN_CLASSA_NSHIFT   24
#define IN_LOOPBACKNET   127
#define AF_UNSPEC   0
#define PF_UNSPEC   AF_UNSPEC
#define PF_INET   AF_INET


Define Documentation

#define AF_UNSPEC   0

#define IN_CLASSA_NSHIFT   24

Definition at line 61 of file sockport.h.

Referenced by getaddrinfo(), and getnameinfo().

#define IN_CLASSD (  )     (((long)(i) & 0xf0000000) == 0xe0000000)

Definition at line 52 of file sockport.h.

#define IN_EXPERIMENTAL (  )     ((((long)(i)) & 0xe0000000) == 0xe0000000)

Definition at line 57 of file sockport.h.

Referenced by getaddrinfo(), and getnameinfo().

#define IN_LOOPBACKNET   127

Definition at line 65 of file sockport.h.

Referenced by getaddrinfo().

#define IN_MULTICAST (  )     IN_CLASSD(i)

Definition at line 53 of file sockport.h.

Referenced by getaddrinfo(), and getnameinfo().

#define PF_INET   AF_INET

#define PF_UNSPEC   AF_UNSPEC

#define SA_LEN ( sa   )     (sizeof(struct sockaddr))

Definition at line 29 of file sockport.h.

Referenced by getnameinfo(), make_ipaddr0(), rsock_ipaddr(), and sock_s_getnameinfo().

#define SET_SA_LEN ( sa,
len   )     (void)(len)

Definition at line 39 of file sockport.h.

#define SET_SIN_LEN ( si,
len   ) 

Definition at line 48 of file sockport.h.

Referenced by make_inetaddr().

#define SET_SS_LEN ( ss,
len   )     (void)(len)

Definition at line 40 of file sockport.h.

#define SIN_LEN ( si   )     sizeof(struct sockaddr_in)

Definition at line 47 of file sockport.h.

#define SS_LEN ( ss   )     (sizeof(struct sockaddr))

Definition at line 30 of file sockport.h.

Referenced by sock_s_getnameinfo().


doxygen