Lines Matching defs:path
111 * Called by SC on discovering a new path
114 rdsv3_path_up(rds_path_t *path)
119 ASSERT(path != NULL);
122 RDS_VALIDATE_PATH(path);
127 while ((p) && ((p->lnode_ip != path->local.node_ipaddr) ||
128 (p->rnode_ip != path->remote.node_ipaddr))) {
139 p->lnode_ip = path->local.node_ipaddr;
140 p->rnode_ip = path->remote.node_ipaddr;
144 p1->libd_ip = path->local.ipaddr;
145 p1->ribd_ip = path->remote.ipaddr;
148 (void) strcpy(p1->lifname, path->local.ifname);
149 (void) strcpy(p1->rifname, path->remote.ifname);
164 p1->libd_ip = path->local.ipaddr;
165 p1->ribd_ip = path->remote.ipaddr;
170 (void) strcpy(p1->lifname, path->local.ifname);
171 (void) strcpy(p1->rifname, path->remote.ifname);
178 * Called by SC to delete a path
181 rdsv3_path_down(rds_path_t *path)
186 ASSERT(path != NULL);
189 RDS_VALIDATE_PATH(path);
194 while ((p) && ((p->lnode_ip != path->local.node_ipaddr) ||
195 (p->rnode_ip != path->remote.node_ipaddr))) {
202 "(0x%x <-> 0x%x)", path->local.node_ipaddr,
203 path->remote.node_ipaddr);
209 while ((p1) && ((p1->libd_ip != path->local.ipaddr) ||
210 (p1->ribd_ip != path->remote.ipaddr))) {
217 "(0x%x <-> 0x%x)", path->local.ipaddr, path->remote.ipaddr);
229 /* this is the first path record */
239 /* remove the node record if there are no path records */
280 /* found a path */
286 * But next time, we want to use a different path record so move this
287 * path record to the end.
294 /* walk down to the last path record */
299 /* Attach the first path record to the end */