Searched refs:so_pref (Results 1 - 6 of 6) sorted by path
/netbsd-6-1-5-RELEASE/usr.sbin/ldpd/ |
H A D | label.c | 56 label_add(union sockunion * so_dest, union sockunion * so_pref, argument 71 assert(so_pref); 72 assert(so_dest->sa.sa_family == so_pref->sa.sa_family); 75 memcpy(&l->so_pref, so_pref, sizeof(union sockunion)); 88 strlcpy(spreftmp, union_ntoa(so_pref), INET_ADDRSTRLEN); 93 from_union_to_cidr(so_pref), l->binding); 131 if (get_route(&rg, &l->so_dest, &l->so_pref, 1) == LDP_E_OK) { 132 delete_route(&l->so_dest, &l->so_pref, NO_FREESO); 133 add_route(&l->so_dest, &l->so_pref, 228 union sockunion *so_dest, *so_pref; local [all...] |
H A D | label.h | 47 * so_dest and so_pref are obvious 53 union sockunion so_dest, so_pref, so_gate; member in struct:label
|
H A D | ldp_command.c | 510 snprintf(sendspace, MAXSEND, "%s", union_ntoa(&l->so_pref));
|
H A D | mpls_interface.c | 61 union sockunion *so_dest, *so_pref = NULL, *so_gate, *so_nexthop, *so_tag, local 88 if (len != 32 && (so_pref = from_cidr_to_union(len)) == NULL) { 104 rv = get_route(rgp, so_dest, so_pref, 1); 111 if (so_pref) 112 free(so_pref); 198 so_pref = NULL; 199 else if ((so_pref = from_cidr_to_union(len)) == NULL) { 209 if (so_pref != NULL) 210 free(so_pref); 220 if (so_pref ! [all...] |
H A D | mpls_routes.c | 245 from_union_to_cidr(union sockunion *so_pref) argument 247 struct sockaddr_in *sin = (struct sockaddr_in*)so_pref; 411 delete_route(union sockunion * so_dest, union sockunion * so_pref, int freeso) argument 426 if (so_pref) 435 if (so_pref) { 436 mask_addr(so_pref); 437 NEXTADDR(so_pref); 443 if (so_pref) 444 free(so_pref); 447 if(so_pref) { 468 get_route(struct rt_msg * rg, union sockunion * so_dest, union sockunion * so_pref, int exact_match) argument 558 union sockunion *so_dest = NULL, *so_gate = NULL, *so_pref = NULL; local 733 union sockunion *so_dst, *so_pref, *so_gate; local 834 union sockunion *so_dst, *so_pref, *so_gate; local [all...] |
H A D | tlv_stack.c | 302 from_union_to_cidr(&l->so_pref), l->binding, NULL);
|
Completed in 249 milliseconds