Merge branch '64bit' into 'master'
Use 64bit counters for accounting Closes #12 See merge request l2tpns/l2tpns!13
This commit is contained in:
commit
40a02aa8d5
4 changed files with 151 additions and 10 deletions
2
l2tpns.h
2
l2tpns.h
|
|
@ -306,7 +306,7 @@ typedef struct
|
|||
uint32_t pin, pout; // packet counts
|
||||
uint32_t cin, cout; // byte counts
|
||||
uint32_t cin_wrap, cout_wrap; // byte counter wrap count (RADIUS accounting giagawords)
|
||||
uint32_t cin_delta, cout_delta; // byte count changes (for dump_session())
|
||||
uint64_t cin_delta, cout_delta; // byte count changes (for dump_session())
|
||||
uint16_t throttle_in; // upstream throttle rate (kbps)
|
||||
uint16_t throttle_out; // downstream throttle rate
|
||||
uint8_t filter_in; // input filter index (to ip_filters[N-1]; 0 if none)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue