Lines Matching refs:ntohs
44 frag_flags = ntohs(header->frag_off); in dump_ip()
50 printf("tot_len = %x\n",ntohs(header->tot_len)); in dump_ip()
51 printf("id = %x\n",ntohs(header->id)); in dump_ip()
65 printf("checksum = %x\n",ntohs(header->check)); in dump_ip()
80 printf("payload len = %x\n",ntohs(header->ip6_plen)); in dump_ip6()
105 printf("icmp.checksum = %x\n",ntohs(icmp->checksum)); in dump_icmp()
107 printf("icmp.un.echo.id = %x\n",ntohs(icmp->un.echo.id)); in dump_icmp()
108 printf("icmp.un.echo.sequence = %x\n",ntohs(icmp->un.echo.sequence)); in dump_icmp()
142 printf("source = %x\n",ntohs(udp->source)); in dump_udp_generic()
143 printf("dest = %x\n",ntohs(udp->dest)); in dump_udp_generic()
144 printf("len = %x\n",ntohs(udp->len)); in dump_udp_generic()
176 printf("source = %x\n",ntohs(tcp->source)); in dump_tcp_generic()
177 printf("dest = %x\n",ntohs(tcp->dest)); in dump_tcp_generic()
190 printf("window = %x\n",ntohs(tcp->window)); in dump_tcp_generic()