gen_proto
b1 = gen_proto(IPPROTO_TCP, Q_IP, Q_DEFAULT);
b0 = gen_proto(IPPROTO_TCP, Q_IPV6, Q_DEFAULT);
b1 = gen_proto(IPPROTO_UDP, Q_IP, Q_DEFAULT);
b0 = gen_proto(IPPROTO_UDP, Q_IPV6, Q_DEFAULT);
b1 = gen_proto(IPPROTO_ICMP, Q_IP, Q_DEFAULT);
b1 = gen_proto(IPPROTO_IGMP, Q_IP, Q_DEFAULT);
b1 = gen_proto(IPPROTO_IGRP, Q_IP, Q_DEFAULT);
b1 = gen_proto(IPPROTO_PIM, Q_IP, Q_DEFAULT);
b0 = gen_proto(IPPROTO_PIM, Q_IPV6, Q_DEFAULT);
b1 = gen_proto(IPPROTO_ICMPV6, Q_IPV6, Q_DEFAULT);
b1 = gen_proto(IPPROTO_AH, Q_IP, Q_DEFAULT);
b0 = gen_proto(IPPROTO_AH, Q_IPV6, Q_DEFAULT);
b1 = gen_proto(IPPROTO_ESP, Q_IP, Q_DEFAULT);
b0 = gen_proto(IPPROTO_ESP, Q_IPV6, Q_DEFAULT);
static struct block *gen_proto(int, int, int);
b0 = gen_proto(v, Q_IP, dir);
b1 = gen_proto(v, Q_IPV6, dir);
return gen_proto(real_proto, proto, dir);
return gen_proto((int)v, proto, dir);