summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix prototype formatting (indentation, long lines, and continued lines).ghelmer2012-01-111-23/+30
| | | | Requested by bde.
* Fix namespace issues with prototype parameter names.ghelmer2012-01-111-32/+32
| | | | | | Add missing prototype parameter names. Requested by bde.
* Fix forward structure declaration and prototype disorder.ghelmer2012-01-111-34/+33
| | | | Requested by bde.
* Pass the arguments to mtx_init() in the correct order. There should betruckman2012-01-111-1/+1
| | | | | | | no change to the binary because the value of MTX_DEF is zero and there is a visible function prototype. MFC after: 1 week
* Replace GPL'd headers in the emu10kx snd driver code.pfg2012-01-1110-2360/+316
| | | | | | | | | | | | | | This uses the emuxkireg.h already used in the emu10k1 snd driver. Special thanks go to Alexander Motin as he was able to find some errors and reverse engineer some wrong values in the emuxkireg header. The emu10kx driver is now free from the GPL. PR: 153901 Tested by: mav, joel Approved by: jhb (mentor) MFC after: 2 weeks
* Fix an inconsistency that crept in while replacing constantspfg2012-01-111-2/+2
| | | | | | | from the new header. Approved by: jhb (mentor) MFC after: 3 days
* Add hpt27xx to the hardware notes,brueffer2012-01-112-0/+4
| | | | | | While here, add the 2012 copyright. MFC after: 1 week
* Redo r226660:glebius2012-01-111-35/+27
| | | | | | | | | - Define schednetisr() to swi_sched. - In the swi handler check if there is some data prepared, and if true, then call pfsync_sendout(), however tell it not to schedule swi again. - Since now we don't obtain the pfsync lock in the swi handler, don't use ifqueue mutex to synchronize queue access.
* Bring over a tool to create and destroy wtap instances.adrian2012-01-112-0/+91
| | | | Submitted by: Monthadar Al Jaberi <monthadar@gmail.com>
* Add PCI Id for the AMT SOL UART on 5 series Intel chipsets.kib2012-01-111-0/+2
| | | | MFC after: 1 week
* Introduce wtap, the beginnings of a net80211 wlan simulator.adrian2012-01-1114-0/+2369
| | | | | | | | | | | | | | | | | | | This introduces: * a basic wtap interface * a HAL, which implements an abstraction layer for implementing different device behavious; * A visibility plugin, which allows for control over which nodes see other nodes (useful for mesh work.) It doesn't yet implement sta/adhoc/hostap modes but these are quite feasible to implement. Monthadar uses it to do 802.11s mesh verification. The userland tools will be committed in a follow-up commit. Submitted by: Monthadar Al Jaberi <monthadar@gmail.com>
* Add the ability to kick an existing mesh node without waiting for itadrian2012-01-111-0/+11
| | | | | | to time out. Submitted by: Monthadar Al Jaberi <monthadar@gmail.com>
* Add a memory barrier to bus_dmamap_sync(), as should have always beennwhitehorn2012-01-111-0/+3
| | | | | present. We need a sync instead of eieio, as eieio does not enforce storage ordering between main and device memory.
* jilles pointed out that O_CLOEXEC could be used in the open(2) flagsghelmer2012-01-111-14/+1
| | | | | | rather than using fcntl(2) later, and in addition to saving a system call, removes a possible race with fork/exec from threads or signal handlers.
* Fix for PR 138526.gnn2012-01-111-6/+42
| | | | | | | | | | Add the ability for /dev/null and /dev/zero to accept being set into non blocking mode via fcntl(). This brings the code into compliance with IEEE Std 1003.1-2001 as referenced in another PR, 94729. Reviewed by: jhb MFC after: 1 week
* Fix some spacing in code under __FreeBSD__.glebius2012-01-111-10/+10
|
* Add necessary locking in pfsync_in_ureq().glebius2012-01-111-6/+7
|
* Move PF_LOCK_ASSERT() under __FreeBSD__.glebius2012-01-111-1/+1
|
* Merge from OpenBSD:glebius2012-01-111-4/+1
| | | | | | | revision 1.128 date: 2009/08/16 13:01:57; author: jsg; state: Exp; lines: +1 -5 remove prototypes of a bunch of functions that had their implementations removed in pfsync v5.
* When running with INVARIANTS the mutex(9) code does all necessaryglebius2012-01-111-9/+2
| | | | asserts for non-recursive mutexes.
* jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s"rmacklem2012-01-111-1/+0
| | | | | | | | would go negative after using the "-z" option to zero out the stats. This patch fixes that by not zeroing out the srvcache_size field for "-z", since it is the size of the cache and not a counter. MFC after: 2 weeks
* Add the MCS radiotype entry.adrian2012-01-112-0/+5
|
* Constify arguments.pjd2012-01-112-3/+3
|
* Re-enable the PHY radar error frames if sc_dodfs is set.adrian2012-01-111-0/+7
| | | | | This was messing up a local port of the atheros reference radar detection code; I'll fix the port instead.
* style(9) changes. This shouldn't change functionality.adrian2012-01-111-35/+73
|
* Add in the vendor extension bit in the radiotap header.adrian2012-01-101-0/+1
|
* other simplifications in the internal interfaces to theluigi2012-01-101-11/+13
| | | | memory allocator.
* - Fix a bug where pidfile was removed in SIGHUP when it hasn't changed inpjd2012-01-101-4/+8
| | | | | | | configuration file. - Log the fact that pidfile has changed. MFC after: 3 days
* For functions that return -1 on failure check exactly for -1 and not forpjd2012-01-1017-144/+144
| | | | | | any negative number. MFC after: 3 days
* Don't touch pidfiles when running in foreground. Before that change wepjd2012-01-101-11/+19
| | | | | | would create an empty pidfile on start and check if it changed on SIGHUP. MFC after: 3 days
* Add link for pidfile_fileno.3 to pidfile.3 - thanks again pjd!ghelmer2012-01-101-1/+2
|
* Style fixes courtesy of pjd.ghelmer2012-01-102-2/+5
|
* Document that pidfile_open() now sets the FD_CLOEXEC flag on the openghelmer2012-01-101-0/+4
| | | | | file descriptor, and that errors can be returned as a result of the fcntl(2) system call.
* style. No functional changes.yongari2012-01-101-34/+68
|
* small code cleanup in preparation for future modifications inluigi2012-01-1011-111/+131
| | | | | | | the memory allocator used by netmap. No functional change, two small bug fixes: - in if_re.c add a missing bus_dmamap_sync() - in netmap.c comment out a spurious free() in an error handling block
* Revert unintentional commit of changes to getnetgrent.c.ghelmer2012-01-101-28/+13
|
* Add pidfile_fileno() to obtain the file descriptor for an openghelmer2012-01-104-15/+67
| | | | pidfile.
* Set the FD_CLOEXEC flag on the open pidfile file descriptor.ghelmer2012-01-101-0/+14
| | | | Discussed with: pjd, des
* Change the type of the paging_in_progress refcounter from u_short tokib2012-01-101-1/+1
| | | | | | | | | | u_int. With the auto-sized buffer cache on the modern machines, UFS metadata can generate more the 65535 pages belonging to the buffers undergoing i/o, overflowing the counter. Reported and tested by: jimharris Reviewed by: alc MFC after: 1 week
* Implement an option to execute SNMP walks using GETBULK requests in bsnmpwalk(1)syrinx2012-01-104-26/+62
| | | | | | | retrieving multiple values with a Single PDU. Reviewed by: philip@ Tested by: tsanand129 (at) gmail (dot) com
* Add setsockopt(2) example to ng_ksocket(4).melifaro2012-01-101-2/+8
| | | | | | | While here, fix formatting a bit Approved by: kib(mentor) MFC after: 2 weeks
* Fix warning when compiling with gcc46:eadler2012-01-102-6/+1
| | | | | | | | | error: variable 'freq' set but not used error: variable 'mode_pars' set but not used Reviewed by: mav Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-2/+1
| | | | | | | | error: variable 'blksfree' set but not used Reviewed by: pjd Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-2/+1
| | | | | | | error: variable 'inumber' set but not used Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-2/+1
| | | | | | | | error: variable 'secsz' set but not used Reviewed by: ae Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-5/+2
| | | | | | | | error: variable 'op' set but not used error: variable 'cmd' set but not used Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-3/+0
| | | | | | | error: variable 'firstkey' set but not used Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-2/+0
| | | | | | | error: variable 'c' set but not used Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-2/+1
| | | | | | | error: variable 'origextlen' set but not used Approved by: dim MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-101-2/+1
| | | | | | | error: variable 'Sflag' set but not used Approved by: dim MFC after: 3 days
OpenPOWER on IntegriCloud