dns-srv.cpp File Reference
#include "dns-srv.hpp"
#include <sys/types.h>
#include <arpa/nameser.h>
#include <netinet/in.h>
#include <resolv.h>
#include <ndn-cxx/util/backports.hpp>
#include <ndn-cxx/util/exception.hpp>
#include <iostream>
#include <boost/endian/conversion.hpp>
+ Include dependency graph for dns-srv.cpp:

Go to the source code of this file.

Namespaces

 ndn
 
 ndn::autoconfig
 

Functions

static std::string ndn::autoconfig::parseSrvRr (const QueryAnswer &queryAnswer, int answerSize)
 Parse SRV record. More...
 
std::string ndn::autoconfig::querySrvRr (const std::string &fqdn)
 Send DNS SRV request for fqdn. More...
 
std::string ndn::autoconfig::querySrvRrSearch ()
 Send DNS SRV request using search domain list. More...