Home
last modified time | relevance | path

Searched refs:ifcon (Results 1 - 3 of 3) sorted by relevance

/third_party/toybox/toys/net/
H A Difconfig.c341 struct ifconf ifcon; in show_iface() local
346 ifcon.ifc_buf = NULL; in show_iface()
348 ifcon.ifc_len = sizeof(struct ifreq)*num; in show_iface()
349 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()
350 xioctl(TT.sockfd, SIOCGIFCONF, &ifcon); in show_iface()
351 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break; in show_iface()
354 ifre = ifcon.ifc_req; in show_iface()
355 for(num = 0; num < ifcon in show_iface()
[all...]
/third_party/toybox/porting/liteos_a/toys/net/
H A Difconfig.c340 struct ifconf ifcon; in show_iface() local
345 ifcon.ifc_buf = NULL; in show_iface()
347 ifcon.ifc_len = sizeof(struct ifreq)*num; in show_iface()
348 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()
349 xioctl(TT.sockfd, SIOCGIFCONF, &ifcon); in show_iface()
350 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break; in show_iface()
353 ifre = ifcon.ifc_req; in show_iface()
354 for(num = 0; num < ifcon in show_iface()
[all...]
/third_party/selinux/libsepol/src/
H A Dinterfaces.c72 context_struct_t *ifcon = &iface->context[0]; in iface_to_record() local
84 if (context_to_record(handle, policydb, ifcon, &tmp_con) < 0) in iface_to_record()

Completed in 2 milliseconds