tlv
Procs | |
New | |
---|---|
reset_value | |
set_value |
Proc Details
New
- Initialize a TLV and set its values if given arguments, mostly for map varedits.
- We provide this functionality but please consider not doing this and making proper subtypes.
- Only by doing the latter will datum/tlv/proc/reset_value work.
reset_value
-
Reset this particular TLV to its original value.
-
Arguments:
-
- threshold_type: What kind of variable do we want to set. Accepts bitfield subsets of TLV_VAR_ALL.
set_value
-
Set this particular TLV
-
Arguments:
-
- threshold_type: What kind of variable do we want to set. Accepts bitfield subsets of TLV_VAR_ALL.
-
- value: How much to set it to. Accepts a number or TLV_VALUE_IGNORE