You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
441 B
14 lines
441 B
4 months ago
|
#define ADDR_FAMILY_FIELD sin6_family
|
||
|
#define ADDR_FAMILY AF_INET6
|
||
|
#define AF_STR "AF_INET6"
|
||
|
#define LOOPBACK_FIELD .sin6_addr = IN6ADDR_LOOPBACK_INIT
|
||
|
#define LOOPBACK "[::1]"
|
||
|
#define SOCKADDR_TYPE sockaddr_in6
|
||
|
#define TCP_STR "TCPv6"
|
||
|
#define INPORT sin6_port
|
||
|
#define INPORT_STR "sin6_port"
|
||
|
#define INADDR_STR "inet_pton(AF_INET6, \"::1\", &sin6_addr)"
|
||
|
#define SA_FIELDS ", sin6_flowinfo=htonl(0), sin6_scope_id=0"
|
||
|
|
||
|
#include "net-yy-inet.c"
|