#include "decode_dns.h"#include "decode_udp.h"#include "../packets/packet.h"#include <stdio.h>#include <stdlib.h>#include <netinet/in.h>Go to the source code of this file.
Functions | |
| int | DNS2Human (char *DNS, char *Human, int HumanLen) |
| void * | DecodeDNS (int PacketSlot) |
| int | InitDecoderDNS () |
Variables | |
| GlobalVars | Globals |
| int | UDPDecoderID |
| void* DecodeDNS | ( | int | PacketSlot | ) |
Definition at line 53 of file decode_dns.c.
References packet_rec::BeginData, DNS2Human(), DNS_FLAG_QUERY, dns_header_1::Flags, GetDataByID(), Globals, dns_data::Header1, MAX_DNS_QUERY_LEN, MAX_DNS_QUESTIONS, NULL, global_vars::Packets, dns_data::Q, dns_qestion::Query, dns_header_1::Questions, packet_rec::RawPacket, and UDPDecoderID.
Referenced by InitDecoderDNS().
| int DNS2Human | ( | char * | DNS, | |
| char * | Human, | |||
| int | HumanLen | |||
| ) |
| int InitDecoderDNS | ( | ) |
Definition at line 123 of file decode_dns.c.
References CreateDecoder(), DecodeDNS(), decoder_rec::DecodeFunc, DECODER_NONE, DecoderAddDecoder(), global_vars::Decoders, FALSE, GetDecoderByName(), Globals, TRUE, and UDPDecoderID.
Referenced by InitDecoders().
| int UDPDecoderID |
Definition at line 12 of file decode_dns.c.
Referenced by DecodeDNS(), HandleIPPacket(), InitDecoderDNS(), InitRouteBNS(), InitTestUDPContent(), InitTestUDPDst(), InitTestUDPNoCase(), InitTestUDPRegExp(), InitTestUDPSrc(), ProcessPacket(), TestUDPDst(), and TestUDPSrc().
1.5.2