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

/external/tcpdump/
H A Dprint-rrcp.c92 char proto_str[16]; local
105 tok2strbuf(proto_values,"RRCP-0x%02x",rrcp_proto,proto_str,sizeof(proto_str)),
/external/selinux/libsepol/src/
H A Dports.c171 const char *proto_str; local
173 proto_str = sepol_port_get_proto_str(proto);
195 low, high, proto_str);
209 const char *proto_str; local
211 proto_str = sepol_port_get_proto_str(proto);
234 low, high, proto_str);
249 const char *proto_str; local
252 proto_str = sepol_port_get_proto_str(proto);
268 low, high, proto_str);
/external/selinux/libsemanage/src/
H A Dports_file.c32 const char *proto_str = semanage_port_get_proto_str(proto); local
35 if (fprintf(str, "portcon %s ", proto_str) < 0)
56 low, high, proto_str);
H A Dports_local.c96 const char *proto_str = semanage_port_get_proto_str(proto); local
118 low, high, proto_str, low2, high2, proto_str2);
H A Dnodes_file.c32 const char *proto_str = semanage_node_get_proto_str(proto); local
45 (str, "nodecon %s %s %s %s\n", proto_str, addr, mask, con_str) < 0)
H A 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/
H A 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/
H A Dinfo.c1103 const char *proto_str = NULL; local
1140 if ((proto_str = apol_protocol_to_str(ocon_proto)) == NULL) {
1168 if (py_insert_string(dict, "protocol", proto_str))

Completed in 130 milliseconds