David Peterson wrote:
OK figured out the "Stable" thing and have it compiled and running. I like the changes in the dictionary.wimax file, but one question. How can I add the following:
To: ATTRIBUTE WiMAX-Packet-Flow-Descriptor 28 tlv: (note that the numbering is per the previous dictionary.wimax)
ATTRIBUTE WiMAX-Classifier 11 tlv
Use "28.11" instead of "11", because it's a nested TLV.
BEGIN-TLV WiMAX-Classifier
Delete that.
ATTRIBUTE WiMAX-ClassifierID 1 integer
Similarly, use "28.11.1" instead of "1".
ATTRIBUTE WiMAX-Classifer-Priority 2 integer ATTRIBUTE WiMAX-Classifer-Protocol 3 integer ATTRIBUTE WiMAX-Classifer-Direction 4 byte
And so on... "28.11.*"
VALUE WiMAX-Classifer-Direction Reserved-0 0
These are based on names, and don't need to be changed.
VALUE WiMAX-Classifer-Direction IN 1 VALUE WiMAX-Classifer-Direction OUT 2 VALUE WiMAX-Classifer-Direction Bi-Directional 3 VALUE WiMAX-Classifer-Direction FF 4
ATTRIBUTE WiMAX-Source-Specification 5 tlv
Again "28.11.5"
BEGIN-TLV WiMAX-Source-Specification
Delete that.
ATTRIBUTE WiMAX-Source-IPAddress 1 ipaddr
And use "28.11.5.1" instead of "5". Isn't this fun?
Or would I add the attributes at the end of the file.
Add them anywhere. If you use the "dotted number" notation, you don't need begin/end TLVs. Alan DeKok.