Lines Matching refs:ntohl
829 switch (ntohl(key->mask)) { in print_ipv4()
831 fprintf(f, "\n match IP ihl %u", ntohl(key->val) >> 24); in print_ipv4()
834 fprintf(f, "\n match IP dsfield %#x", ntohl(key->val) >> 16); in print_ipv4()
839 if (ntohl(key->mask) == 0x00ff0000) { in print_ipv4()
840 fprintf(f, "\n match IP protocol %d", ntohl(key->val) >> 16); in print_ipv4()
859 switch (ntohl(key->mask)) { in print_ipv4()
862 ntohl(key->val) & 0xffff); in print_ipv4()
866 ntohl(key->val) >> 16); in print_ipv4()
870 ntohl(key->val) & 0xffff, in print_ipv4()
871 ntohl(key->val) >> 16); in print_ipv4()
885 switch (ntohl(key->mask)) { in print_ipv6()
887 fprintf(f, "\n match IP ihl %u", ntohl(key->val) >> 24); in print_ipv6()
890 fprintf(f, "\n match IP dsfield %#x", ntohl(key->val) >> 16); in print_ipv6()
895 if (ntohl(key->mask) == 0x00ff0000) { in print_ipv6()
896 fprintf(f, "\n match IP protocol %d", ntohl(key->val) >> 16); in print_ipv6()
915 switch (ntohl(key->mask)) { in print_ipv6()
918 ntohl(key->val) & 0xffff); in print_ipv6()
922 ntohl(key->val) >> 16); in print_ipv6()
926 ntohl(key->val) & 0xffff, in print_ipv6()
927 ntohl(key->val) >> 16); in print_ipv6()
938 (unsigned int)ntohl(key->val), in print_raw()
939 (unsigned int)ntohl(key->mask), in print_raw()