diff options
author | Paul Jakma <paul.jakma@hpe.com> | 2016-01-18 11:12:10 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-18 13:35:38 +0200 |
commit | b892f1ddfe42a620d84b6c245d1997e4b560eea8 (patch) | |
tree | acf13ca7ac43984b9215b0006d4d16fac2c281c3 /pimd/pim_sock.h | |
parent | Merge remote-tracking branch 'origin/cmaster' into cmaster-next (diff) | |
download | frr-b892f1ddfe42a620d84b6c245d1997e4b560eea8.tar.xz frr-b892f1ddfe42a620d84b6c245d1997e4b560eea8.zip |
*: use an ifindex_t type, defined in lib/if.h, for ifindex values
(cherry picked from commit 9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744)
Diffstat (limited to 'pimd/pim_sock.h')
-rw-r--r-- | pimd/pim_sock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h index 9a9b64a4a..f0a160081 100644 --- a/pimd/pim_sock.h +++ b/pimd/pim_sock.h @@ -41,15 +41,15 @@ int pim_socket_raw(int protocol); int pim_socket_mcast(int protocol, struct in_addr ifaddr, int ifindex, int loop); int pim_socket_join(int fd, struct in_addr group, - struct in_addr ifaddr, int ifindex); -int pim_socket_join_source(int fd, int ifindex, + struct in_addr ifaddr, ifindex_t ifindex); +int pim_socket_join_source(int fd, ifindex_t ifindex, struct in_addr group_addr, struct in_addr source_addr, const char *ifname); int pim_socket_recvfromto(int fd, uint8_t *buf, size_t len, struct sockaddr_in *from, socklen_t *fromlen, struct sockaddr_in *to, socklen_t *tolen, - int *ifindex); + ifindex_t *ifindex); int pim_socket_mcastloop_get(int fd); |