Searched refs:ifcon (Results 1 – 3 of 3) sorted by relevance
311 struct ifconf ifcon; in show_iface() local316 ifcon.ifc_buf = NULL; in show_iface()318 ifcon.ifc_len = sizeof(struct ifreq)*num; in show_iface()319 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()320 xioctl(TT.sockfd, SIOCGIFCONF, &ifcon); in show_iface()321 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break; in show_iface()324 ifre = ifcon.ifc_req; in show_iface()325 for(num = 0; num < ifcon.ifc_len && ifre; num += sizeof(struct ifreq), ifre++) in show_iface()334 free(ifcon.ifc_buf); in show_iface()
29 semanage_context_t *ifcon = semanage_iface_get_ifcon(iface); in iface_print() local35 if (semanage_context_to_string(handle, ifcon, &con_str) < 0) in iface_print()
72 context_struct_t *ifcon = &iface->context[0]; in iface_to_record() local84 if (context_to_record(handle, policydb, ifcon, &tmp_con) < 0) in iface_to_record()