/src/usr.sbin/ldpd/ |
label.h | 47 * so_dest, so_pref and so_gate are the prefix identification and its GW 52 union sockunion so_dest, so_pref, so_gate; member in struct:label
|
mpls_interface.c | 59 union sockunion *so_dest, *so_nexthop, *so_tag, so_ifa; local in function:mpls_add_label 71 satos(&lab->so_dest.sa), prefixlen, lab->label, lab->binding,p_str); 78 if ((pm = ldp_test_mapping(&lab->so_dest.sa, prefixlen, 109 " to peer %s\n", satos(&lab->so_dest.sa), prefixlen, lab->binding, 113 if ((so_dest = make_mpls_union(lab->binding)) == NULL) 116 free(so_dest); 121 free(so_dest); 128 if (add_route(so_dest, NULL, so_nexthop, NULL, so_tag, FREESO, 148 if (add_route(&lab->so_dest, lab->host ? NULL : &lab->so_pref,
|
label.c | 70 if (__predict_false(l1->so_dest.sa.sa_family != 71 l2->so_dest.sa.sa_family)) 72 return l1->so_dest.sa.sa_family > l2->so_dest.sa.sa_family ? 75 assert(l1->so_dest.sa.sa_len == l2->so_dest.sa.sa_len); 78 if ((ret = memcmp(&l1->so_dest.sa, &l2->so_dest.sa, 79 l1->so_dest.sa.sa_len)) != 0) 90 label_add(const union sockunion * so_dest, const union sockunion * so_pref 254 const union sockunion *so_dest; local in function:label_get_by_prefix [all...] |
mpls_routes.c | 307 add_route(union sockunion *so_dest, union sockunion *so_prefix, 330 assert(so_dest); 333 NEXTADDR(so_dest); 358 if (optype != RTM_READD && so_dest->sa.sa_family != AF_MPLS) { 377 warnp("Destination was: %s\n", satos(&so_dest->sa)); 385 free(so_dest); 401 delete_route(union sockunion * so_dest, union sockunion * so_pref, int freeso) 425 NEXTADDR(so_dest); 444 free(so_dest); 454 route_strerror(errno), satos(&so_dest->sa) 581 union sockunion *so_dest = NULL, *so_gate = NULL, *so_pref = NULL; local in function:check_route [all...] |