Files
Hangbin Liu 3cb4e9388a netlink: support dumping IPv4 multicast addresses
JIRA: https://issues.redhat.com/browse/RHEL-123730
Upstream Status: net.git commit eb4e17a1d915

commit eb4e17a1d915d3c550e5a58c4bf370659dbe0dc8
Author: Yuyang Huang <yuyanghuang@google.com>
Date:   Fri Feb 7 20:08:35 2025 +0900

    netlink: support dumping IPv4 multicast addresses

    Extended RTM_GETMULTICAST to support dumping joined IPv4 multicast
    addresses, in addition to the existing IPv6 functionality. This allows
    userspace applications to retrieve both IPv4 and IPv6 multicast
    addresses through similar netlink command and then monitor future
    changes by registering to RTNLGRP_IPV4_MCADDR and RTNLGRP_IPV6_MCADDR.

    Cc: Maciej Żenczykowski <maze@google.com>
    Cc: Lorenzo Colitti <lorenzo@google.com>
    Reviewed-by: Eric Dumazet <edumazet@google.com>
    Signed-off-by: Yuyang Huang <yuyanghuang@google.com>
    Link: https://patch.msgid.link/20250207110836.2407224-1-yuyanghuang@google.com
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Signed-off-by: Hangbin Liu <haliu@redhat.com>
2026-03-13 11:59:31 +08:00

18 lines
375 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _LINUX_IGMP_INTERNAL_H
#define _LINUX_IGMP_INTERNAL_H
struct inet_fill_args {
u32 portid;
u32 seq;
int event;
unsigned int flags;
int netnsid;
int ifindex;
};
int inet_fill_ifmcaddr(struct sk_buff *skb, struct net_device *dev,
const struct ip_mc_list *im,
struct inet_fill_args *args);
#endif