#define TE_LINK_SUBTLV_LINK_ID 2
struct te_link_subtlv_link_id {
struct tlv_header header; /* Value length is 4 octets. */
#define TE_LINK_SUBTLV_LINK_ID 2
struct te_link_subtlv_link_id {
struct tlv_header header; /* Value length is 4 octets. */
};
/* Link Sub-TLV: Local Interface IP Address */ /* Optional */
#define TE_LINK_SUBTLV_LCLIF_IPADDR 3
struct te_link_subtlv_lclif_ipaddr {
struct tlv_header header; /* Value length is 4 x N octets. */
};
/* Link Sub-TLV: Local Interface IP Address */ /* Optional */
#define TE_LINK_SUBTLV_LCLIF_IPADDR 3
struct te_link_subtlv_lclif_ipaddr {
struct tlv_header header; /* Value length is 4 x N octets. */
};
/* Link Sub-TLV: Remote Interface IP Address */ /* Optional */
#define TE_LINK_SUBTLV_RMTIF_IPADDR 4
struct te_link_subtlv_rmtif_ipaddr {
struct tlv_header header; /* Value length is 4 x N octets. */
};
/* Link Sub-TLV: Remote Interface IP Address */ /* Optional */
#define TE_LINK_SUBTLV_RMTIF_IPADDR 4
struct te_link_subtlv_rmtif_ipaddr {
struct tlv_header header; /* Value length is 4 x N octets. */
};
/* Link Sub-TLV: Traffic Engineering Metric */ /* Optional */
#define TE_LINK_SUBTLV_TE_METRIC 5
struct te_link_subtlv_te_metric {
struct tlv_header header; /* Value length is 4 octets. */
};
/* Link Sub-TLV: Traffic Engineering Metric */ /* Optional */
#define TE_LINK_SUBTLV_TE_METRIC 5
struct te_link_subtlv_te_metric {
struct tlv_header header; /* Value length is 4 octets. */
};
/* Link Sub-TLV: Maximum Bandwidth */ /* Optional */
#define TE_LINK_SUBTLV_MAX_BW 6
struct te_link_subtlv_max_bw {
struct tlv_header header; /* Value length is 4 octets. */
};
/* Link Sub-TLV: Maximum Bandwidth */ /* Optional */
#define TE_LINK_SUBTLV_MAX_BW 6
struct te_link_subtlv_max_bw {
struct tlv_header header; /* Value length is 4 octets. */
};
/* Link Sub-TLV: Maximum Reservable Bandwidth */ /* Optional */
#define TE_LINK_SUBTLV_MAX_RSV_BW 7
struct te_link_subtlv_max_rsv_bw {
struct tlv_header header; /* Value length is 4 octets. */
};
/* Link Sub-TLV: Maximum Reservable Bandwidth */ /* Optional */
#define TE_LINK_SUBTLV_MAX_RSV_BW 7
struct te_link_subtlv_max_rsv_bw {
struct tlv_header header; /* Value length is 4 octets. */
};
/* Link Sub-TLV: Unreserved Bandwidth */ /* Optional */
#define TE_LINK_SUBTLV_UNRSV_BW 8
#define TE_LINK_SUBTLV_UNRSV_SIZE 32
struct te_link_subtlv_unrsv_bw {
};
/* Link Sub-TLV: Unreserved Bandwidth */ /* Optional */
#define TE_LINK_SUBTLV_UNRSV_BW 8
#define TE_LINK_SUBTLV_UNRSV_SIZE 32
struct te_link_subtlv_unrsv_bw {
#define TE_LINK_SUBTLV_RSC_CLSCLR 9
struct te_link_subtlv_rsc_clsclr {
struct tlv_header header; /* Value length is 4 octets. */
#define TE_LINK_SUBTLV_RSC_CLSCLR 9
struct te_link_subtlv_rsc_clsclr {
struct tlv_header header; /* Value length is 4 octets. */
#define TE_LINK_SUBTLV_LRRID_SIZE 8
struct te_link_subtlv_lrrid {
struct tlv_header header; /* Value length is 8 octets. */
#define TE_LINK_SUBTLV_LRRID_SIZE 8
struct te_link_subtlv_lrrid {
struct tlv_header header; /* Value length is 8 octets. */
- struct in_addr local; /* Local TE Router Identifier */
- struct in_addr remote; /* Remote TE Router Identifier */
+ struct in_addr local; /* Local TE Router Identifier */
+ struct in_addr remote; /* Remote TE Router Identifier */
#define TE_LINK_SUBTLV_LLRI_SIZE 8
struct te_link_subtlv_llri {
struct tlv_header header; /* Value length is 8 octets. */
#define TE_LINK_SUBTLV_LLRI_SIZE 8
struct te_link_subtlv_llri {
struct tlv_header header; /* Value length is 8 octets. */
#define TE_LINK_SUBTLV_RAS 21
struct te_link_subtlv_ras {
struct tlv_header header; /* Value length is 4 octets. */
#define TE_LINK_SUBTLV_RAS 21
struct te_link_subtlv_ras {
struct tlv_header header; /* Value length is 4 octets. */
};
/* IPv4 Remote ASBR ID Sub-TLV */
#define TE_LINK_SUBTLV_RIP 22
struct te_link_subtlv_rip {
struct tlv_header header; /* Value length is 4 octets. */
};
/* IPv4 Remote ASBR ID Sub-TLV */
#define TE_LINK_SUBTLV_RIP 22
struct te_link_subtlv_rip {
struct tlv_header header; /* Value length is 4 octets. */
* low delay in micro-seconds only 24 bits => 0 ... 16777215
* with Anomalous Bit (A) as Upper most bit
*/
* low delay in micro-seconds only 24 bits => 0 ... 16777215
* with Anomalous Bit (A) as Upper most bit
*/
struct te_link_subtlv_delay_var {
struct tlv_header header; /* Value length is 4 bytes. */
/* interval in micro-seconds only 24 bits => 0 ... 16777215 */
struct te_link_subtlv_delay_var {
struct tlv_header header; /* Value length is 4 bytes. */
/* interval in micro-seconds only 24 bits => 0 ... 16777215 */
* is subdivided into 8-bit "unused" field and 16-bit "instance" field.
* In this implementation, each Link-TLV has its own instance.
*/
* is subdivided into 8-bit "unused" field and 16-bit "instance" field.
* In this implementation, each Link-TLV has its own instance.
*/
/* Type of MPLS-TE link: RFC3630, RFC5392, RFC5392 emulated, RFC6827 */
/* Type of MPLS-TE link: RFC3630, RFC5392, RFC5392 emulated, RFC6827 */
extern struct ospf_mpls_te *get_ospf_mpls_te(void);
extern void ospf_mpls_te_update_if(struct interface *);
extern void ospf_mpls_te_lsa_schedule(struct mpls_te_link *, enum lsa_opcode);
extern struct ospf_mpls_te *get_ospf_mpls_te(void);
extern void ospf_mpls_te_update_if(struct interface *);
extern void ospf_mpls_te_lsa_schedule(struct mpls_te_link *, enum lsa_opcode);