Hello Ludo, Ludovic Courtès <l...@gnu.org> ezt írta (időpont: 2019. márc. 13., Sze, 16:21): > > Hello Guix!
> • IPv6 support in ‘static-networking-service’: as discussed at the > Guix Days, we’ll probably need to Linux Netlink sockets to do that > rather than the old ioctls currently used in (guix build syscalls). > > The netlink interface for network config is vaguely documented at > <https://wiki.linuxfoundation.org/networking/generic_netlink_howto>. > Writing bindings for ‘sendmsg’ and the associated data structures > looks reasonable… it just needs to be done. > I am interested in doing this. However, there are a few points that needs to be clarified: 1. I came to the same conclusion regarding the netlink stuff, but the old ioctl cannot be fully dropped. (It still provides funcions that are needed to get the netlink working) 2. This might be linux specific. What do we do on other kernels? (It might be reasonable to provide the abstractions in a module, and from there select an available implementation, or signal an error that the functionality is not yet implemented for this system...) Wdyt? Also a nice low level binding written in C is available as libmnl: https://netfilter.org/projects/libmnl/index.html > > Ludo’. > Best regards, g_bor