Skip to content

Commit

Permalink
Merge into master from pull request #524:
Browse files Browse the repository at this point in the history
Add port_usage tlv (#524)
  • Loading branch information
abat committed Oct 27, 2016
2 parents 44a2ad8 + 7109be5 commit f62a27b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions openflow_input/bsn_tlv
Original file line number Diff line number Diff line change
Expand Up @@ -963,3 +963,16 @@ struct of_bsn_tlv_data_mask : of_bsn_tlv {
uint16_t length;
of_octets_t value;
};

enum ofp_bsn_port_usage(wire_type=uint16_t) {
OFP_BSN_PORT_UNUSED = 0,
OFP_BSN_PORT_TRANSMIT_ONLY = 1,
OFP_BSN_PORT_RECEIVE_ONLY = 2,
OFP_BSN_PORT_BIDIRECTION = 3,
};

struct of_bsn_tlv_port_usage : of_bsn_tlv {
uint16_t type == 141;
uint16_t length;
enum ofp_bsn_port_usage value;
};

0 comments on commit f62a27b

Please sign in to comment.