Commit 7b24736
Typedef for __kernel_sa_family_t in _fake_typedefs.h (#578)
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>
Co-authored-by: Eugene Crosser <evgenii.cherkashin@ionos.com>1 parent 90184f1 commit 7b24736
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
0 commit comments