alnsn
e20531c13e
Use "%s" to panic.
2013-10-16 21:55:56 +00:00
mbalmer
e9ea606005
core module for lua(4)
2013-10-16 19:47:19 +00:00
mbalmer
58881ebfcd
welcome lua(4), a devide driver that can create and control Lua states inside the kernel
2013-10-16 19:44:57 +00:00
rmind
7b5edfdc0d
NPF: G/C n-code in favour of BPF byte-code. Delete lots of code, mmm!
2013-09-19 01:49:07 +00:00
rmind
4e592132ab
- Convert NPF to use BPF byte-code by default. Compile BPF byte-code in
...
npfctl(8) and generate separate marks to describe the filter criteria.
- Rewrite 'npfctl show' functionality and fix some of the bugs.
- npftest: add a test for BPF COP.
- Bump NPF_VERSION.
2013-09-19 01:04:45 +00:00
matt
68e39eb09b
Keep track of undefined symbols and then use to determine whether a wrap
...
is required.
2013-08-07 17:29:15 +00:00
matt
1e205987d1
awk support scripts to generate trampolines in modules.
...
(adapted from previous LKM method).
<machine/asm.h> now has a KMODTRAMPOLINE macro to generate the trampoline
2013-08-07 17:06:22 +00:00
dholland
0166a5c7cf
fix another defective C&P makefile
2013-07-20 20:44:02 +00:00
reinoud
70ad4376ce
Add udf_rename.c to the UDF module make
2013-07-10 19:07:20 +00:00
dholland
f545eefb81
Update the sources list for lfs.
...
It is a defect in our module system that failure to include all the sources
in here does not result in a build failure with undefined symbols.
(It is also a defect in our module system that we need a whole parallel
system of source lists for it.)
2013-06-16 03:55:35 +00:00
rmind
bdfcfdcad8
- NPF connection tracking: rework synchronisation on tracking disable/enable
...
points and document it. Split the worker thread into a separate module
with an interface, so it could be re-used for other tasks.
- Replace ALG list with arrays and thus hit fewer cache lines.
- Misc bug fixes.
2013-06-02 02:20:04 +00:00
christos
3776b08253
add new file
2013-05-10 16:35:30 +00:00
christos
3f1838bce3
remove dup
2013-04-16 15:30:09 +00:00
christos
4189a9f4d7
add missing file
2013-04-16 15:21:33 +00:00
christos
b81adcde5a
module for if_athn_usb
2013-03-30 18:59:38 +00:00
christos
2c132b3129
normali{s,z}e
2013-03-12 20:47:48 +00:00
christos
fbddef57ad
new npflog driver split out of npf_ext_log.
2013-03-10 20:54:14 +00:00
rmind
0e21825481
NPF:
...
- Implement dynamic NPF rules. Controlled through npf(3) library of via
npfctl rule command. A rule can be removed using a unique identifier,
returned on addition, or using a key which is SHA1 hash of the rule.
Adjust npftest and add a regression test.
- Improvements to rule inspection mechanism.
- Initial BPF support as an alternative to n-code.
- Minor fixes; bump the version.
2013-02-09 03:35:31 +00:00
christos
985c770dc8
We need more defines for this to actually work!
2013-01-22 01:50:25 +00:00
christos
d558641cdd
No need to wrap each version with a separate conditional.
2013-01-22 01:48:34 +00:00
christos
4c51459516
make this work
2012-12-14 15:46:51 +00:00
rmind
333cdb0c5a
Add NPF "rndblock" extension to randomly drop packets (using a random function
...
with a percentage or modulo operation). This is a demo module, although it can
be used for packet loss simulation. Example of a procedure in npf.conf:
procedure "somedrop" {
# Drop 1.9% of the traffic
rndblock: percentage 1.9
}
2012-12-10 00:32:23 +00:00
chs
11c69f2d20
adapt the cyclic module and profile dtrace provider to netbsd.
...
for now, just hook the cyclic callback into hardclock().
2012-12-02 01:05:16 +00:00
chs
30f1068241
remove unneeded include dirs.
2012-12-02 00:47:37 +00:00
pooka
8d40a1e7f7
Don't unconditionally use the error-silencing magic of -isystem
...
(as opposed to -I) on every component, only the zfs ones depend on it
to build. Regular modules might benefit from a similar move.
2012-11-21 17:48:05 +00:00
alnsn
e4afd2bd10
Enable bpfjit on sparc.
2012-11-06 07:59:09 +00:00
ahoka
cc1cec2dd7
Add nand_samsung.c to the module build too!
2012-11-03 11:48:54 +00:00
alnsn
0cae5cae2f
Build bpfjit on i386.
2012-10-28 16:25:02 +00:00
alnsn
e8c0d6c662
Add bpfjit and enable it for amd64.
2012-10-27 22:36:11 +00:00
alnsn
faf841b39a
Move sljit_mod.c to sys/external/bsd/sljit/sljit and share it between
...
builtin and standalone module.
2012-10-21 21:23:38 +00:00
alnsn
c0135b01f2
Enable sljit in amd64 kernel and modules.
2012-10-13 19:42:02 +00:00
alnsn
5c5a76d566
Remove bpf_jit which was ported from FreeBSD recently.
...
It will soon be replaced with the new bpfjit kernel module.
2012-09-27 18:28:53 +00:00
rmind
8c6e21bf5e
Implement dynamic NPF extensions interface. An extension consists of
...
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module. Move normalisation and logging functionality into their own
extensions. More improvements to come.
2012-09-16 13:47:41 +00:00
rmind
63f44833ba
- Extend npftest: add ruleset inspection testing from the config generated
...
by npfctl debug functionality. Auto-create npftest interfaces for this.
- NPF sessions: combine protocol and interface into a separate substructure,
share between the entries and thus fix the handling of them. Constify.
- npftest: add regression tests for NAT policies.
- npf_build_nat: simplify and fix bi-NAT regression.
- Bump yacc stack size for npfctl.
2012-08-12 03:35:13 +00:00
martin
2b64d8ed07
Move hdaudio and hdafg modules into x86 only section for now, untill
...
somebody creates a "all archs with PCI" ifdef.
2012-08-06 10:31:41 +00:00
riastradh
27d763f8ca
Build hdaudio and hdafg modules.
2012-08-05 04:03:39 +00:00
riastradh
8c75453876
Add a module for uatp(4).
2012-08-04 04:37:25 +00:00
matt
5737b10fcb
Add missing paren.
2012-08-02 00:22:32 +00:00
rmind
1f86dc56b4
Add BPF JIT compiler, currently supporting amd64 and i386. Code obtained
...
from FreeBSD. Also, make few BPF fixes and simplifications while here.
Note that bpf_jit_enable is false for now.
OK dyoung@, some feedback from matt@
2012-08-01 23:24:28 +00:00
reinoud
e631798833
Move i386 and amd64 usermode configurations to their respective directories
...
and make the usermode kernels buildalbe under build.sh.
The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
nonaka
9cdb1c70e5
Add a driver for Ralink Technology RT2700U/RT2800U/RT3000U USB IEEE
...
802.11a/b/g/n wireless network devices, ported from OpenBSD by FUKAUMI Naoki,
arranged by me.
2012-05-30 14:30:32 +00:00
nonaka
bb7d544fc1
Use collect device.
2012-05-30 12:05:56 +00:00
riastradh
32dd758701
Update ffs, ext2fs, and tmpfs module makefiles to add *_rename.c.
...
ok martin
2012-05-10 07:51:34 +00:00
christos
f7b1fda082
split the coda module in a device one, and a vfs one so that it works.
2012-04-26 03:03:53 +00:00
pgoyette
c30f8ca413
Actually create the if_axe module - driver was modularized a while ago.
2012-04-25 13:55:17 +00:00
pgoyette
db696edd06
Actually create the dbcool(4) module. Driver was modularized a while ago.
2012-04-25 04:49:46 +00:00
pgoyette
ca34f38e2b
Create the module for sdtemp (driver itself was modularized some time ago)
2012-04-25 03:44:16 +00:00
cegger
fbb3a1d6f5
replace amdtempbus with amdnb_miscbus.
...
pointed out by pgoyette@
2012-04-13 13:36:57 +00:00
ttoth
4024b54911
using chtype on media instead of vtype
...
debug.c deleted
2012-04-12 15:31:01 +00:00
joerg
0e8643658c
Don't pass assembler flags to genassym, it doesn't compile.
2012-03-25 06:55:19 +00:00