Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/net/ipv6.h
Show All 32 Lines | |||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <netinet/in.h> | #include <netinet/in.h> | ||||
#include <linux/types.h> | #include <linux/types.h> | ||||
#include <linux/bitops.h> | #include <linux/bitops.h> | ||||
#define IPV6_DEFAULT_HOPLIMIT 64 | #define IPV6_DEFAULT_HOPLIMIT 64 | ||||
#define NEXTHDR_HOP IPPROTO_HOPOPTS | |||||
#define NEXTHDR_ROUTING IPPROTO_ROUTING | |||||
#define NEXTHDR_NONE IPPROTO_NONE | |||||
#define NEXTHDR_DEST IPPROTO_DSTOPTS | |||||
#define ipv6_addr_loopback(addr) IN6_IS_ADDR_LOOPBACK(addr) | #define ipv6_addr_loopback(addr) IN6_IS_ADDR_LOOPBACK(addr) | ||||
#define ipv6_addr_any(addr) IN6_IS_ADDR_UNSPECIFIED(addr) | #define ipv6_addr_any(addr) IN6_IS_ADDR_UNSPECIFIED(addr) | ||||
#define ipv6_addr_copy(dst, src) \ | #define ipv6_addr_copy(dst, src) \ | ||||
memcpy((dst), (src), sizeof(struct in6_addr)) | memcpy((dst), (src), sizeof(struct in6_addr)) | ||||
static inline void | static inline void | ||||
ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, | ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |