fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
dns_packet.c File Reference

DNS low level packet routine. More...

#include "error.h"
#include "dnsresolv.h"
Include dependency graph for dns_packet.c:

Go to the source code of this file.

Functions

unsigned int dns_packet_copy (const char *buf, unsigned int len, unsigned int pos, char *out, unsigned int outlen)
 
unsigned int dns_packet_skipname (const char *buf, unsigned int len, unsigned int pos)
 
unsigned int dns_packet_getname (const char *buf, unsigned int len, unsigned int pos, char **d)
 

Detailed Description

DNS low level packet routine.

Author
djb ucspi-tcp

DNS should have used LZ77 instead of its own sophomoric compression algorithm.

Definition in file dns_packet.c.

Function Documentation

◆ dns_packet_copy()

unsigned int dns_packet_copy ( const char *  buf,
unsigned int  len,
unsigned int  pos,
char *  out,
unsigned int  outlen 
)

Definition at line 12 of file dns_packet.c.

Here is the caller graph for this function:

◆ dns_packet_getname()

unsigned int dns_packet_getname ( const char *  buf,
unsigned int  len,
unsigned int  pos,
char **  d 
)

Definition at line 39 of file dns_packet.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dns_packet_skipname()

unsigned int dns_packet_skipname ( const char *  buf,
unsigned int  len,
unsigned int  pos 
)

Definition at line 22 of file dns_packet.c.

Here is the caller graph for this function: