1 #ifndef MINIX_NET_LWIP_MCAST_H
2 #define MINIX_NET_LWIP_MCAST_H
7 LIST_HEAD(, mcast_member
) mh_list
;
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 */