HomeSort by: relevance | last modified time | path
    Searched defs:so_pref (Results 1 - 3 of 3) sorted by relevancy

  /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
label.c 76 assert(l1->so_pref.sa.sa_len == l2->so_pref.sa.sa_len);
82 return memcmp(&l1->so_pref.sa, &l2->so_pref.sa,
83 l1->so_pref.sa.sa_len);
90 label_add(const union sockunion * so_dest, const union sockunion * so_pref,
105 assert(so_pref);
106 assert(so_dest->sa.sa_family == so_pref->sa.sa_family);
107 assert(label_get(so_dest, so_pref) == NULL);
110 memcpy(&l->so_pref, so_pref, so_pref->sa.sa_len)
255 union sockunion *so_pref; local in function:label_get_by_prefix
    [all...]
mpls_routes.c 262 from_union_to_cidr(const union sockunion *so_pref)
264 const struct sockaddr_in *sin = (const struct sockaddr_in*) so_pref;
401 delete_route(union sockunion * so_dest, union sockunion * so_pref, int freeso)
416 if (so_pref)
427 if (so_pref) {
428 union sockunion *so_pref_temp = so_pref;
431 so_pref_temp = calloc(1, so_pref->sa.sa_len);
434 memcpy(so_pref_temp, so_pref, so_pref->sa.sa_len);
445 if (so_pref)
829 union sockunion *so_dst, *so_pref, *so_gate; local in function:bind_current_routes
942 union sockunion *so_dst, *so_pref, *so_gate; local in function:flush_mpls_routes
    [all...]

Completed in 12 milliseconds