summaryrefslogtreecommitdiffstats
path: root/src/libdect.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-09lce: maintain LCE location tablePatrick McHardy1-0/+1
Maintain LCE location table and use it for determining paging mode and setup capabilities. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-16libdect: also clear dect handle private areaPatrick McHardy1-1/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-14libdect: don't reseed PRNG on dect_open_handle()Patrick McHardy1-2/+5
Move seeding to an __init function to avoid reseeding the PRNG multiple times with the same seed when opening multiple handles in a short amount of time. While at it, switch from rand() to random() since it uses a better PRNG in old libcs and non-Linux systems. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-14libdect: support allocating per-handle private spacePatrick McHardy1-1/+7
Similar to other objects, support a private data area for libdect handles for applications dealing with multiple handles simultenously. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-03libdect: make handle initialization/shutdown symetricalPatrick McHardy1-18/+18
Proper error handling on failed dect_init() calls is currently not possible since dect_close_handle() expects a fully initialized handle. Kill dect_alloc_handle() and add a dect_open_handle() function that performs all setup. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-14libdect: documentation updatePatrick McHardy1-0/+16
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31libdect: zero libdect handle on allocationPatrick McHardy1-0/+2
Zero the DECT handle on allocation to properly initialize the various members. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-31lce: properly maintain PMIDPatrick McHardy1-13/+3
Use a default value for PMID while no TPUI is assigned, use an assigned TPUI value otherwise. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-30lce: add support for PP indirect link establishmentPatrick McHardy1-0/+13
TODO: - Update tp->tpui based on temporary identity assignments - Implement group TPUI support Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-26doc: minor updatesPatrick McHardy1-0/+7
Restructuring of module section, minor updates. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-25lce: fix up for kernel sockaddr changesPatrick McHardy1-2/+5
Also add support to bind to clusters by name. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-24debug: make debugging more colorfulPatrick McHardy1-24/+0
Add definitions for the various libdect subsystems, pass them to the registered debugging handlers and add a handler to the example programs to colorize debugging messages. Still could use some cleanup, but causes too many clashes. Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08Update copyright statementsPatrick McHardy1-1/+1
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-18annotate exported symbols and hide everything elsePatrick McHardy1-0/+4
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-18debug: allow to disable debugging codePatrick McHardy1-1/+3
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-13debug: make debug hook signature vprintf() compatiblePatrick McHardy1-2/+2
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-07-16mm: auth supportroot1-0/+1
Add auth support and beginning of MM procedure management. Unfinished, but working well enough for an initial commit. Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-06Import libdectPatrick McHardy1-0/+81
Signed-off-by: Patrick McHardy <kaber@trash.net>