Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6.h
Show First 20 Lines • Show All 517 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Defaults and limits for options | * Defaults and limits for options | ||||
*/ | */ | ||||
#define IPV6_DEFAULT_MULTICAST_HOPS 1 /* normally limit m'casts to 1 hop */ | #define IPV6_DEFAULT_MULTICAST_HOPS 1 /* normally limit m'casts to 1 hop */ | ||||
#define IPV6_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */ | #define IPV6_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */ | ||||
/* | /* | ||||
* The im6o_membership vector for each socket is now dynamically allocated at | * Limit for IPv6 multicast memberships | ||||
* run-time, bounded by USHRT_MAX, and is reallocated when needed, sized | |||||
* according to a power-of-two increment. | |||||
*/ | */ | ||||
#define IPV6_MIN_MEMBERSHIPS 31 | |||||
#define IPV6_MAX_MEMBERSHIPS 4095 | #define IPV6_MAX_MEMBERSHIPS 4095 | ||||
/* | /* | ||||
* Default resource limits for IPv6 multicast source filtering. | * Default resource limits for IPv6 multicast source filtering. | ||||
* These may be modified by sysctl. | * These may be modified by sysctl. | ||||
*/ | */ | ||||
#define IPV6_MAX_GROUP_SRC_FILTER 512 /* sources per group */ | #define IPV6_MAX_GROUP_SRC_FILTER 512 /* sources per group */ | ||||
#define IPV6_MAX_SOCK_SRC_FILTER 128 /* sources per socket/group */ | #define IPV6_MAX_SOCK_SRC_FILTER 128 /* sources per socket/group */ | ||||
▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines |