diff options
Diffstat (limited to 'pimd/pim_sock.h')
| -rw-r--r-- | pimd/pim_sock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h index f905c661dd..b4ce901d10 100644 --- a/pimd/pim_sock.h +++ b/pimd/pim_sock.h @@ -36,8 +36,10 @@ #define PIM_SOCK_ERR_NAME (-10) /* Socket name (getsockname) */ #define PIM_SOCK_ERR_BIND (-11) /* Can't bind to interface */ +int pim_socket_bind (int fd, struct interface *ifp); +int pim_socket_ip_hdr (int fd); int pim_socket_raw(int protocol); -int pim_socket_mcast(int protocol, struct in_addr ifaddr, int ifindex, u_char loop); +int pim_socket_mcast(int protocol, struct in_addr ifaddr, struct interface *ifp, u_char loop); int pim_socket_join(int fd, struct in_addr group, struct in_addr ifaddr, ifindex_t ifindex); int pim_socket_join_source(int fd, ifindex_t ifindex, |
