[haiku-development] Re: BNetworkInterface weirdness

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 7 Apr 2013 14:52:29 +0200

Replying to myself: there seems no way to get the default gateway of a
given BNetworkInterface (but one can add or remove routes at will). Do
anyone mind if I add a DefaultRoute() method to the class ?

2013/4/6 Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>

> Is it correct that BNetworkInterfaceAddress::Broadcast() and
> ::Destination() both return the broadcast address ?
> I thought Destination() would return the gateway for that interface... and
> anyway, how do I get the default route of a given interface ?

Other related posts: