Commit Graph

7 Commits

Author SHA1 Message Date
Michael Vines
506fc3baeb sol_bpf.h improvements
- Define NULL
- Add sol_memcmp()
- Use sizeof() more
- Add SOL_ARRAY_SIZE
- Make sol_deserialize() more flexible
2018-10-31 23:39:59 -07:00
Michael Vines
68523f4a7f Fix up bpf numeric types 2018-10-31 21:16:16 -07:00
Jack May
dfbfd4d4dd Fix const 2018-10-31 09:22:41 -07:00
Jack May
9cb262ad4b Fix C programs 2018-10-31 09:22:41 -07:00
Michael Vines
95921ce129 Add extern "C" block 2018-10-29 20:52:34 -07:00
Michael Vines
ee6d00a2fe Use #pragma once, it's widely supported
Fix up some spelling too
2018-10-29 20:52:34 -07:00
Michael Vines
212cbc4977 Rename sol_bpf_c.h to sol_bpf.h 2018-10-29 20:52:34 -07:00