udhcpc: option -x OPT:VAL clarification
Abdoulaye Walsimou GAYE
awg at embtoolkit.org
Sun Dec 5 19:05:46 UTC 2010
Can someone clarify usage of -x OPT:VAL please?
I my case I want to use it to encode dhcp option 125[1], vendor
identifying vendor options.
I want to know how VAL need to be in order to send dhcp option 125.
from [1] ----------------------------------------------------
The format of the V-I Vendor-specific Information option is as
follows:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| option-code | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| enterprise-number1 |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| data-len1 | |
+-+-+-+-+-+-+-+-+ option-data1 |
------------------------------------------------------------------------
Does this possible without hack of the current udhcpc code?
Thanks,
AWG
[1] http://tools.ietf.org/html/rfc3925
More information about the busybox
mailing list