Searched refs:PortMapReply (Results 1 - 1 of 1) sorted by relevance
/external/mdnsresponder/mDNSCore/ |
H A D | uDNS.c | 3292 NATPortMapReply *PortMapReply = (NATPortMapReply *)pkt; local 3341 mDNS_snprintf(msgbuf, sizeof(msgbuf), "%s - %d", AddrReply->opcode == NATOp_MapUDPResponse ? "UDP" : "TCP", PortMapReply->err); 3342 mDNSASLLog((uuid_t *)&m->asl_uuid, "natt.natpmp.PortMapRequest", PortMapReply->err ? "failure" : "success", msgbuf, ""); 3344 if (!PortMapReply->err) 3346 if (len < sizeof(NATPortMapReply)) { LogMsg("NAT Traversal PortMapReply message too short (%d bytes)", len); return; } 3347 PortMapReply->NATRep_lease = (mDNSu32) ((mDNSu32)pkt[12] << 24 | (mDNSu32)pkt[13] << 16 | (mDNSu32)pkt[14] << 8 | pkt[15]); 3353 m->LastNATMapResultCode = PortMapReply->err; 3356 if (ptr->Protocol == Protocol && mDNSSameIPPort(ptr->IntPort, PortMapReply->intport)) 3357 natTraversalHandlePortMapReply(m, ptr, InterfaceID, PortMapReply->err, PortMapReply [all...] |
Completed in 84 milliseconds