Lines Matching refs:udph
68 struct udphdr *udph; in DumpPacket() local
100 udph = (struct udphdr *)((uint32_t *)iph + iph->ihl); in DumpPacket()
106 thread_printf(mtcp, mtcp->log_fp, "(%d)", ntohs(udph->source)); in DumpPacket()
113 thread_printf(mtcp, mtcp->log_fp, "(%d)", ntohs(udph->dest)); in DumpPacket()
161 struct udphdr *udph; in DumpIPPacket() local
165 udph = (struct udphdr *)((uint32_t *)iph + iph->ihl); in DumpIPPacket()
171 thread_printf(mtcp, mtcp->log_fp, "(%d)", ntohs(udph->source)); in DumpIPPacket()
178 thread_printf(mtcp, mtcp->log_fp, "(%d)", ntohs(udph->dest)); in DumpIPPacket()
219 struct udphdr *udph; in DumpIPPacketToFile() local
223 udph = (struct udphdr *)((uint32_t *)iph + iph->ihl); in DumpIPPacketToFile()
229 fprintf(fout, "(%d)", ntohs(udph->source)); in DumpIPPacketToFile()
236 fprintf(fout, "(%d)", ntohs(udph->dest)); in DumpIPPacketToFile()