Skip to content

Commit

Permalink
Added new TLVs for GRE tunnel gen table
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Vaterlaus committed Mar 21, 2016
1 parent 93392d0 commit 916419f
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions openflow_input/bsn_tlv
Original file line number Diff line number Diff line change
Expand Up @@ -773,3 +773,51 @@ struct of_bsn_tlv_qos_priority : of_bsn_tlv {
uint16_t length;
uint32_t value;
};

struct of_bsn_tlv_parent_port : of_bsn_tlv {
uint16_t type == 109;
uint16_t length;
of_port_no_t value;
};

struct of_bsn_tlv_loopback_port : of_bsn_tlv {
uint16_t type == 110;
uint16_t length;
of_port_no_t value;
};

struct of_bsn_tlv_vpn_key : of_bsn_tlv {
uint16_t type == 111;
uint16_t length;
uint32_t value;
};

struct of_bsn_tlv_dscp : of_bsn_tlv {
uint16_t type == 112;
uint16_t length;
uint16_t value; // 0-63
};

struct of_bsn_tlv_ttl : of_bsn_tlv {
uint16_t type == 113;
uint16_t length;
uint16_t value;
};

struct of_bsn_tlv_next_hop_mac : of_bsn_tlv {
uint16_t type == 114;
uint16_t length;
of_mac_addr_t value;
};

struct of_bsn_tlv_next_hop_ipv4 : of_bsn_tlv {
uint16_t type == 115;
uint16_t length;
of_ipv4_t value;
};

struct of_bsn_tlv_rate_limit : of_bsn_tlv {
uint16_t type == 116;
uint16_t length;
uint32_t value; // in Kbps
};

0 comments on commit 916419f

Please sign in to comment.