provide a generic packet delay functionality. packets to be delayed are marked
authorhenning <henning@openbsd.org>
Tue, 10 Jul 2018 09:28:27 +0000 (09:28 +0000)
committerhenning <henning@openbsd.org>
Tue, 10 Jul 2018 09:28:27 +0000 (09:28 +0000)
commit64d55eb2a2f453fba861fc092ebf3df4993ab9a0
treed55483f4970addda70339ab7923b4a88ca262f7a
parent5cd7bad0a1a389cd37677949e56949ce739be85d
provide a generic packet delay functionality. packets to be delayed are marked
by pf in the packet header. pf_delay_pkt reads the delay value from the packet
header, schedules a timeout and re-queues the packet when the timeout fires.
ok benno sashan
sys/net/pf.c
sys/net/pf_ioctl.c
sys/net/pfvar.h
sys/sys/mbuf.h