Commit bb74d6b
Typedef for __kernel_sa_family_t in _fake_typedefs.h
This typedef that exists in the real `linux/socket.h` is masked by the
`fake_libc_include` hierarchy. Having it in place allows to successfully
parse a large number of Linux kernel headers necessary for netlink
operations. This is very useful for Python projects that communicate
with the kernel over netlink socket. In particular, this project:
https://github.com/ionos-cloud/netlinklib/tree/main/netlinklib
plans to use pyparser for parsing strcts defined in the kernel headers.
Signed-off-by: Eugene Crosser <crosser@average.org>1 parent 90184f1 commit bb74d6b
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
234 | 235 | | |
235 | 236 | | |
0 commit comments