alpha
Login
or
Join now
gazagnaire.org
/
ocaml-netlink
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Netlink and rtnetlink message codec (RFC 3549)
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ocaml-netlink
/
lib
/
eio
/
at
main
4 files
Thomas Gazagnaire
ocaml-netlink: put the type doc where odoc reads it
15d ago
7af54a48
dune
rtnl: read a link's hardware address (IFLA_ADDRESS) link_set_up/mtu/master could drive a link but nothing read its MAC, which RTM_GETLINK already carries. Add link_address so a caller (a DHCP client that needs the interface MAC) reads it over the same socket as every other operation, correct in the socket's namespace, instead of falling back to /sys/class/net.
3 weeks ago
rtnl.ml
netlink: drop the module name from Rtnl's socket externals Inside Rtnl the rtnl_ prefix repeats what the module already says. The _stub suffix keeps them distinct from the public connect, and matches how tuntap names its own C entry points. The C symbols are unchanged.
2 weeks ago
rtnl.mli
ocaml-netlink: put the type doc where odoc reads it The comment after offload_limit's last constructor described the type, so odoc filed the whole description under Gro_ipv4_max_size and left the type undocumented.
2 weeks ago
rtnl_stubs.c
nox-netlink: manage namespace sockets in OCaml Restoring the caller namespace is part of the descriptor transaction. Keep the kernel ABI calls native, but make OCaml close every intermediate descriptor and treat restore failure as an error.
2 weeks ago