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.
30 lines
552 B
30 lines
552 B
|
5 years ago
|
#pragma once
|
||
|
|
|
||
|
|
#include_next <netinet/in.h>
|
||
|
|
|
||
|
|
struct in6_addr {
|
||
|
4 years ago
|
uint8_t s6_addr[16];
|
||
|
5 years ago
|
};
|
||
|
|
|
||
|
|
struct ipv6_mreq {
|
||
|
4 years ago
|
struct in6_addr ipv6mr_multiaddr;
|
||
|
|
unsigned ipv6mr_interface;
|
||
|
5 years ago
|
};
|
||
|
|
|
||
|
|
struct sockaddr_in6 {
|
||
|
4 years ago
|
sa_family_t sin6_family;
|
||
|
|
in_port_t sin6_port;
|
||
|
|
uint32_t sin6_flowinfo;
|
||
|
|
struct in6_addr sin6_addr;
|
||
|
|
uint32_t sin6_scope_id;
|
||
|
5 years ago
|
};
|
||
|
|
|
||
|
|
#define IPPROTO_IPV6 -1
|
||
|
|
#define IP_MULTICAST_IF -1
|
||
|
|
#define IPV6_JOIN_GROUP -1
|
||
|
|
#define IPV6_LEAVE_GROUP -1
|
||
|
|
#define IPV6_UNICAST_HOPS -1
|
||
|
|
#define IPV6_MULTICAST_HOPS -1
|
||
|
|
#define IPV6_MULTICAST_IF -1
|
||
|
|
#define IPV6_MULTICAST_LOOP -1
|