summaryrefslogtreecommitdiff
path: root/accel-pppd/utils.c
AgeCommit message (Collapse)Author
2014-06-03make IPv4 address to string conversions endian friendlyDmitry Kozlov
2013-04-17utils: Add random buffer generation functionGuillaume Nault
Define and export the u_randbuf() function that fills a buffer with random data. Convert L2TP's challenge generation code for using it. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-06utils: Add function for strict str to int conversionGuillaume Nault
Define the u_readlong() function as a wrapper for strtol(). It performs stricter checks on the input value and let the caller specify an interval of acceptable values. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov