Home
last modified time | relevance | path

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

/f-stack/freebsd/security/mac_portacl/
H A Dmac_portacl.c119 int r_protocol; member
213 new->r_protocol = RULE_PROTO_TCP; in parse_rule_element()
215 new->r_protocol = RULE_PROTO_UDP; in parse_rule_element()
285 switch (rule->r_protocol) {
294 rule->r_protocol);
399 if (type == SOCK_DGRAM && rule->r_protocol != RULE_PROTO_UDP) in rules_check()
401 if (type == SOCK_STREAM && rule->r_protocol != RULE_PROTO_TCP) in rules_check()