r_protocol
int r_protocol;
new->r_protocol = RULE_PROTO_TCP;
new->r_protocol = RULE_PROTO_UDP;
switch (rule->r_protocol) {
rule->r_protocol);
if (type == SOCK_DGRAM && rule->r_protocol != RULE_PROTO_UDP)
if (type == SOCK_STREAM && rule->r_protocol != RULE_PROTO_TCP)
static int r_protocol(u_char b, mousestatus_t *act);
if ((flags = r_protocol(b, &action)) == 0)