diff options
Diffstat (limited to 'pimd/pim_pim.h')
| -rw-r--r-- | pimd/pim_pim.h | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/pimd/pim_pim.h b/pimd/pim_pim.h index 690b6c05cd..9a584375ae 100644 --- a/pimd/pim_pim.h +++ b/pimd/pim_pim.h @@ -11,7 +11,7 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; see the file COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, @@ -37,15 +37,15 @@ #define PIM_DEFAULT_T_PERIODIC (60) /* RFC 4601: 4.11. Timer Values */ enum pim_msg_type { - PIM_MSG_TYPE_HELLO = 0, - PIM_MSG_TYPE_REGISTER, - PIM_MSG_TYPE_REG_STOP, - PIM_MSG_TYPE_JOIN_PRUNE, - PIM_MSG_TYPE_BOOTSTRAP, - PIM_MSG_TYPE_ASSERT, - PIM_MSG_TYPE_GRAFT, - PIM_MSG_TYPE_GRAFT_ACK, - PIM_MSG_TYPE_CANDIDATE + PIM_MSG_TYPE_HELLO = 0, + PIM_MSG_TYPE_REGISTER, + PIM_MSG_TYPE_REG_STOP, + PIM_MSG_TYPE_JOIN_PRUNE, + PIM_MSG_TYPE_BOOTSTRAP, + PIM_MSG_TYPE_ASSERT, + PIM_MSG_TYPE_GRAFT, + PIM_MSG_TYPE_GRAFT_ACK, + PIM_MSG_TYPE_CANDIDATE }; void pim_ifstat_reset(struct interface *ifp); @@ -57,11 +57,7 @@ void pim_hello_restart_triggered(struct interface *ifp); int pim_pim_packet(struct interface *ifp, uint8_t *buf, size_t len); -int pim_msg_send(int fd, - struct in_addr src, - struct in_addr dst, - uint8_t *pim_msg, - int pim_msg_size, - const char *ifname); +int pim_msg_send(int fd, struct in_addr src, struct in_addr dst, + uint8_t *pim_msg, int pim_msg_size, const char *ifname); #endif /* PIM_PIM_H */ |
