diff options
author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2019-03-22 17:48:17 +0100 |
---|---|---|
committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2019-04-20 17:33:21 +0200 |
commit | b1891fa08459de0cf1f7672b5600d8bf798eb0ab (patch) | |
tree | 0dd8239af9829f0dfea8b82f5d68bb70e59ef2e1 /pimd/pim_iface.h | |
parent | pimd: add new OIF type in prep for vxlan support (diff) | |
download | frr-b1891fa08459de0cf1f7672b5600d8bf798eb0ab.tar.xz frr-b1891fa08459de0cf1f7672b5600d8bf798eb0ab.zip |
pimd: API for enabling pim on the vxlan term device ipmr-lo
ipmr-lo is a dummy netdev with no additional addressing requirements -
root@TORS1:~# ip -d link show ipmr-lo
28: ipmr-lo: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/ether 12:5a:ae:74:51:a2 brd ff:ff:ff:ff:ff:ff promiscuity 0
dummy addrgenmode eui64
root@TORS1:~#
This device is used by pim-vxlan to signify multicast-vxlan-tunnel
termination.
Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r-- | pimd/pim_iface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h index 5066998cb..fe96c0775 100644 --- a/pimd/pim_iface.h +++ b/pimd/pim_iface.h @@ -158,7 +158,7 @@ void pim_if_init(struct pim_instance *pim); void pim_if_terminate(struct pim_instance *pim); struct pim_interface *pim_if_new(struct interface *ifp, bool igmp, bool pim, - bool ispimreg); + bool ispimreg, bool is_vxlan_term); void pim_if_delete(struct interface *ifp); void pim_if_addr_add(struct connected *ifc); void pim_if_addr_del(struct connected *ifc, int force_prim_as_any); @@ -167,7 +167,7 @@ void pim_if_addr_del_all(struct interface *ifp); void pim_if_addr_del_all_igmp(struct interface *ifp); void pim_if_addr_del_all_pim(struct interface *ifp); -int pim_if_add_vif(struct interface *ifp, bool ispimreg); +int pim_if_add_vif(struct interface *ifp, bool ispimreg, bool is_vxlan_term); int pim_if_del_vif(struct interface *ifp); void pim_if_add_vif_all(struct pim_instance *pim); void pim_if_del_vif_all(struct pim_instance *pim); |