On Mon, Apr 07, 2014 at 17:03 +0200, Mike Belopuhov wrote:
a bit of an update, mainly style changes. one functional change:
don't rely on rtm_rmx.rmx_expire to set the F_STATIC flag as
rt_getmetrics is not called consistenly (only with RTM_GETs) and
besides RTF_STATIC flag is already present
Hi,
With some help from blambert@ and thorough testing by sthen@, I was
able to get this working fairly well. There are some rough edges
however, namely the rdomain kludge and the need for an RTM_DELETE
notification, but apart from that it seems to be doing the right
thing.
The ARP part of the
On Mon, Apr 07, 2014 at 04:04:24PM +0200, Mike Belopuhov wrote:
Hi,
With some help from blambert@ and thorough testing by sthen@, I was
able to get this working fairly well. There are some rough edges
however, namely the rdomain kludge and the need for an RTM_DELETE
notification, but apart
On Mon, Apr 07, 2014 at 16:21 +0200, Bret Lambert wrote:
On Mon, Apr 07, 2014 at 04:04:24PM +0200, Mike Belopuhov wrote:
+struct kif_arp *
+karp_find(struct sockaddr *sa, u_short ifindex)
+{
+ struct kif_node *kn;
+ struct kif_arp *ka = NULL, s;
+
+
a bit of an update, mainly style changes. one functional change:
don't rely on rtm_rmx.rmx_expire to set the F_STATIC flag as
rt_getmetrics is not called consistenly (only with RTM_GETs) and
besides RTF_STATIC flag is already present for static ARP entries.