| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tun(4) and tap(4) share the same general management interface and have a lot
in common. Bugs exist in tap(4) that have been fixed in tun(4), and
vice-versa. Let's reduce the maintenance requirements by merging them
together and using flags to differentiate between the three interface types
(tun, tap, vmnet).
This fixes a couple of tap(4)/vmnet(4) issues right out of the gate:
- tap devices may no longer be destroyed while they're open [0]
- VIMAGE issues already addressed in tun by kp
[0] emaste had removed an easy-panic-button in r240938 due to devdrn
blocking. A naive glance over this leads me to believe that this isn't quite
complete -- destroy_devl will only block while executing d_* functions, but
doesn't block the device from being destroyed while a process has it open.
The latter is the intent of the condvar in tun, so this is "fixed" (for
certain definitions of the word -- it wasn't really broken in tap, it just
wasn't quite ideal).
ifconfig(8) also grew the ability to map an interface name to a kld, so
that `ifconfig {tun,tap}0` can continue to autoload the correct module, and
`ifconfig vmnet0 create` will now autoload the correct module. This is a
low overhead addition.
(MFC commentary)
This may get MFC'd if many bugs in tun(4)/tap(4) are discovered after this,
and how critical they are. Changes after this are likely easily MFC'd
without taking this merge, but the merge will be easier.
I have no plans to do this MFC as of now.
Reviewed by: bcr (manpages), tuexen (testing, syzkaller/packetdrill)
Input also from: melifaro
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D20044
Notes:
svn path=/head/; revision=347241
|
| |
|
|
|
|
|
|
|
|
|
| |
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=314651
|
| |
|
|
|
|
|
|
|
| |
opt_inet6.h into kmod.mk by forcing almost everybody to eat the same
dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h
targets here too.
Notes:
svn path=/head/; revision=269540
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
AppleTalk was a network transport protocol for Apple Macintosh devices
in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk was
a legacy protocol and primary networking protocol is TCP/IP. The last
Mac OS X release to support AppleTalk happened in 2009. The same year
routing equipment vendors (namely Cisco) end their support.
Thus, AppleTalk won't be supported in FreeBSD 11.0-RELEASE.
Notes:
svn path=/head/; revision=263152
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.
Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
Notes:
svn path=/head/; revision=263140
|
| |
|
|
|
|
|
|
|
| |
require it.
Submitted by: pjd
Notes:
svn path=/head/; revision=193588
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=151350
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139399
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112008
|
| |
|
|
|
|
|
|
|
| |
commit.
Submitted by: Anders Andersson <anders@hack.org>
Notes:
svn path=/head/; revision=101113
|
| |
|
|
|
|
|
| |
Not objected to by: -current
Notes:
svn path=/head/; revision=89260
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70711
|
| |
|
|
|
|
|
|
|
|
| |
units), mature garbage (vestiges of old way of configuring bpf) and
old garbage (vestiges of old way of configuring INET).
Fixed most style bugs.
Notes:
svn path=/head/; revision=66397
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cloning infrastructure standard in kern_conf. Modules are now
the same with or without devfs support.
If you need to detect if devfs is present, in modules or elsewhere,
check the integer variable "devfs_present".
This happily removes an ugly hack from kern/vfs_conf.c.
This forces a rename of the eventhandler and the standard clone
helper function.
Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include
like <sys/queue.h>
Remove all #includes of opt_devfs.h they no longer matter.
Notes:
svn path=/head/; revision=65374
|
| |
|
|
|
|
|
| |
encoding the relative path.
Notes:
svn path=/head/; revision=60966
|
| |
|
|
|
|
|
|
|
|
| |
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk. This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
Notes:
svn path=/head/; revision=59951
|
| |
|
|
| |
Notes:
svn path=/head/; revision=56778
|
| |
|
|
|
|
|
| |
Pointed out by: jdp
Notes:
svn path=/head/; revision=56622
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
include this in all kernels. Declare some const *intrq_present
variables that can be checked by a module prior to using *intrq
to queue data.
Make the if_tun module capable of processing atm, ip, ip6, ipx,
natm and netatalk packets when TUNSIFHEAD is ioctl()d on.
Review not required by: freebsd-hackers
Notes:
svn path=/head/; revision=56555
|
| |
|
|
|
|
|
|
| |
moment :-( I think we need some sort of stub variable and a
``is this queue available'' flag.
Notes:
svn path=/head/; revision=56436
|
| |
|
|
| |
Notes:
svn path=/head/; revision=56411
|
| |
|
|
|
|
|
|
| |
and empty options files. The rules are now generated automatically in
bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
Notes:
svn path=/head/; revision=53846
|
| |
|
|
| |
Notes:
svn path=/head/; revision=51712
|
| |
|
|
| |
Notes:
svn path=/head/; revision=51704
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
| |
Notes:
svn path=/head/; revision=48645
|
| |
|
|
|
|
|
|
|
|
|
| |
that doesn't have it. This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.
Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).
Notes:
svn path=/head/; revision=46130
|
| |
|
|
|
|
|
|
|
|
|
|
| |
XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these
rules.
XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw
read or write "flag" context. Perhaps a redundant declaration
somewhere like sys/conf.h might help remove the need for vnode.h in
these device drivers in the first place.
Notes:
svn path=/head/; revision=42769
|
| |
|
|
|
|
|
|
|
|
| |
converted yet. These are more of a starting point. This is NOT connected
to the parent Makefile.
OK'ed by jkh (who is ever so patiently waiting)
Notes:
svn path=/head/; revision=40440
|
| |
|
|
|
|
|
|
| |
path to the obj directory in ${CFLAGS}. This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
Notes:
svn path=/head/; revision=32990
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32725
|
| |
|
|
|
|
|
| |
opt_inet.h.
Notes:
svn path=/head/; revision=32352
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22982
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
|
|
are now dynamically loadable. It doesn't make sense to do the same
for the loopback.
Notes:
svn path=/head/; revision=7194
|