Home
last modified time | relevance | path

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

/external/libnl/tests/
Dcheck-addr.c29 fail_if(nl_addr_get_prefixlen(addr) != 0, in START_TEST()
66 fail_if(nl_addr_get_prefixlen(addr) != 0, in START_TEST()
89 fail_if(nl_addr_get_prefixlen(addr) != 32, in START_TEST()
117 fail_if(nl_addr_get_prefixlen(addr4) != 16, in START_TEST()
158 fail_if(nl_addr_get_prefixlen(addr6) != 64, in START_TEST()
/external/libnl/include/netlink/
Daddr.h53 extern unsigned int nl_addr_get_prefixlen(struct nl_addr *);
/external/libnl/src/
Dnl-route-get.c64 .rtm_dst_len = nl_addr_get_prefixlen(dst), in main()
/external/libnl/lib/route/
Daddr.c937 nl_addr_get_prefixlen(local)) in rtnl_addr_set_local()
946 rtnl_addr_set_prefixlen(addr, local ? nl_addr_get_prefixlen(local) : 0); in rtnl_addr_set_local()
967 rtnl_addr_set_prefixlen(addr, peer ? nl_addr_get_prefixlen(peer) : 0); in rtnl_addr_set_peer()
Drule.c378 frh.src_len = nl_addr_get_prefixlen(tmpl->r_src); in build_rule_msg()
381 frh.dst_len = nl_addr_get_prefixlen(tmpl->r_dst); in build_rule_msg()
Droute_obj.c1197 rtmsg.rtm_dst_len = nl_addr_get_prefixlen(route->rt_dst); in rtnl_route_build_msg()
1199 rtmsg.rtm_src_len = nl_addr_get_prefixlen(route->rt_src); in rtnl_route_build_msg()
/external/libnl/lib/route/cls/
Dematch_syntax.y412 $$.index = min_t(int, $$.len, nl_addr_get_prefixlen(addr)/8);
/external/libnl/lib/
Daddr.c928 unsigned int nl_addr_get_prefixlen(struct nl_addr *addr) in nl_addr_get_prefixlen() function
/external/libnl/python/netlink/
Dcore.py739 return capi.nl_addr_get_prefixlen(self._nl_addr)
Dcapi.i460 extern unsigned int nl_addr_get_prefixlen(struct nl_addr *);
/external/libnl/doc/
Dcore.txt2898 `nl_addr_get_prefixlen()` to work with prefix lengths.
2905 unsigned int nl_addr_get_prefixlen(struct nl_addr *addr);