Lines Matching defs:ifID
91 at_ifaddr_t *ifID;
111 if ((ifID = find_ifID(ifz->zone_iflist.at_if[i]))) {
112 rte = rt_blookup(ifID->ifThisCableEnd);
121 if (!ifID->ifDefZone)
122 ifID->ifDefZone = zno;
145 at_ifaddr_t *ifID = 0;
174 ifID = &at_interfaces[pat_id];
193 ifID = 0;
197 TAILQ_FOREACH(ifID, &at_ifQueueHd, aa_link) {
198 if (!strncmp(ifID->ifName, cfgp->ifr_name,
199 strlen(ifID->ifName)))
203 ifID = ifID_home;
204 strlcpy(cfgp->ifr_name, ifID->ifName,
207 if (ifID && ifID->ifState != LAP_OFFLINE) {
208 cfgp->flags = ifID->ifFlags;
211 cfgp->flags |= (ifID->ifState & LAP_STATE_MASK);
212 cfgp->node = ifID->ifThisNode;
213 cfgp->router = ifID->ifARouter;
214 cfgp->netStart = ifID->ifThisCableStart;
215 cfgp->netEnd = ifID->ifThisCableEnd;
216 cfgp->zonename = ifID->ifZoneName;
233 ifID = 0;
236 TAILQ_FOREACH(ifID, &at_ifQueueHd, aa_link) {
237 if (!strncmp(ifID->ifName, defzonep->ifr_name,
238 strlen(ifID->ifName)))
242 ifID = ifID_home;
243 strlcpy(defzonep->ifr_name, ifID->ifName,
249 if (ROUTING_MODE && (ifID != ifID_home))
252 if (ifID && ifID->ifState != LAP_OFFLINE) {
253 if (zonename_equal(&ifID->ifZoneName,
266 if (!ifs_in_zone.at_if[ifID->ifPort])
268 ifID->ifDefZone = zno+1;
283 ifID->ifZoneName = defzonep->zonename;
284 (void)regDefaultZone(ifID);
287 atalk_post_msg(ifID->aa_ifp, KEV_ATALK_ZONEUPDATED, 0, &(ifID->ifZoneName));
370 TAILQ_FOREACH(ifID, &at_ifQueueHd, aa_link) {
371 if (!ifs_in_zone.at_if[ifID->ifPort])
382 ifID = ifID_home;
384 nve.address.net = ifID->ifThisNode.s_net;
385 nve.address.node = ifID->ifThisNode.s_node;
395 if ((error2 = nbp_new_nve_entry(&nve, ifID)) == 0) {
396 nbpP->addr.net = ifID->ifThisNode.s_net;
397 nbpP->addr.node = ifID->ifThisNode.s_node;
435 TAILQ_FOREACH(ifID, &at_ifQueueHd, aa_link) {
436 nve.zone = ifID->ifZoneName;
568 else if (ifID)
577 ifID = &at_interfaces[xpatcnt];
578 bzero((caddr_t)ifID, sizeof(at_ifaddr_t));
579 strlcpy(ifID->ifName, ifr->ifr_name, sizeof(ifID->ifName));
581 ifID->aa_ifp = ifp;
582 ifa = &ifID->aa_ifa;
585 ifID->at_was_attached = 1;
592 ifID->cable_multicast_addr = etalk_multicast_addr;
598 bcopy(LLADDR(sdl), ifID->xaddr, sizeof(ifID->xaddr));
601 ifID->xaddr[0], ifID->xaddr[1],
602 ifID->xaddr[2], ifID->xaddr[3],
603 ifID->xaddr[4], ifID->xaddr[5]);
609 ifa = &ifID->aa_ifa;
610 ifa->ifa_addr = (struct sockaddr *)&ifID->ifNodeAddress;
611 ifID->ifNodeAddress.sat_len = sizeof(struct sockaddr_at);
612 ifID->ifNodeAddress.sat_family = AF_APPLETALK;
628 if (!(ifID = find_ifID(cfgp->ifr_name)))
631 return(lap_online(ifID, cfgp));
642 else if (!ifID)
645 elap_offline(ifID);
682 if (ifID != NULL
684 ifID->at_was_attached = 1;
694 if (ifID != NULL) {