forked from Stichting-MINIX-Research-Foundation/minix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmcast.h
More file actions
21 lines (16 loc) · 615 Bytes
/
Copy pathmcast.h
File metadata and controls
21 lines (16 loc) · 615 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MINIX_NET_LWIP_MCAST_H
#define MINIX_NET_LWIP_MCAST_H
struct mcast_member;
struct mcast_head {
LIST_HEAD(, mcast_member) mh_list;
};
#define mcast_isempty(mcast_head) (LIST_EMPTY(&(mcast_head)->mh_list))
void mcast_init(void);
void mcast_reset(struct mcast_head * mcast_head);
int mcast_join(struct mcast_head * mcast_head, const ip_addr_t * group,
struct ifdev * ifdev);
int mcast_leave(struct mcast_head * mcast_head, const ip_addr_t * group,
struct ifdev * ifdev);
void mcast_leave_all(struct mcast_head * mcast_head);
void mcast_clear(struct ifdev * ifdev);
#endif /* !MINIX_NET_LWIP_MCAST_H */