| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Approved by: glebius (mentor)
|
| |
|
|
|
|
|
|
|
|
| |
truncate it if it exists) or :>> (ensure the file exists, but don't change
it if it already does)
Reviewed by: ru
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
mbuf_tags(9) on packets.
Submitted by: Vadim Goncharov <vadimnuclight tpu.ru>
mdoc(7) reviewed by: ru
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
|
|
|
| |
Tested by: cvs diff -B
|
|
|
|
|
| |
The sysctl is changed from net.bpf.jitter.enable to net.bpf_jitter.enable
and this controls both bpf(4) and ng_bpf(4) now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR). Thus, such fake files won't be
created at all if modules are built with the kernel.
Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.
Reviewed by: ru
Tested by: no binary changes in modules built alone
Tested on: i386 sparc64 amd64
|
| |
|
|
|
|
|
|
| |
without hacking source.
In collaboration with: ru, julian
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
proper module dependencies.
While here, removed stray -Wall from CFLAGS.
|
| |
|
| |
|
| |
|
|
|
|
| |
disable them on all but i386.
|
| |
|
| |
|
|
|
|
| |
place for documentation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
List of functional changes:
- Make a single device per single node with a single hook.
This gives us parrallelizm, which can't be achieved on a single
node with many devices/hooks. This also gives us flexibility - we
can play with a particular device node, not affecting others.
- Remove read queue as it is. Use struct ifqueue instead. This change
removes a lot of extra memcpy()ing, m_devget()ting and m_copymem()ming.
In ng_device_receivedata() we enqueue an mbuf and wake readers.
In ngdread() we take one mbuf from qeueue and uiomove() it to
userspace. If no mbuf is present we optionally block. [1]
- In ngdwrite() we create an mbuf from uio using m_uiotombuf().
This is faster then uiomove() into buffer, and then m_copydata(),
and this is much better than huge m_pullup().
- Perform locking of device
- Perform locking of connection list.
- Clear out _rcvmsg method, since it does nothing good yet.
- Implement NGM_DEVICE_GET_DEVNAME message.
- #if 0 ioctl method, while nothing is done here yet.
- Return immediately from ngdwrite() if uio_resid == 0.
List of tidyness changes:
- Introduce device2priv(), to remove cut'n'paste.
- Use MALLOC/FREE, instead of malloc/free.
- Use unit2minor().
- Use UID_ROOT/GID_WHEEL instead of 0/0.
- Define NGD_DEVICE_DEVNAME, use it.
- Use more nice macros for debugging. [2]
- Return Exxx, not -1.
style(9) changes:
- No "#endif" after short block.
- Break long lines.
- Remove extra spaces, add needed spaces.
[1] Obtained from: if_tun.c
[2] Obtained from: ng_pppoe.c
Reviewed by: marks
Approved by: julian (mentor)
MFC after: 1 month
|
|
|
|
| |
Approved by: julian (mentor)
|
| |
|
|
|
|
| |
Reviewed by: imp, ru
|
| |
|
|
|
|
|
|
|
| |
the modules.
Also generate usbdevs.h automatically now, but a non-kernel file is
stopping that at the moment.
|
| |
|
| |
|
|
|
|
|
|
|
| |
system after extra check.
Approved by: imp (mentor)
Approved by: julian (in general)
|
|
|
|
|
|
|
|
|
|
| |
ethernet (tested) and FDDI (not tested). The main use for this is on ADSL (or
other ATM) connections where bridged ethernet is used, PPPoE being a prime
example.
There is no manual page as yet, I will write one shortly.
Reviewed by: harti
|
| |
|
|
|
|
|
| |
Requested by: phk
Reviewed by: imp (mentor), ru
|
| |
|
| |
|
| |
|
|
|
|
| |
debug support.
|
|
|
|
| |
handles user and network side signaling and partly PNNI.
|
|
|
|
|
|
| |
message encoding and decoding stuff into the base module. All of this
is accessed by several of the NgATM modules and putting this into
atmbase reduceds the memory footprint.
|
| |
|
|
|
|
|
| |
Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
|
|
|
|
|
|
| |
to run the HARP ATM stack without real hardware.
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
|
|
|
|
| |
hatm(4) and fatm(4) drivers, en(4) will follow soon.
|
|
|
|
|
| |
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@
|
|
|
|
|
|
|
|
|
|
|
| |
ethernet controller. The driver has been tested with the LinkSys
USB200M adapter. I know for a fact that there are other devices out
there with this chip but don't have all the USB vendor/device IDs.
Note: I'm not sure if this will force the driver to end up in the
install kernel image or not. Special magic needs to be done to exclude
it to keep the boot floppies from bloating again, someone please
advise.
|
| |
|
|
|
|
|
|
|
| |
we have the rc4 code already in the kernel (via wlan stuff or awi).
Add a dependency on the rc4 module so if it doesn't exist then load it.
Reviewed by: archie
|
| |
|