diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-04-04 12:44:16 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-04-04 12:44:20 +0300 |
commit | 29e80de7214199500b56e4ac3a667a40df1a7f20 (patch) | |
tree | 94ae87f10806f0dd1920cc10f6d98d1ba6b554af /accel-pppd/ctrl/pptp/pptp.c | |
parent | 974f6a33e3983880051470d1676745fd136f5d61 (diff) | |
download | accel-ppp-29e80de7214199500b56e4ac3a667a40df1a7f20.tar.gz accel-ppp-29e80de7214199500b56e4ac3a667a40df1a7f20.zip |
ipoe: included lua bitop library
Included bitop library http://bitop.luajit.org/index.html
It may be used to extract vlan components in username function:
function username(ses)
vid=ses:vlan()
svid=bit.rshift(vid,16)
cvid=bit.band(vid,0xffff)
...
end
Diffstat (limited to 'accel-pppd/ctrl/pptp/pptp.c')
0 files changed, 0 insertions, 0 deletions