]> git.llucax.com Git - z.facultad/75.74/practicos.git/blobdiff - practicas/pipi/src/resolvproto.cpp
No se crea más la cola porque la crea el mismo DevQue.
[z.facultad/75.74/practicos.git] / practicas / pipi / src / resolvproto.cpp
index 55e960c570375c925ed82e92852eebcc1209a6ca..f55bbf20d70dacf795e2fb93e8da9794e5478ef5 100644 (file)
@@ -4,7 +4,7 @@
 #include <iterator>
 
 /// Constructor
 #include <iterator>
 
 /// Constructor
-ResolvProtoRequest::ResolvProtoRequest(std::string name, uint8_t query_type):
+ResolvProtoRequest::ResolvProtoRequest(std::string name, rp_pkt_type_t query_type):
     query_type(query_type), name(name)
 {}
 
     query_type(query_type), name(name)
 {}
 
@@ -40,7 +40,7 @@ std::ostream& operator<< (std::ostream& os, const ResolvProtoRequest& rpr)
 }
 
 /// Constructor
 }
 
 /// Constructor
-ResolvProtoResponse::ResolvProtoResponse(): ret(R_NOTFOUND), ttl(0)
+ResolvProtoResponse::ResolvProtoResponse(): ret(RP_RES_NOTFOUND), ttl(0)
 {
 }
 
 {
 }
 
@@ -63,7 +63,7 @@ ResolvProtoResponse::ResolvProtoResponse(std::string buf)
 }
 
 /// Constructor
 }
 
 /// Constructor
-ResolvProtoResponse::ResolvProtoResponse(ret_t ret, uint32_t ttl,
+ResolvProtoResponse::ResolvProtoResponse(rp_pkt_type_t ret, uint32_t ttl,
         const ipvec_t& ips):
     ret(ret), ttl(ttl), ips(ips)
 {}
         const ipvec_t& ips):
     ret(ret), ttl(ttl), ips(ips)
 {}