Lines Matching defs:iface
204 struct atalk_iface **iface = &atalk_interfaces;
208 while ((tmp = *iface) != NULL) {
210 *iface = tmp->next;
215 iface = &tmp->next;
223 struct atalk_iface *iface = kzalloc(sizeof(*iface), GFP_KERNEL);
225 if (!iface)
229 iface->dev = dev;
230 dev->atalk_ptr = iface;
231 iface->address = *sa;
232 iface->status = 0;
235 iface->next = atalk_interfaces;
236 atalk_interfaces = iface;
239 return iface;
337 struct atalk_iface *iface = dev->atalk_ptr;
338 return iface ? &iface->address : NULL;
345 struct atalk_iface *iface;
352 for (iface = atalk_interfaces; iface; iface = iface->next) {
353 if (!fiface && !(iface->dev->flags & IFF_LOOPBACK))
354 fiface = iface;
355 if (!(iface->dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT))) {
356 retval = &iface->address;
378 struct atalk_iface *iface = dev->atalk_ptr;
380 if (!iface || iface->status & ATIF_PROBE)
384 iface->address.s_node != node &&
388 return iface;
390 iface = NULL;
397 struct atalk_iface *iface;
400 for (iface = atalk_interfaces; iface; iface = iface->next) {
403 iface->address.s_node == node) &&
404 iface->address.s_net == net &&
405 !(iface->status & ATIF_PROBE))
408 /* XXXX.0 -- net.0 returns the iface associated with net */
410 ntohs(iface->nets.nr_firstnet) <= ntohs(net) &&
411 ntohs(net) <= ntohs(iface->nets.nr_lastnet))
415 return iface;
501 struct atalk_iface *iface, *riface;
532 for (iface = atalk_interfaces; iface; iface = iface->next) {
535 ntohs(iface->nets.nr_firstnet) &&
537 ntohs(iface->nets.nr_lastnet))
538 riface = iface;
540 if (ga->sat_addr.s_net == iface->address.s_net &&
541 ga->sat_addr.s_node == iface->address.s_node)
542 riface = iface;
637 * delete our use of them (iface and route).
695 * if this is a point-to-point iface, and we already
696 * have an iface for this AppleTalk address, then we
767 "iface.\n");
1334 * Can it ever happen that a packet is from a PPP iface and
1339 "packet received from PPP iface\n");
1477 * AppleTalk iface