The rtnetlink RTM_NEWPREFIX message is signaled when a the Linux kernel receives a new router advertisement, but before an address is configured. The Linux source code location where this occurs is here.
The RTM_NEWPREFIX constant is already in the golang.org/x/sys/unix package.
The rtnetlink
RTM_NEWPREFIXmessage is signaled when a the Linux kernel receives a new router advertisement, but before an address is configured. The Linux source code location where this occurs is here.The
RTM_NEWPREFIXconstant is already in the golang.org/x/sys/unix package.