]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_jp_agg.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / pimd / pim_jp_agg.h
index 4c84c120eb0047130602ac732cf9d5a6f95ce4c4..aa21aa9816a02479514a2d00ef350f331930407d 100644 (file)
  * 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,
- * MA 02110-1301 USA
+ * 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, MA 02110-1301 USA
  */
 #ifndef __PIM_JP_AGG_H__
 #define __PIM_JP_AGG_H__
 
-struct pim_jp_sources
-{
-  struct pim_upstream *up;
-  int is_join;
+struct pim_jp_sources {
+       struct pim_upstream *up;
+       int is_join;
 };
 
-struct pim_jp_agg_group
-{
-  struct in_addr group;
-  //int onetime;
-  struct list *sources;
+struct pim_jp_agg_group {
+       struct in_addr group;
+       struct list *sources;
 };
 
-void pim_jp_agg_group_list_free (struct pim_jp_agg_group *jag);
-int pim_jp_agg_group_list_cmp (void *arg1, void *arg2);
+void pim_jp_agg_upstream_verification(struct pim_upstream *up, bool ignore);
+int pim_jp_agg_is_in_list(struct list *group, struct pim_upstream *up);
 
-void pim_jp_agg_clear_group (struct list *group);
-void pim_jp_agg_remove_group (struct list *group, struct pim_upstream *up);
+void pim_jp_agg_group_list_free(struct pim_jp_agg_group *jag);
+int pim_jp_agg_group_list_cmp(void *arg1, void *arg2);
 
-void pim_jp_agg_add_group (struct list *group,
-                           struct pim_upstream *up, bool is_join);
+void pim_jp_agg_clear_group(struct list *group);
+void pim_jp_agg_remove_group(struct list *group, struct pim_upstream *up);
 
-void pim_jp_agg_switch_interface (struct pim_rpf *orpf,
-                                  struct pim_rpf *nrpf,
-                                  struct pim_upstream *up);
+void pim_jp_agg_add_group(struct list *group, struct pim_upstream *up,
+                         bool is_join);
 
-void pim_jp_agg_single_upstream_send (struct pim_rpf *rpf,
-                                      struct pim_upstream *up,
-                                      bool is_join);
+void pim_jp_agg_switch_interface(struct pim_rpf *orpf, struct pim_rpf *nrpf,
+                                struct pim_upstream *up);
+
+void pim_jp_agg_single_upstream_send(struct pim_rpf *rpf,
+                                    struct pim_upstream *up, bool is_join);
 #endif