mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-18 22:09:55 +00:00
![]() First is used to get address from netlink attribute to inet_prefix data structure. Use memcpy() with constant value to let complier optimize by replacing a call by inlining load/store instructions. Second is used to match address in given netlink attribute with one given as reference. It matches successfully if no attribute is given (@rta is NULL), reference address family is AF_UNSPEC or it's length isn't given; fails if get_attr_rta() can't get attribute or it's family does not match reference; calls inet_addr_match() to get final verdict. Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: David Ahern <dsahern@gmail.com> |
||
---|---|---|
.. | ||
iptables | ||
libiptc | ||
netinet | ||
uapi | ||
bpf_api.h | ||
bpf_elf.h | ||
bpf_scm.h | ||
bpf_util.h | ||
color.h | ||
dlfcn.h | ||
ip6tables.h | ||
iptables.h | ||
json_print.h | ||
json_writer.h | ||
libgenl.h | ||
libnetlink.h | ||
list.h | ||
ll_map.h | ||
names.h | ||
namespace.h | ||
rt_names.h | ||
rtm_map.h | ||
SNAPSHOT.h | ||
utils.h | ||
xt-internal.h | ||
xtables.h |