Searched refs:nl_addr_get_prefixlen (Results 1 – 12 of 12) sorted by relevance
/third_party/libnl/tests/ |
D | check-addr.c | 31 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/ |
D | addr.h | 58 extern unsigned int nl_addr_get_prefixlen(const struct nl_addr *);
|
/third_party/libnl/src/ |
D | nl-route-get.c | 66 .rtm_dst_len = nl_addr_get_prefixlen(dst), in main()
|
/third_party/libnl/lib/route/ |
D | addr.c | 1009 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()
|
D | rule.c | 450 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()
|
D | route_obj.c | 1366 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/ |
D | libnl-3.sym | 38 nl_addr_get_prefixlen;
|
/third_party/libnl/lib/route/cls/ |
D | ematch_syntax.y | 414 $$.index = min_t(int, $$.len, nl_addr_get_prefixlen(addr)/8);
|
/third_party/libnl/lib/ |
D | addr.c | 977 unsigned int nl_addr_get_prefixlen(const struct nl_addr *addr) in nl_addr_get_prefixlen() function
|
/third_party/libnl/python/netlink/ |
D | core.py | 739 return capi.nl_addr_get_prefixlen(self._nl_addr)
|
D | capi.i | 465 extern unsigned int nl_addr_get_prefixlen(struct nl_addr *);
|
/third_party/libnl/doc/ |
D | core.txt | 2898 `nl_addr_get_prefixlen()` to work with prefix lengths. 2905 unsigned int nl_addr_get_prefixlen(struct nl_addr *addr);
|