Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap.c377 char *device_str; in pcap_create() local
387 device_str = strdup("any"); in pcap_create()
401 device_str = (char *)malloc(length + 1); in pcap_create()
402 if (device_str == NULL) { in pcap_create()
408 pcap_snprintf(device_str, length + 1, "%ws", in pcap_create()
412 device_str = strdup(device); in pcap_create()
414 if (device_str == NULL) { in pcap_create()
427 p = capture_source_types[i].create_op(device_str, errbuf, in pcap_create()
443 free(device_str); in pcap_create()
446 p->opt.device = device_str; in pcap_create()
[all …]
/external/selinux/libsepol/src/
Dkernel_to_cil.c2916 char device_str[20]; /* 2^64-1 <= 16 digits (hex) so (low high) < 19 chars */ in write_xen_pcidevice_rules_to_cil() local
2921 rc = snprintf(device_str, 20, "0x%lx", (unsigned long)pcid->u.device); in write_xen_pcidevice_rules_to_cil()
2933 sepol_printf(out, "(pcidevicecon %s %s)\n", device_str, ctx); in write_xen_pcidevice_rules_to_cil()
Dkernel_to_conf.c2780 char device_str[20]; /* 2^64-1 <= 16 digits (hex) so < 19 chars */ in write_xen_pcidevice_rules_to_conf() local
2785 rc = snprintf(device_str, 20, "0x%lx", (unsigned long)pcid->u.device); in write_xen_pcidevice_rules_to_conf()
2797 sepol_printf(out, "pcidevicecon %s %s\n", device_str, ctx); in write_xen_pcidevice_rules_to_conf()