Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-sita.c58 char *IOPname; /* this interface's name on an IOP */ member
154 char *i = (p->IOPname) ? p->IOPname : ""; in dump_unit_table()
198 if (cur->IOPname) free(cur->IOPname); in empty_unit_iface()
247 if (p->IOPname) last_name = p->name; /* remembering the last name found */ in find_nth_interface_name()
419 static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 iftype) { in translate_IOP_to_pcap_name() argument
436 name = malloc(strlen(IOPname) + 1); /* get memory for the IOP's name */ in translate_IOP_to_pcap_name()
442 strcpy(name, IOPname); /* and copy it in */ in translate_IOP_to_pcap_name()
443 iface->IOPname = name; /* and stick it into the structure */ in translate_IOP_to_pcap_name()
445 if (strncmp(IOPname, "lo", 2) == 0) { in translate_IOP_to_pcap_name()
446 IOPportnum = atoi(&IOPname[2]); in translate_IOP_to_pcap_name()
[all …]