aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_dummynet.h
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <loos@FreeBSD.org>2021-08-17 07:54:40 +0000
committerKristof Provost <kp@FreeBSD.org>2021-08-19 08:48:53 +0000
commit20ffd88ed54fe3fd098ac30bd221275b2a14f52c (patch)
treefd94464e1ae3973047cefc58103d5fc650295042 /sys/netinet/ip_dummynet.h
parent35b253d9d238c46a710a0cd7ba027ec87ba7c8ba (diff)
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r--sys/netinet/ip_dummynet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h
index de38ed9fbedf..533dc5ccd85f 100644
--- a/sys/netinet/ip_dummynet.h
+++ b/sys/netinet/ip_dummynet.h
@@ -131,7 +131,7 @@ struct dn_link {
* XXX what about burst ?
*/
int32_t link_nr;
- int bandwidth; /* bit/s or bits/tick. */
+ uint32_t bandwidth; /* bit/s or bits/tick. */
int delay; /* ms and ticks */
uint64_t burst; /* scaled. bits*Hz XXX */
};
@@ -214,7 +214,7 @@ struct dn_profile {
char name[ED_MAX_NAME_LEN];
int link_nr;
int loss_level;
- int bandwidth; // XXX use link bandwidth?
+ uint32_t bandwidth; // XXX use link bandwidth?
int samples_no; /* actual len of samples[] */
int samples[ED_MAX_SAMPLES_NO]; /* may be shorter */
};