<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp-xebd.git/accel-pppd/ctrl/ipoe/lua_bit.c, branch patch-1</title>
<subtitle>High performance PPTP/L2TP/PPPoE/IPoE server for Linux (mirror of https://github.com/marekm72/accel-ppp-xebd.git)
</subtitle>
<id>https://git.amelek.net/marekm72/accel-ppp-xebd.git/atom?h=patch-1</id>
<link rel='self' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/atom?h=patch-1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/'/>
<updated>2017-10-13T20:59:55+00:00</updated>
<entry>
<title>improved lua support</title>
<updated>2017-10-13T20:59:55+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-10-13T20:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=ec3d2f2942172d79fe74a01f5c980873e01ff5dd'/>
<id>urn:sha1:ec3d2f2942172d79fe74a01f5c980873e01ff5dd</id>
<content type='text'>
Implemented support for lua 5.2/5.3.
To build accel-ppp with exact lua version pass it in -DLUA=x.y, for example -DLUA=5.2 (cmake 3.0 is required for this).
Old style -DLUA=TRUE supports only 5.1 and does not require cmake 3.0.
Also extra lua modules (lua_lpack, lua_bit) took out into separated library luasupp.
</content>
</entry>
<entry>
<title>ipoe: included lua bitop library</title>
<updated>2017-04-04T09:44:20+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2017-04-04T09:44:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp-xebd.git/commit/?id=29e80de7214199500b56e4ac3a667a40df1a7f20'/>
<id>urn:sha1:29e80de7214199500b56e4ac3a667a40df1a7f20</id>
<content type='text'>
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
</content>
</entry>
</feed>
