Home
last modified time | relevance | path

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

12

/external/libnl/lib/
Daddr.c222 case AF_MPLS: in nl_addr_build()
304 if (hint != AF_MPLS) { in nl_addr_parse()
405 if (hint == AF_MPLS) { in nl_addr_parse()
406 len = mpls_pton(AF_MPLS, str, buf, sizeof(buf)); in nl_addr_parse()
411 family = AF_MPLS; in nl_addr_parse()
676 case AF_MPLS: in nl_addr_valid()
1015 case AF_MPLS: in nl_addr2str()
1016 mpls_ntop(AF_MPLS, addr->a_addr, buf, size); in nl_addr2str()
1036 if (addr->a_family != AF_MPLS && in nl_addr2str()
1116 __ADD(AF_MPLS,mpls),
Dmpls.c49 case AF_MPLS: in mpls_ntop()
99 case AF_MPLS: in mpls_pton()
/external/libnl/include/netlink/
Dnetlink-compat.h44 #ifndef AF_MPLS
45 #define AF_MPLS 28 macro
/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.c99 case AF_MPLS: in netconf_msg_parser()
188 case AF_MPLS: in netconf_dump_line()
536 { AF_MPLS, RTNLGRP_MPLS_NETCONF },
Dnh_encap_mpls.c66 labels = nl_addr_alloc_attr(tb[MPLS_IPTUNNEL_DST], AF_MPLS); in mpls_encap_parse_msg()
Droute_obj.c356 if (route->rt_family == AF_MPLS) in route_id_attrs_get()
691 case AF_MPLS: in rtnl_route_set_family()
967 if (route->rt_family == AF_MPLS) in rtnl_route_guess_scope()
1152 if (family != AF_MPLS) in rtnl_route_parse()
1367 if (route->rt_family != AF_MPLS) in rtnl_route_build_msg()
Droute.c197 { AF_MPLS, RTNLGRP_MPLS_ROUTE },
/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()
Dipnetconf.c94 case AF_MPLS: in print_netconf()
Dip.c222 preferred_family = AF_MPLS; in main()
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.c174 if (rtnl_route_get_family(route) == AF_MPLS) { in nl_cli_route_parse_nexthop()
/external/musl/include/sys/
Dsocket.h180 #define AF_MPLS PF_MPLS macro
/external/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs579 pub const AF_MPLS: ::c_int = 28; constant
584 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/
Dmod.rs722 pub const AF_MPLS: ::c_int = 28; constant
727 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs929 pub const AF_MPLS: ::c_int = 28; constant
933 pub const PF_MPLS: ::c_int = AF_MPLS;
/external/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs1081 pub const AF_MPLS: ::c_int = 33; constant
1107 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