Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2019 02:47:27 +0530
From:      Mihir Luthra <luthramihir708@gmail.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        Hiroki Sato <hrs@allbsd.org>, freebsd-net <freebsd-net@freebsd.org>,  "hrs@freebsd.org" <hrs@freebsd.org>
Subject:   Re: rpc.statd already ipv6 clean?
Message-ID:  <CAEa=dYBoy7ZLDTFV62_dqFeMnc3jmATaq%2BkvYgYvOXzEYaLz=A@mail.gmail.com>
In-Reply-To: <YTOPR0101MB1163687D58A2AEED58AECE21DD860@YTOPR0101MB1163.CANPRD01.PROD.OUTLOOK.COM>
References:  <CAEa=dYAEKph9qOcegtEB%2BFXCMqdQpmbrbzOA548cvjk0L3KK4A@mail.gmail.com> <20190925.085753.1800759957383540219.hrs@allbsd.org> <CAEa=dYAnwxPjwZozU6K3GE7-Cjwx0rSemVd0ihrbUAUQw3jOLg@mail.gmail.com> <20190926.054603.242590258844901628.hrs@allbsd.org> <CAEa=dYCv=b7JxW4Ajc%2BgBNaC7z_SEiUhwyPz5vxjUNdkzvVmHQ@mail.gmail.com> <YTOPR0101MB1163687D58A2AEED58AECE21DD860@YTOPR0101MB1163.CANPRD01.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Rick,


> Although I'll admit it isn't something I am particularily fond of, FreeBSD
> likes
> utilities to build/work with only one of ipv4/ipv6.
> To do this, "#ifdef INET" and "#ifdef INET6" is applied to the code and the
> Makefile is tweaked to define one or both of these.
> (You can look at usr.sbin/nfsuserd for an example of this.)
>

Yes I see. Although I was thinking, wouldn't it be better if we can take a
flag via getopts for ipv6/ipv4 if the machine supports both with macro
guards around too?

>
> Btw, these protocols are old Sun Microsystems ones without any published
> RFC, so what is "correct" is difficult to determine. I suppose the Open
> Solaris sources is the best protocol specification. (Interop. testing with
> Linux
> would be nice, since Linux is the "defacto standard" now.)
>


> Good luck with it, rick
>

Thanks for the tips,
Mihir



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEa=dYBoy7ZLDTFV62_dqFeMnc3jmATaq%2BkvYgYvOXzEYaLz=A>