123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef ZEPHYR_INCLUDE_NET_IGMP_H_
- #define ZEPHYR_INCLUDE_NET_IGMP_H_
- #include <zephyr/types.h>
- #include <net/net_if.h>
- #include <net/net_ip.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #if defined(CONFIG_NET_IPV4_IGMP)
- int net_ipv4_igmp_join(struct net_if *iface, const struct in_addr *addr);
- #else
- #define net_ipv4_igmp_join(iface, addr) -ENOSYS
- #endif
- #if defined(CONFIG_NET_IPV4_IGMP)
- int net_ipv4_igmp_leave(struct net_if *iface, const struct in_addr *addr);
- #else
- #define net_ipv4_igmp_leave(iface, addr) -ENOSYS
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|