Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-sita.c56 char *IOPname; /* this interface's name on an IOP */ member
160 char *i = (p->IOPname) ? p->IOPname : ""; in dump_unit_table()
204 if (cur->IOPname) free(cur->IOPname); in empty_unit_iface()
253 if (p->IOPname) last_name = p->name; /* remembering the last name found */ in find_nth_interface_name()
426 static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 iftype) { in translate_IOP_to_pcap_name() argument
442 iface->IOPname = strdup(IOPname); /* copy it and stick it into the structure */ in translate_IOP_to_pcap_name()
443 if (iface->IOPname == NULL) { /* oops, we didn't get the memory requested */ in translate_IOP_to_pcap_name()
448 if (strncmp(IOPname, "lo", 2) == 0) { in translate_IOP_to_pcap_name()
449 IOPportnum = atoi(&IOPname[2]); in translate_IOP_to_pcap_name()
458 } else if (strncmp(IOPname, "eth", 3) == 0) { in translate_IOP_to_pcap_name()
[all …]