summaryrefslogtreecommitdiffstats
path: root/sys/net/if_fwsubr.c
Commit message (Collapse)AuthorAgeFilesLines
* In preparation for fixing races in ARP (and probably in otherglebius2005-08-091-0/+1
| | | | L2/L3 mappings) make rt_check() return a locked rtentry.
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-6/+54
| | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam
* Zero the reserved fields of the header, as per rfc 2734. This changegallatin2005-03-251-0/+6
| | | | | | | | | | results in connectivty to MacOSX hosts via fwip. Thanks to Apple's Arulchandran Paramasivam <arulchandranp@apple.com> for letting us know what we were doing wrong. Reviewed by: dfr MFC After: 7 days
* Remove ip_fw.h and ip_dummynet.h from includes.glebius2005-01-151-2/+0
|
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Revert previous revision, 1.7, as removal of GIANT_REQUIRED was maderwatson2004-08-241-0/+2
| | | | in the wrong branch (and hence to the wrong function).
* MT4 if_fwsubr.c:1.6:rwatson2004-08-241-2/+0
| | | | | | | | date: 2004/08/22 14:48:55; author: rwatson; state: Exp; lines: +0 -2 Don't need to assert Giant in fw_output(), only in the firewire start routine. Approved by: re (scottl)
* Don't need to assert Giant in fw_output(), only in the firewire startrwatson2004-08-221-2/+0
| | | | routine.
* Add two missing includes and remove two uneeded.pjd2004-06-271-0/+2
| | | | | This is quite serious fix, because even with MAC framework compiled in, MAC entry points in those two files were simply ignored.
* Replace IF_HANDOFF with new IFQ_HANDOFF to enqueue with ALTQ once enabled onmlaier2004-06-151-2/+4
| | | | the respective drivers.
* Add MAC framework bits to the output path.dfr2004-06-131-0/+6
|
* Remove advertising clause.dfr2004-06-131-4/+0
|
* Add a new driver to support IP over firewire. This driver is intended todfr2004-06-131-0/+799
conform to the rfc2734 and rfc3146 standard for IP over firewire and should eventually supercede the fwe driver. Right now the broadcast channel number is hardwired and we don't support MCAP for multicast channel allocation - more infrastructure is required in the firewire code itself to fix these problems.
OpenPOWER on IntegriCloud