Hi Kuniyuki, On Tue, Nov 12, 2024 at 03:33:29PM GMT, Kuniyuki Iwashima wrote: > From: Alejandro Colomar <alx@xxxxxxxxxx> > Date: Wed, 13 Nov 2024 00:26:15 +0100 > > > diff --git a/man/man7/rtnetlink.7 b/man/man7/rtnetlink.7 > > > index 86ed459bb..ed08834b0 100644 > > > --- a/man/man7/rtnetlink.7 > > > +++ b/man/man7/rtnetlink.7 > > > @@ -176,7 +176,24 @@ IFA_BROADCAST:raw protocol address:broadcast address > > > IFA_ANYCAST:raw protocol address:anycast address > > > IFA_CACHEINFO:struct ifa_cacheinfo:Address information > > > .TE > > > -.\" FIXME Document struct ifa_cacheinfo > > > +.IP > > > +.EX > > > > I expect users that need to use this struct to also need to include the > > header that defines it, right? > > rtnetlink.7 tells #include <linux/rtnetlink.h> is needed in SYNOPSIS > and the header internally includes <linux/if_addr.h>, so users need > not include it explicitly for struct ifa_cacheinfo. > Ahh, okay. Then it's fine. Thanks! Alex > > > We should probably specify it by using > > an #include. What do you think? > > So I think we need not mention linux/if_addr.h here. -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature