summaryrefslogtreecommitdiff
path: root/accel-pppd/include/connlimit.h
AgeCommit message (Collapse)Author
2018-10-26connlimit: make connlimit.h self-containedGuillaume Nault
We need to include <stdint.h> to define 'uint*_t' and <string.h> for 'memcpy'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-06-29connlimit: Initialise connlimit key (MAC)Guillaume Nault
Initialise 'key' before calling memcpy() to ensure that all bytes are set in the return value. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-06-14connlimit: Fix size of memcpy() for MAC addressGuillaume Nault
The 'hw' parameter of cl_key_from_mac() is actually a pointer, so 'key.hw' must be used instead to compute the size of the MAC address. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-01-19add missing accel-pppd/include/connlimit.hKozlov Dmitry