etc/services - sync with NetBSD-8
[minix.git] / minix / net / lwip / mcast.h
blob2b962503f830a31213cbfc4268fd9dcefbb99f92
1 #ifndef MINIX_NET_LWIP_MCAST_H
2 #define MINIX_NET_LWIP_MCAST_H
4 struct mcast_member;
6 struct mcast_head {
7 LIST_HEAD(, mcast_member) mh_list;
8 };
10 #define mcast_isempty(mcast_head) (LIST_EMPTY(&(mcast_head)->mh_list))
12 void mcast_init(void);
13 void mcast_reset(struct mcast_head * mcast_head);
14 int mcast_join(struct mcast_head * mcast_head, const ip_addr_t * group,
15 struct ifdev * ifdev);
16 int mcast_leave(struct mcast_head * mcast_head, const ip_addr_t * group,
17 struct ifdev * ifdev);
18 void mcast_leave_all(struct mcast_head * mcast_head);
19 void mcast_clear(struct ifdev * ifdev);
21 #endif /* !MINIX_NET_LWIP_MCAST_H */