summaryrefslogtreecommitdiffstats
path: root/sys/net
Commit message (Collapse)AuthorAgeFilesLines
...
* Use if_printf().mdodd2003-03-152-4/+3
|
* iso88025_ifattach() changes:mdodd2003-03-152-3/+22
| | | | | - Call if_attach(). - Conditionally call bpfattach() based on second function argument.
* - Style(9) changes.mdodd2003-03-151-4/+11
| | | | | | - Remove unneeded assignment. - Increment if_oerrors as per if_fddisubr.c. - Wrap ISO code with conditional.
* Stray } forgotten by manual merging.mdodd2003-03-151-1/+0
|
* - Remove stray ).mdodd2003-03-151-2/+6
| | | | | - Add missing breaks. - Add missing if_noproto++.
* Revert part of 1.37; use bcopy() like if_fddisubr.c.mdodd2003-03-151-3/+1
|
* - Increment ifp->if_noproto when appropriate.mdodd2003-03-151-11/+19
| | | | | - Use 'goto dropanyway' when appropriate. - Move dropanyway label out of switch for readability.
* Update interface statistics after MAC and IFF_UP|IFF_RUNNING checks.mdodd2003-03-151-6/+6
|
* - Adopt tests for (IFF_UP|IFF_RUNNING) and non local unicast packetsmdodd2003-03-151-5/+20
| | | | | in promiscuous mode from if_fddisubr.c. - Add comment to reduce diffs.
* Add MAC support.mdodd2003-03-151-0/+12
| | | | This is the same code that was added in 1.70 of if_fddisubr.c
* Use llc_control rather than llc_snap.control.mdodd2003-03-151-1/+1
|
* - Add comment.mdodd2003-03-151-2/+5
| | | | - Whitespace fixes.
* Reduce code differences.mdodd2003-03-153-19/+20
|
* Use ISO88025_ADDR_LEN where appropriate.mdodd2003-03-151-6/+6
|
* Don't use etherbroadcastaddr; use iso88025_broadcastaddr.mdodd2003-03-151-4/+6
|
* - Remove definition of senderr() from iso88025.h.mdodd2003-03-153-3/+3
| | | | - Use definition of senderr() from if_ethersubr.c.
* Some whitespace/style/readability changes.mdodd2003-03-151-16/+29
|
* Add iso88025_resolvemulti().mdodd2003-03-151-0/+87
| | | | Cribbed from net/if_fddisubr.c
* Fix formatting of iso88025_ifattach().mdodd2003-03-151-9/+9
|
* Re-order and prune includes.mdodd2003-03-152-17/+9
|
* Add module data and version.mdodd2003-03-152-0/+18
|
* s/llc_un.type_snap/llc_snap/gmdodd2003-03-151-9/+9
|
* Formatting and whitespace changes.mdodd2003-03-151-9/+9
|
* This corrects a longstanding endian bug in processing LLC/SNAP encodedharti2003-03-132-5/+5
| | | | | | | | | | | frames. A comment in if_atm.h suggests that both macros, that for extracting the ethertype and that for inserting it, handle their argument in host byte order. In fact, the inserting macro treated its argument as an opposite host order short and the calling code feeds it the result of htons(). This happens to work on i386, but fails on sparc. Make the macro use real host endianess. Reviewed by: kjc, atm@
* Pass the correct malloc flags to m_tag_alloc().mux2003-03-131-1/+1
|
* correct two more flag misuses; m_tag* use malloc flagssam2003-03-121-1/+1
|
* Note that MAJOR_AUTO is now the default if d_maj is not initialized. Thisphk2003-03-091-1/+0
| | | | | | | | is more robust and prevents the hijacking of /dev/console for the typical mistake. Remove unneeded MAJOR_AUTO uses, it is only needed explicitly now if the driver source has cross-branch compatibility to old releases.
* Discard the packet if the netisr queue is null instead of panicing, forjlemon2003-03-081-2/+8
| | | | the benefit of modules which are compiled differently than the kernel.
* Revert last change and insure the driver can support other address families.jlemon2003-03-081-0/+18
| | | | Pointed out by: ume, matusita
* The tun driver is INET only. Don't pretend to support other address families.jlemon2003-03-081-25/+0
| | | | Sponsored by: DARPA, NAI Labs
* Finish driving a stake through the heart of netns and the associatedpeter2003-03-059-162/+0
| | | | | | ifdefs scattered around the place - its dead Jim! The SMB stuff had stolen AF_NS, make it official.
* GC unused files.jlemon2003-03-042-149/+0
|
* Update netisr handling; Each SWI now registers its queue, and all queuejlemon2003-03-0416-327/+412
| | | | | | | | | | drain routines are done by swi_net, which allows for better queue control at some future point. Packets may also be directly dispatched to a netisr instead of queued, this may be of interest at some installations, but currently defaults to off. Reviewed by: hsu, silby, jayanth, sam Sponsored by: DARPA, NAI Labs
* Make nokqfilter() return the correct return value.phk2003-03-031-1/+0
| | | | Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-034-53/+31
| | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
* Revert last commit. File tracks NetBSD.mdodd2003-03-031-13/+13
| | | | Requested by: sam
* sizeof(struct llc) -> LLC_SNAPFRAMELENmdodd2003-03-037-31/+31
| | | | | sizeof(struct ether_header) -> ETHER_HDR_LEN sizeof(struct fddi_header) -> FDDI_HDR_LEN
* Use IFP2AC() rather than casting to struct arpcom *mdodd2003-03-031-2/+2
|
* De-register.mdodd2003-03-033-19/+19
|
* Reduce code duplication. This adds the function rt_check() to route.c.mdodd2003-03-027-116/+71
| | | | Approved by: sam (in principle)
* More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).des2003-03-023-6/+6
|
* Clean up whitespace, s/register //, refrain from strong urge to ANSIfy.des2003-03-023-112/+112
|
* uiomove-related caddr_t -> void * (just the low-hanging fruit)des2003-03-023-6/+6
|
* Make the network /dev entries use MAJOR_AUTO.mux2003-02-281-3/+1
|
* NODEVFS cleanup: remove calls to cdevsw_remove()phk2003-02-261-2/+0
|
* Back out M_* changes, per decision of the TRB.imp2003-02-1931-135/+135
| | | | Approved by: trb
* remove stray debugging printfsam2003-02-181-1/+0
| | | | Noted by: Kasper Steensgaard <steensgaard@person.dk>
* o Restore an interrupt priority level before return.maxim2003-02-171-0/+2
| | | | | | Submitted by: Roman Kurakin <rik@cronyx.ru> Reviewed by: joerg MFC after: 5 days
* Remove #include <sys/dkstat.h>phk2003-02-162-2/+0
|
* Do not do an assignment in a truth test (previous commit) or gcc gives apeter2003-02-121-1/+1
| | | | | | | | | warning which breaks builds. cc1: warnings being treated as errors src/sys/net/bridge.c: In function `bdg_forward': sys/net/bridge.c:931: warning: suggest parentheses around assignment used as truth value *** Error code 1
OpenPOWER on IntegriCloud