Searched refs:udph (Results 1 – 1 of 1) sorted by relevance
| /mOS-networking-stack/core/src/ |
| H A D | debug.c | 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() 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() [all …]
|