diff options
Diffstat (limited to 'pimd/pim_sock.h')
-rw-r--r-- | pimd/pim_sock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h index 04ab8647..0a81c694 100644 --- a/pimd/pim_sock.h +++ b/pimd/pim_sock.h @@ -26,11 +26,14 @@ struct pim_instance; int pim_socket_bind(int fd, struct interface *ifp); void pim_socket_ip_hdr(int fd); +int pim_setsockopt_packetinfo(int fd); int pim_socket_raw(int protocol); int pim_socket_mcast(int protocol, pim_addr ifaddr, struct interface *ifp, uint8_t loop); int pim_socket_join(int fd, pim_addr group, pim_addr ifaddr, ifindex_t ifindex, struct pim_interface *pim_ifp); +int pim_socket_leave(int fd, pim_addr group, pim_addr ifaddr, ifindex_t ifindex, + struct pim_interface *pim_ifp); int pim_socket_recvfromto(int fd, uint8_t *buf, size_t len, struct sockaddr_storage *from, socklen_t *fromlen, struct sockaddr_storage *to, socklen_t *tolen, |