1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:07:34 +00:00

LookupServer: Move DNS related code into new LibDNS library

This allows other code to use the DNSPacket class, e.g. when sent
over IPC.
This commit is contained in:
Tom 2022-04-12 23:25:07 -06:00 committed by Linus Groh
parent 0a92dbd390
commit be4a4144f2
17 changed files with 51 additions and 40 deletions

View file

@ -6,15 +6,17 @@
#pragma once
#include "DNSAnswer.h"
#include "DNSName.h"
#include "DNSPacket.h"
#include <AK/IPv4Address.h>
#include <LibCore/UDPServer.h>
#include <LibDNS/DNSAnswer.h>
#include <LibDNS/DNSName.h>
#include <LibDNS/DNSPacket.h>
#include <netinet/in.h>
namespace LookupServer {
using namespace DNS;
class MulticastDNS : public Core::UDPServer {
C_OBJECT(MulticastDNS)
public: