summaryrefslogtreecommitdiffstats
path: root/sys/net/if_llatbl.h
Commit message (Collapse)AuthorAgeFilesLines
* The proxy arp entries could not be added into the system over theqingli2009-12-301-1/+1
| | | | | | | | | | | | | | | | | | IFF_POINTOPOINT link types. The reason was due to the routing entry returned from the kernel covering the remote end is of an interface type that does not support ARP. This patch fixes this problem by providing a hint to the kernel routing code, which indicates the prefix route instead of the PPP host route should be returned to the caller. Since a host route to the local end point is also added into the routing table, and there could be multiple such instantiations due to multiple PPP links can be created with the same local end IP address, this patch also fixes the loopback route installation failure problem observed prior to this patch. The reference count of loopback route to local end would be either incremented or decremented. The first instantiation would create the entry and the last removal would delete the route entry. MFC after: 5 days
* Use locks specific to the lltable code, rather than borrow the ifnetrwatson2009-08-251-0/+7
| | | | | | | | | list/index locks, to protect link layer address tables. This avoids lock order issues during interface teardown, but maintains the bug that sysctl copy routines may be called while a non-sleepable lock is held. Reviewed by: bz, kmacy MFC after: 3 days
* When an interface address is removed and the last prefixqingli2009-05-201-0/+5
| | | | | | | | route is also being deleted, the link-layer address table (arp or nd6) will flush those L2 llinfo entries that match the removed prefix. Reviewed by: kmacy
* add utility routine for updating an struct llentry *kmacy2009-04-161-0/+2
|
* add macro for destroying an llentry's rwlockkmacy2008-12-161-1/+2
|
* Add arpv2 management codekmacy2008-12-151-0/+191
OpenPOWER on IntegriCloud