Go to the source code of this file.
|
| CK_LIST_HEAD (head_tcp_rate_set, tcp_rate_set) |
|
static const struct tcp_hwrate_limit_table * | tcp_set_pacing_rate (struct tcpcb *tp, struct ifnet *ifp, uint64_t bytes_per_sec, int flags, int *error, uint64_t *lower_rate) |
|
static const struct tcp_hwrate_limit_table * | tcp_chg_pacing_rate (const struct tcp_hwrate_limit_table *crte, struct tcpcb *tp, struct ifnet *ifp, uint64_t bytes_per_sec, int flags, int *error, uint64_t *lower_rate) |
|
static void | tcp_rel_pacing_rate (const struct tcp_hwrate_limit_table *crte, struct tcpcb *tp) |
|
static uint64_t | tcp_hw_highest_rate (const struct tcp_hwrate_limit_table *rle) |
|
static uint64_t | tcp_hw_highest_rate_ifp (struct ifnet *ifp, struct inpcb *inp) |
|
uint32_t | tcp_get_pacing_burst_size (struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1mss, const struct tcp_hwrate_limit_table *te, int *err) |
|
void | tcp_rl_log_enobuf (const struct tcp_hwrate_limit_table *rte) |
|
◆ ETHERNET_SEGMENT_SIZE
#define ETHERNET_SEGMENT_SIZE 1514 |
◆ HDWRPACE_IFPDEPARTED
#define HDWRPACE_IFPDEPARTED 0x0004 |
◆ HDWRPACE_INITED
#define HDWRPACE_INITED 0x0001 |
◆ HDWRPACE_TAGPRESENT
#define HDWRPACE_TAGPRESENT 0x0002 |
◆ RS_FUNERAL_SCHD
#define RS_FUNERAL_SCHD 0x0040 /* Is a epoch call scheduled to bury this guy?*/ |
◆ RS_INT_TBL
◆ RS_INTF_NO_SUP
#define RS_INTF_NO_SUP 0x0100 /* The interface does not support the ratelimiting */ |
◆ RS_IS_DEAD
#define RS_IS_DEAD 0x0020 /* The RS is dead list */ |
◆ RS_IS_DEFF
#define RS_IS_DEFF 0x0001 /* Its a lagg, do a double lookup */ |
◆ RS_IS_INTF
#define RS_IS_INTF 0x0002 /* Its a plain interface */ |
◆ RS_NO_PRE
#define RS_NO_PRE 0x0004 /* The interfacd has set rates */ |
◆ RS_PACING_EXACT_MATCH
#define RS_PACING_EXACT_MATCH 0x0001 /* Need an exact match for rate */ |
◆ RS_PACING_GEQ
#define RS_PACING_GEQ 0x0004 /* Greater than or equal too */ |
◆ RS_PACING_GT
#define RS_PACING_GT 0x0002 /* Greater than requested */ |
◆ RS_PACING_LT
#define RS_PACING_LT 0x0008 /* Less than requested rate */ |
◆ RS_PACING_SUB_OK
◆ CK_LIST_HEAD()
◆ tcp_chg_pacing_rate()
◆ tcp_get_pacing_burst_size()
◆ tcp_hw_highest_rate()
◆ tcp_hw_highest_rate_ifp()
static uint64_t tcp_hw_highest_rate_ifp |
( |
struct ifnet * |
ifp, |
|
|
struct inpcb * |
inp |
|
) |
| |
|
inlinestatic |
◆ tcp_rel_pacing_rate()
◆ tcp_rl_log_enobuf()
◆ tcp_set_pacing_rate()
static const struct tcp_hwrate_limit_table * tcp_set_pacing_rate |
( |
struct tcpcb * |
tp, |
|
|
struct ifnet * |
ifp, |
|
|
uint64_t |
bytes_per_sec, |
|
|
int |
flags, |
|
|
int * |
error, |
|
|
uint64_t * |
lower_rate |
|
) |
| |
|
inlinestatic |