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.core.object.dns.label(3) FreeBSD Library Functions Manual dnsjit.core.object.dns.label(3)

dnsjit.core.object.dns.label - Container of a DNS label

The object that describes a DNS label. To extract a domain name label first check that have_dn is set, then use offset + 1 to indicate where in the payload the label start and length for how many bytes long it is.

Set if there is a length.
Set if there is an offset.
Set if there is extension bits.
Set if the label contained a domain name.
The extension bits.
The length of the domain name.
If have_dn is set then this contains the offset within the payload to where this label start otherwise it contains the offset to another label.

Create a new array of labels.
Returns labels as a string and an offset to the next label. The string may be nil if the first label was an offset. The offset may be nil if the last label was an extension bits or end marker.
Returns labels as a string which also includes a textual notation of the offset in the form of <offset>label.

dnsjit.core.object.dns(3)

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.