Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2014 07:02:35 +0800
From:      Ben Woods <woodsb02@gmail.com>
To:        "freebsd-mono@freebsd.org" <freebsd-mono@freebsd.org>
Subject:   Re: Mono expecting /proc/net/route
Message-ID:  <CAOc73CDR8q6VkJXSCqq-E1DHp4L2mY7xFVrhBARwt1Pi_75K8w@mail.gmail.com>
In-Reply-To: <20140923225644.GA73505@FreeBSD.org>
References:  <CAOc73CDqUsumxaD6ive0jH1_1tw-79s1r9pixZyqtmt4MzYVnw@mail.gmail.com> <20140923225644.GA73505@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, that's what my specific problem was. I will see if I can generate a
patch... I'm just wondering what it would look like if it was adopted into
the upstream code (There is a separate set of functions for Mac IP
addressing, should there be a separate set of BSD functions?).

On Wednesday, September 24, 2014, Romain Tarti=C3=A8re <romain@freebsd.org>
wrote:

> Are you refering to this?
>
> https://github.com/mono/mono/blob/effa4c07ba850bedbe1ff54b2a5df281c058ebc=
b/mcs/class/System/System.Net.NetworkInformation/IPInterfaceProperties.cs#L=
77
>
> AFAICR, the information should be available from a sysctl (what
> netstat(8) does) or from a PF_ROUTE socket (what route(8) does), but it
> may be easier to parse the output of netstat(8) instead of
> reimplementing parts of netstat(8) or route(8) in managed code=E2=80=A6
>
> If you have a patch, feel free to share it here so that I can include it
> ;-)
>
>
> --
> Romain Tarti=C3=A8re <romain@FreeBSD.org>  http://people.FreeBSD.org/~rom=
ain/
> pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
> (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciat=
ed)
>


--=20

--
From: Benjamin Woods
woodsb02@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CDR8q6VkJXSCqq-E1DHp4L2mY7xFVrhBARwt1Pi_75K8w>