diff options
author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:03:14 +0200 |
---|---|---|
committer | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:04:07 +0200 |
commit | d62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch) | |
tree | 3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /pimd/pim_sock.h | |
parent | *: add indent control files (diff) | |
download | frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.tar.xz frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.zip |
*: reindentreindent-master-after
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_sock.h')
-rw-r--r-- | pimd/pim_sock.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h index 9fb64677c..aa46cd620 100644 --- a/pimd/pim_sock.h +++ b/pimd/pim_sock.h @@ -35,16 +35,15 @@ #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_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, 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, - struct in_addr group_addr, - struct in_addr source_addr, - const char *ifname); +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, 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, |