Lines Matching defs:iface
57 typedef struct iface {
58 struct iface *next; /* a pointer to the next interface */
72 iface_t *iface; /* a pointer to a linked list of interface structures */
153 p = units[chassis][geoslot].iface;
197 cur = u->iface;
205 u->iface = 0; /* and finally remember that there are no remaining structure */
243 p = units[chassis][geoslot].iface;
418 iface_t *iface_ptr, *iface;
425 iface = malloc(sizeof(iface_t)); /* get memory for a structure */
426 if (iface == NULL) { /* oops, we didn't get the memory requested */
430 memset((char *)iface, 0, sizeof(iface_t)); /* bzero is deprecated(), replaced with memset() */
432 iface->iftype = iftype; /* remember the interface type of this interface */
441 iface->IOPname = name; /* and stick it into the structure */
485 iface->name = name; /* and stick it into the structure */
487 if (u->iface == 0) { /* if this is the first name */
488 u->iface = iface; /* stick this entry at the head of the list */
490 iface_ptr = u->iface;
494 iface_ptr->next = iface; /* then tack this entry on the end of the list */
496 return iface->name;
826 p = u->iface;