Lines Matching refs:daddr
18 DumpICMPPacket(struct icmphdr *icmph, uint32_t saddr, uint32_t daddr);
61 ICMPOutput(struct mtcp_manager *mtcp, struct pkt_ctx *pctx, uint32_t saddr, uint32_t daddr, in ICMPOutput() argument
74 nif = GetOutputInterface(daddr); in ICMPOutput()
79 haddr = GetDestinationHWaddr(daddr); in ICMPOutput()
81 uint8_t *da = (uint8_t *)&daddr; in ICMPOutput()
87 RequestARP(mtcp, daddr, nif, mtcp->cur_ts); in ICMPOutput()
88 haddr = GetDestinationHWaddr(daddr); in ICMPOutput()
114 iph->daddr = daddr; in ICMPOutput()
136 DumpICMPPacket(icmph, saddr, daddr); in ICMPOutput()
142 RequestICMP(mtcp_manager_t mtcp, struct pkt_ctx *pctx, uint32_t saddr, uint32_t daddr, in RequestICMP() argument
147 ICMPOutput(mtcp, pctx, saddr, daddr, ICMP_ECHO, 0, ntohs(icmp_id), ntohs(icmp_sequence), in RequestICMP()
160 ICMPOutput(mtcp, pctx, pctx->p.iph->daddr, pctx->p.iph->saddr, ICMP_ECHOREPLY, 0, in ProcessICMPECHORequest()
195 if (pctx->p.iph->daddr == g_config.mos->netdev_table->ent[i]->ip_addr) { in ProcessICMPPacket()
231 DumpICMPPacket(struct icmphdr *icmph, uint32_t saddr, uint32_t daddr) in DumpICMPPacket() argument
245 t = (uint8_t *)&daddr; in DumpICMPPacket()