Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dports.c171 const char *proto_str; in sepol_port_exists() local
173 proto_str = sepol_port_get_proto_str(proto); in sepol_port_exists()
195 low, high, proto_str); in sepol_port_exists()
209 const char *proto_str; in sepol_port_query() local
211 proto_str = sepol_port_get_proto_str(proto); in sepol_port_query()
234 low, high, proto_str); in sepol_port_query()
249 const char *proto_str; in sepol_port_modify() local
252 proto_str = sepol_port_get_proto_str(proto); in sepol_port_modify()
268 low, high, proto_str); in sepol_port_modify()
/external/tcpdump/
Dprint-rrcp.c92 char proto_str[16]; in rrcp_print() local
105 tok2strbuf(proto_values,"RRCP-0x%02x",rrcp_proto,proto_str,sizeof(proto_str)), in rrcp_print()
/external/selinux/libsemanage/src/
Dports_file.c32 const char *proto_str = semanage_port_get_proto_str(proto); in port_print() local
35 if (fprintf(str, "portcon %s ", proto_str) < 0) in port_print()
56 low, high, proto_str); in port_print()
Dports_local.c96 const char *proto_str = semanage_port_get_proto_str(proto); in hidden_def() local
118 low, high, proto_str, low2, high2, proto_str2); in hidden_def()
Dnodes_file.c32 const char *proto_str = semanage_node_get_proto_str(proto); in node_print() local
45 (str, "nodecon %s %s %s %s\n", proto_str, addr, mask, con_str) < 0) in node_print()
Dpywrap-test.py207 proto_str = semanage.semanage_port_get_proto_str(proto)
214 print "Port: ", range_str, " ", proto_str, " Context: ", con_str
327 proto_str = semanage.semanage_node_get_proto_str(proto)
333 print "Network Node: ", addr, "/", mask, " (", proto_str, ")", "Context: ", con_str
/external/selinux/policycoreutils/semanage/
Dseobject.py1132 proto_str = semanage_port_get_proto_str(proto)
1136 ( k, proto_d, low, high ) = self.__genkey(port_str , proto_str)
1188 proto_str = semanage_port_get_proto_str(proto)
1191 ddict[(low, high, proto_str)] = (ctype, level)
1209 proto_str = semanage_port_get_proto_str(proto)
1212 if (ctype, proto_str) not in ddict.keys():
1213 ddict[(ctype,proto_str)] = []
1215 ddict[(ctype,proto_str)].append("%d" % low)
1217 ddict[(ctype,proto_str)].append("%d-%d" % (low, high))
/external/selinux/policycoreutils/sepolicy/
Dinfo.c1103 const char *proto_str = NULL; in get_ports() local
1140 if ((proto_str = apol_protocol_to_str(ocon_proto)) == NULL) { in get_ports()
1168 if (py_insert_string(dict, "protocol", proto_str)) in get_ports()