pfg
79a1fafeb4
sys/netgraph: spelling fixes in comments.
...
No functional change.
2016-04-29 21:25:05 +00:00
glebius
6c78a88c3b
Node constructor methods are supposed to be called in syscall
...
context always. Convert nodes to consistently use M_WAITOK flag
for memory allocation.
Reviewed by: julian
2011-04-18 09:12:27 +00:00
mav
19447c2a3e
- Account all node stats at the shape mode.
...
- Do not check destination hook presence, it will be done by netgraph.
- Use u_int instead of int in some places to simplify type conversions.
- Use NG_SEND_DATA_ONLY() macro instead of selfmade equivalent.
2008-03-30 07:53:51 +00:00
mav
fd0bef772c
Switch from timeval to bintime, to use 1/(2^20) of seconds instead of
...
microseconds. It allows to use bit shifts instead of some heavy 64bit
mul/div math operations.
2008-03-27 20:04:20 +00:00
mav
f381ac2711
Add option to set packets per second limits instead of default
...
bits per second ones.
2007-12-19 22:50:14 +00:00
mav
a015640863
Add missing ng_uncallout() on node shutdown.
...
Approved by: glebius (mentor)
2007-06-13 11:01:17 +00:00
mav
2401c2cdb8
Fix small copy/paste mistake.
2007-05-17 13:33:38 +00:00
mav
bdc8f5bc7f
Style cleanup.
...
Approved by: glebius (mentor)
2007-05-16 12:11:09 +00:00
mav
e2cf6367f2
A node that implements various traffic shaping and rate limiting algorithms.
...
Approved by: glebius (mentor)
2007-05-15 16:09:23 +00:00