diff options
author | adrian <adrian@FreeBSD.org> | 2012-03-06 21:20:16 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-03-06 21:20:16 +0000 |
commit | 2960bf1153624ff5f817f866e4b2a91c057a7bf4 (patch) | |
tree | b5ca85b3a41a01dd6dac50ebcff29e4fd5988f9f /lib/libc/stdlib/twalk.c | |
parent | 13aacec1f8c622aee729b991194b07b3ab64b7e9 (diff) | |
download | FreeBSD-src-2960bf1153624ff5f817f866e4b2a91c057a7bf4.zip FreeBSD-src-2960bf1153624ff5f817f866e4b2a91c057a7bf4.tar.gz |
Modify HWMP to be able to allocate memory for PREQ/PREP/PERR for all scenarios.
* Added verify_mesh_*_len functions that verify the length
according to the amendment spec and return number of destination addresses
for allocation of appropriate struct size in memory;
* Modified hwmp_recv_action_meshpath to allocate HWMP ie instead of
storing them on the stack and store all available field according the flags;
* Modify hwmp_add_mesh* to work with all cases of HWMP according to amendment.
* Modify hwmp_send_* to calculate correct len of bytes for the HWMP ie.
* Added new M_80211_MESH_* malloc defines.
* Added macros with magic numbers for HWMP ie sizes according to amendment.
* Added the external address to all HWMP ie structs.
Submitted by: monthadar@gmail.com
Diffstat (limited to 'lib/libc/stdlib/twalk.c')
0 files changed, 0 insertions, 0 deletions