Lines Matching refs:ntohs
46 frag_flags = ntohs(header->frag_off); in dump_ip()
52 printf("tot_len = %x\n", ntohs(header->tot_len)); in dump_ip()
53 printf("id = %x\n", ntohs(header->id)); in dump_ip()
67 printf("checksum = %x\n", ntohs(header->check)); in dump_ip()
82 printf("payload len = %x\n", ntohs(header->ip6_plen)); in dump_ip6()
107 printf("icmp.checksum = %x\n", ntohs(icmp->checksum)); in dump_icmp()
109 printf("icmp.un.echo.id = %x\n", ntohs(icmp->un.echo.id)); in dump_icmp()
110 printf("icmp.un.echo.sequence = %x\n", ntohs(icmp->un.echo.sequence)); in dump_icmp()
144 printf("source = %x\n", ntohs(udp->source)); in dump_udp_generic()
145 printf("dest = %x\n", ntohs(udp->dest)); in dump_udp_generic()
146 printf("len = %x\n", ntohs(udp->len)); in dump_udp_generic()
179 printf("source = %x\n", ntohs(tcp->source)); in dump_tcp_generic()
180 printf("dest = %x\n", ntohs(tcp->dest)); in dump_tcp_generic()
193 printf("window = %x\n", ntohs(tcp->window)); in dump_tcp_generic()