EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of mDNS utils. More...
#include <stdint.h>
#include <sys/socket.h>
Go to the source code of this file.
Functions | |
int | join_mcast (int fd, const struct sockaddr_storage *sa, socklen_t sa_len, uint32_t ifindex) |
Join a multicast socket. More... | |
int | create_recv_mcast (const struct sockaddr_storage *sa, socklen_t sa_len, uint32_t ifindex) |
Create a receive multicast socket. More... | |
int | create_send_mcast (const struct sockaddr_storage *sa, socklen_t sa_len, uint32_t ifindex) |
Create a send multicast socket. More... | |
File containing the definition of mDNS utils.
int create_recv_mcast | ( | const struct sockaddr_storage * | sa, |
socklen_t | sa_len, | ||
uint32_t | ifindex | ||
) |
Create a receive multicast socket.
sa | The socket address |
sa_len | The socket address length |
ifindex | The interface index |
int create_send_mcast | ( | const struct sockaddr_storage * | sa, |
socklen_t | sa_len, | ||
uint32_t | ifindex | ||
) |
Create a send multicast socket.
sa | The socket address |
sa_len | The socket address length |
ifindex | The interface index |
int join_mcast | ( | int | fd, |
const struct sockaddr_storage * | sa, | ||
socklen_t | sa_len, | ||
uint32_t | ifindex | ||
) |
Join a multicast socket.
fd | The socket descriptor |
sa | The socket address |
sa_len | The socket address length |
ifindex | The interface index |