#Netinet Header

1 messages · Page 1 of 1 (latest)

glass merlin
#

Hi !

To manipulate ipv4 and ipv6 header, I'm searching the way to include netinet/ip.h and netinet/ip6.h. I tried to use cImport but I got opac type. Do I have to specified their path in my build.zig to be able to use them or cImport is limited to the glibc ?
Do I must use these libaries or I must implement myself a Zig version ?

Thx !

somber helm
#

what you are looking for is probably already in std.posix

glass merlin
#

If it's the case I didn't found it, I'm looking for a ip header structure

somber helm
#

seems like the IP headers itself aren't there

#

how did you try to use cimport?