Home
last modified time | relevance | path

Searched refs:AddrReply (Results 1 – 1 of 1) sorted by relevance

/external/mdnsresponder/mDNSCore/
DuDNS.c3291 NATAddrReply *AddrReply = (NATAddrReply *)pkt; in uDNS_ReceiveNATPMPPacket() local
3296 …if (!AddrReply->err && len < 8) { LogMsg("NAT Traversal message too short (%d bytes)", len); retur… in uDNS_ReceiveNATPMPPacket()
3297 …if (AddrReply->vers != NATMAP_VERS) { LogMsg("Received NAT Traversal response with version %d (exp… in uDNS_ReceiveNATPMPPacket()
3300AddrReply->err = (mDNSu16) ( (mDNSu16)pkt[2] … in uDNS_ReceiveNATPMPPacket()
3301AddrReply->upseconds = (mDNSs32) ((mDNSs32)pkt[4] << 24 | (mDNSs32)pkt[5] << 16 | (mDNSs32)pkt[6] … in uDNS_ReceiveNATPMPPacket()
3303 nat_elapsed = AddrReply->upseconds - m->LastNATupseconds; in uDNS_ReceiveNATPMPPacket()
3305 …eNATPMPPacket %X upseconds %u nat_elapsed %d our_elapsed %d", AddrReply->opcode, AddrReply->upseco… in uDNS_ReceiveNATPMPPacket()
3317 if (AddrReply->upseconds < m->LastNATupseconds || nat_elapsed + 2 < our_elapsed - our_elapsed/8) in uDNS_ReceiveNATPMPPacket()
3320 m->LastNATupseconds = AddrReply->upseconds; in uDNS_ReceiveNATPMPPacket()
3326 if (AddrReply->opcode == NATOp_AddrResponse) in uDNS_ReceiveNATPMPPacket()
[all …]