Home
last modified time | relevance | path

Searched refs:r_protocol (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/security/mac_portacl/
H A Dmac_portacl.c115 int r_protocol; member
209 new->r_protocol = RULE_PROTO_TCP; in parse_rule_element()
211 new->r_protocol = RULE_PROTO_UDP; in parse_rule_element()
281 switch (rule->r_protocol) {
290 rule->r_protocol);
395 if (type == SOCK_DGRAM && rule->r_protocol != RULE_PROTO_UDP) in rules_check()
397 if (type == SOCK_STREAM && rule->r_protocol != RULE_PROTO_TCP) in rules_check()
/freebsd/usr.sbin/moused/msconvd/
H A Dmsconvd.c405 static int r_protocol(u_char b, mousestatus_t *act);
707 if ((flags = r_protocol(b, &action)) == 0) in msconvd()
1291 r_protocol(u_char rBuf, mousestatus_t *act) in r_protocol() function