Home
last modified time | relevance | path

Searched refs:AF_MPLS (Results 1 – 25 of 31) sorted by relevance

12

/external/libnl/include/netlink/
Dnetlink-compat.h50 #ifndef AF_MPLS
51 #define AF_MPLS 28 macro
/external/libnl/lib/
Daddr.c229 case AF_MPLS: in nl_addr_build()
311 if (hint != AF_MPLS) { in nl_addr_parse()
412 if (hint == AF_MPLS) { in nl_addr_parse()
413 len = mpls_pton(AF_MPLS, str, buf, sizeof(buf)); in nl_addr_parse()
418 family = AF_MPLS; in nl_addr_parse()
683 case AF_MPLS: in nl_addr_valid()
1022 case AF_MPLS: in nl_addr2str()
1023 mpls_ntop(AF_MPLS, addr->a_addr, buf, size); in nl_addr2str()
1043 if (addr->a_family != AF_MPLS && in nl_addr2str()
1123 __ADD(AF_MPLS,mpls),
Dmpls.c49 case AF_MPLS: in mpls_ntop()
99 case AF_MPLS: in mpls_pton()
/external/strace/xlat/
Daddrfams.h202 #if defined(AF_MPLS) || (defined(HAVE_DECL_AF_MPLS) && HAVE_DECL_AF_MPLS)
204 static_assert((AF_MPLS) == (28), "AF_MPLS != 28");
207 # define AF_MPLS 28
355 [AF_MPLS] = XLAT(AF_MPLS),
Daddrfams.in30 AF_MPLS 28
/external/iproute2/lib/
Dutils.c477 if ((family == AF_DECnet) || (family == AF_MPLS)) in get_addr_1()
524 if (family == AF_MPLS) { in get_addr_1()
528 addr->family = AF_MPLS; in get_addr_1()
529 if (mpls_pton(AF_MPLS, name, addr->data, in get_addr_1()
568 case AF_MPLS: in af_bit_len()
591 if ((family == AF_DECnet) || (family == AF_MPLS)) in get_prefix_1()
821 case AF_MPLS: in rt_addr_n2a_r()
862 family = AF_MPLS; in read_family()
880 if (family == AF_MPLS) in family_name()
Dmpls_pton.c51 case AF_MPLS: in mpls_pton()
Dmpls_ntop.c42 case AF_MPLS: in mpls_ntop()
/external/libnl/lib/route/
Dnetconf.c116 case AF_MPLS: in netconf_msg_parser()
205 case AF_MPLS: in netconf_dump_line()
554 { AF_MPLS, RTNLGRP_MPLS_NETCONF },
Dnh_encap_mpls.c67 labels = nl_addr_alloc_attr(tb[MPLS_IPTUNNEL_DST], AF_MPLS); in mpls_encap_parse_msg()
Droute.c177 { AF_MPLS, RTNLGRP_MPLS_ROUTE },
Droute_obj.c363 if (route->rt_family == AF_MPLS) in route_id_attrs_get()
688 case AF_MPLS: in rtnl_route_set_family()
964 if (route->rt_family == AF_MPLS) in rtnl_route_guess_scope()
1156 if (family != AF_MPLS) in rtnl_route_parse()
1386 if (route->rt_family != AF_MPLS) in rtnl_route_build_msg()
/external/iproute2/ip/
Dipmonitor.c254 if (!preferred_family || preferred_family == AF_MPLS) in do_ipmonitor()
275 if (!preferred_family || preferred_family == AF_MPLS) in do_ipmonitor()
Dip.c222 preferred_family = AF_MPLS; in main()
Dipnetconf.c94 case AF_MPLS: in print_netconf()
Diproute_lwtunnel.c251 format_host_rta(AF_MPLS, tb[MPLS_IPTUNNEL_DST])); in print_encap_mpls()
646 if (get_addr(&addr, *argv, AF_MPLS)) { in parse_encap_mpls()
Diproute.c691 if (r->rtm_family != AF_MPLS) in print_route()
1282 req.r.rtm_family == AF_MPLS) in iproute_modify()
1300 if (!type_ok && req.r.rtm_family == AF_MPLS) in iproute_modify()
/external/iproute2/include/
Dutils.h76 #ifndef AF_MPLS
77 # define AF_MPLS 28 macro
/external/libnl/src/lib/
Droute.c181 if (rtnl_route_get_family(route) == AF_MPLS) { in nl_cli_route_parse_nexthop()
/external/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs576 pub const AF_MPLS: ::c_int = 28; constant
581 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs929 pub const AF_MPLS: ::c_int = 33; constant
951 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/
Dmod.rs642 pub const AF_MPLS: ::c_int = 28; constant
647 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs931 pub const AF_MPLS: ::c_int = 28; constant
935 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs1163 pub const AF_MPLS: ::c_int = 33; constant
1177 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/minijail/linux-x86/
Dlibconstants.gen.c82 #ifdef AF_MPLS
83 { "AF_MPLS", (unsigned long) AF_MPLS },

12