-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packet: add a metatable to the packet ctype
This makes the paket an object, and allows for example p:free() instead of packet.free(p) Add a new method `physical` to get the physical address of packet.data
- Loading branch information
Nikolay Nikolaev
committed
Dec 22, 2015
1 parent
7c99720
commit 394783a
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters