stream_putc(s, BGP_ATTR_PMSI_TUNNEL);
stream_putc(s, 9); // Length
stream_putc(s, 0); // Flags
- stream_putc(s, 6); // Tunnel type: Ingress Replication (6)
+ stream_putc(s, PMSI_TNLTYPE_INGR_REPL); // IR (6)
- stream_put(s, &(attr->label), BGP_LABEL_BYTES); // MPLS Label / VXLAN VNI
- stream_put_ipv4(s, attr->nexthop.s_addr); // Unicast tunnel endpoint IP address
+ stream_put(s, &(attr->label),
+ BGP_LABEL_BYTES); // MPLS Label / VXLAN VNI
+ stream_put_ipv4(s, attr->nexthop.s_addr);
+ // Unicast tunnel endpoint IP address
}
/* Unknown transit attribute. */