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:
parent
0a92dbd390
commit
be4a4144f2
17 changed files with 51 additions and 40 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue