Home
last modified time | relevance | path

Searched refs:nl_addr_get_prefixlen (Results 1 – 12 of 12) sorted by relevance

/third_party/libnl/tests/
Dcheck-addr.c31 fail_if(nl_addr_get_prefixlen(addr) != 0, in START_TEST()
68 fail_if(nl_addr_get_prefixlen(addr) != 0, in START_TEST()
91 fail_if(nl_addr_get_prefixlen(addr) != 32, in START_TEST()
119 fail_if(nl_addr_get_prefixlen(addr4) != 16, in START_TEST()
160 fail_if(nl_addr_get_prefixlen(addr6) != 64, in START_TEST()
/third_party/libnl/include/netlink/
Daddr.h58 extern unsigned int nl_addr_get_prefixlen(const struct nl_addr *);
/third_party/libnl/src/
Dnl-route-get.c66 .rtm_dst_len = nl_addr_get_prefixlen(dst), in main()
/third_party/libnl/lib/route/
Daddr.c1009 nl_addr_get_prefixlen(local)) in rtnl_addr_set_local()
1018 rtnl_addr_set_prefixlen(addr, local ? nl_addr_get_prefixlen(local) : 0); in rtnl_addr_set_local()
1039 rtnl_addr_set_prefixlen(addr, peer ? nl_addr_get_prefixlen(peer) : 0); in rtnl_addr_set_peer()
Drule.c450 frh.src_len = nl_addr_get_prefixlen(tmpl->r_src); in build_rule_msg()
453 frh.dst_len = nl_addr_get_prefixlen(tmpl->r_dst); in build_rule_msg()
Droute_obj.c1366 rtmsg.rtm_dst_len = nl_addr_get_prefixlen(route->rt_dst); in rtnl_route_build_msg()
1368 rtmsg.rtm_src_len = nl_addr_get_prefixlen(route->rt_src); in rtnl_route_build_msg()
/third_party/libnl/
Dlibnl-3.sym38 nl_addr_get_prefixlen;
/third_party/libnl/lib/route/cls/
Dematch_syntax.y414 $$.index = min_t(int, $$.len, nl_addr_get_prefixlen(addr)/8);
/third_party/libnl/lib/
Daddr.c977 unsigned int nl_addr_get_prefixlen(const struct nl_addr *addr) in nl_addr_get_prefixlen() function
/third_party/libnl/python/netlink/
Dcore.py739 return capi.nl_addr_get_prefixlen(self._nl_addr)
Dcapi.i465 extern unsigned int nl_addr_get_prefixlen(struct nl_addr *);
/third_party/libnl/doc/
Dcore.txt2898 `nl_addr_get_prefixlen()` to work with prefix lengths.
2905 unsigned int nl_addr_get_prefixlen(struct nl_addr *addr);