Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | |||||
#define IF_SND_TAG_TYPE_UNLIMITED 1 | #define IF_SND_TAG_TYPE_UNLIMITED 1 | ||||
#define IF_SND_TAG_TYPE_TLS 2 | #define IF_SND_TAG_TYPE_TLS 2 | ||||
#define IF_SND_TAG_TYPE_MAX 3 | #define IF_SND_TAG_TYPE_MAX 3 | ||||
struct if_snd_tag_alloc_header { | struct if_snd_tag_alloc_header { | ||||
uint32_t type; /* send tag type, see IF_SND_TAG_XXX */ | uint32_t type; /* send tag type, see IF_SND_TAG_XXX */ | ||||
uint32_t flowid; /* mbuf hash value */ | uint32_t flowid; /* mbuf hash value */ | ||||
uint32_t flowtype; /* mbuf hash type */ | uint32_t flowtype; /* mbuf hash type */ | ||||
uint8_t numa_domain; /* numa domain of associated inp */ | |||||
}; | }; | ||||
struct if_snd_tag_alloc_rate_limit { | struct if_snd_tag_alloc_rate_limit { | ||||
struct if_snd_tag_alloc_header hdr; | struct if_snd_tag_alloc_header hdr; | ||||
uint64_t max_rate; /* in bytes/s */ | uint64_t max_rate; /* in bytes/s */ | ||||
uint32_t flags; /* M_NOWAIT or M_WAITOK */ | uint32_t flags; /* M_NOWAIT or M_WAITOK */ | ||||
uint32_t reserved; /* alignment */ | uint32_t reserved; /* alignment */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 592 Lines • Show Last 20 Lines |