X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pimd%2Fpim_pim.h;h=e930ab7c2db5c118d304d4bfac55df9f10d8d7ec;hb=ca2c70bde099e9e9e40d5151388d1e9ba849df0d;hp=7e2872184a96d1b13af780e3dc766ae8605723ac;hpb=a70901263f5ca1dbdddbcf08a47df23ccbf434b9;p=mirror_frr.git diff --git a/pimd/pim_pim.h b/pimd/pim_pim.h index 7e2872184..e930ab7c2 100644 --- a/pimd/pim_pim.h +++ b/pimd/pim_pim.h @@ -36,15 +36,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); @@ -56,11 +56,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 */