diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2009-06-04 12:27:57 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2009-06-04 12:27:57 +0000 |
| commit | c421791e77500b5a4883bbee54d6750ab828bed4 (patch) | |
| tree | 39e81bb34a88361fe5266c4bb47c9f8a630e2ec0 | |
| parent | e38ee1f2b2349da22da3374eabb18d4dacdb41dc (diff) | |
Notes
| -rw-r--r-- | sys/netinet/ip_dummynet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h index 6e102f44486f..43e68429f311 100644 --- a/sys/netinet/ip_dummynet.h +++ b/sys/netinet/ip_dummynet.h @@ -214,8 +214,8 @@ struct dn_flow_queue { * With large bandwidth and large delays, extra_bits (and also numbytes) * can become very large, so better play safe and use 64 bit */ - dn_key numbytes ; /* credit for transmission (dynamic queues) */ - dn_key extra_bits; /* extra bits simulating unavailable channel */ + uint64_t numbytes ; /* credit for transmission (dynamic queues) */ + int64_t extra_bits; /* extra bits simulating unavailable channel */ u_int64_t tot_pkts ; /* statistics counters */ u_int64_t tot_bytes ; @@ -338,7 +338,7 @@ struct dn_pipe { /* a pipe */ int sum; /* sum of weights of all active sessions */ /* Same as in dn_flow_queue, numbytes can become large */ - dn_key numbytes; /* bits I can transmit (more or less). */ + int64_t numbytes; /* bits I can transmit (more or less). */ dn_key sched_time ; /* time pipe was scheduled in ready_heap */ |
