Bug 263839

Summary: please define/document RT_ADVANCE() in route(4)
Product: Base System Reporter: Andrew Cagney <andrew.cagney>
Component: kernAssignee: freebsd-pf (Nobody) <pf>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 13.0-RELEASE   
Hardware: Any   
OS: Any   

Description Andrew Cagney 2022-05-07 13:26:14 UTC
(yea, admittedly, there's no real standard)

It seems that when building a message to send to PF_ROUTE requires some magical alignment.

FreeBSD defines, but doesn't document, SO_SIZE()
NetBSD defines, but doesn't document, RT_ADVANCE() and RT_ROUNDUP()
OpenBSD hides definitions for ADVANCE() and ROUNDUP() in route.c

Can I suggest adding/documenting the RT_* macros; mainly because everything else in net/route.h starts with the RT* prefix.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-12-14 01:36:12 UTC
^Triage: this is really more of a headers issue.