aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-19 12:45:30 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-22 19:33:29 -0700
commit6371a71f3a3b2bc47880dd76c2f176495802d0df (patch)
tree266dc6ae02e10fac338a693a94b7372375ba1af9 /samples
parentnet/ipv4: Add support for dumping addresses for a specific device (diff)
downloadlinux-dev-6371a71f3a3b2bc47880dd76c2f176495802d0df.tar.xz
linux-dev-6371a71f3a3b2bc47880dd76c2f176495802d0df.zip
net/ipv6: Add support for dumping addresses for a specific device
If an RTM_GETADDR dump request has ifa_index set in the ifaddrmsg header, then return only the addresses for that device. Since inet6_dump_addr is reused for multicast and anycast addresses, this adds support for device specfic dumps of RTM_GETMULTICAST and RTM_GETANYCAST as well. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions