GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
dnsjit.filter.timing(3) FreeBSD Library Functions Manual dnsjit.filter.timing(3)

dnsjit.filter.timing - Filter to pass objects to the next receiver based on timing between packets


local filter = require("dnsjit.filter.timing").new()
...
filter:receiver(...)

Filter to manipulate processing so it simulates the actual timing when packets arrived or to delay processing.

Create a new Timing filter.
Return the Log object to control logging of this instance or module.
Set the timing mode to keep the timing between packets.
Set the timing mode to increase the timing between packets by the given number of nanoseconds.
Set the timing mode to reduce the timing between packets by the given number of nanoseconds.
Set the timing mode to multiply the timing between packets by the given factor (float/double).
Set the timing mode to a fixed number of nanoseconds between packets.
Set the timing mode to simulate the timing of packets in realtime. Packets are processed in batches of given size (default 128) before adjusting time. Aborts if real time drifts ahead more than given number of seconds (default 1.0s).
Return the C functions and context for receiving objects.
Set the receiver to pass objects to.
Return the C functions and context for producing objects.
Set the producer to get objects from.

Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

Maintained by DNS-OARC

https://www.dns-oarc.net/

For issues and feature requests please use:

https://github.com/DNS-OARC/dnsjit/issues

For question and help please use:

admin@dns-oarc.net
1.4.0 dnsjit

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.