opnsense-src/sys/sys
Joerg Wunsch 90a09570d5 Introduce the SIOC[SG]IFGENERIC hooks that can be used to pass an
arbritrary ioctl subcommand into an interface driver.  Surprisingly
enough, there was no provision for this already present (except of the
option of abusing SIOC[SG]IFMEDIA for this).

The idea is that an interface driver can establish ioctl subcommands
of its own that can't be meaningfully interpreted by the upper layer
interface ioctl function.  Something like this is required to
implement a clean solution of passing down things like CHAP secrets or
PPP options to the /sys/net/if_sppp* files.  (Yes, my CHAP is now
finally working with it, but i gotta update my kernel to the new
callout interface before being able to commit _that_.)

Reviewed by:	peter	[long ago, actually]
1997-10-07 07:39:40 +00:00
..
_sigset.h Implement SA_NOCLDWAIT. 1997-09-13 19:42:29 +00:00
acct.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
aio.h Clean up some lint associated with the AIO code. 1997-07-17 04:49:43 +00:00
bio.h buf.h: 1997-09-21 22:09:24 +00:00
bitstring.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
buf.h buf.h: 1997-09-21 22:09:24 +00:00
callout.h Store an absolute tick value in callout entries so that a subtraction on 1997-09-24 16:39:27 +00:00
ccdvar.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
cdefs.h Make the necessary changes so that an ELF kernel can be built. I 1997-04-22 06:55:47 +00:00
cdio.h This mega-commit brings the following: 1997-05-04 15:24:23 +00:00
chio.h Retrofit Bruce's changes from rev 1.7. 1997-03-11 19:38:02 +00:00
clist.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
conf.h Clustered read and write are switched at mount-option level. 1997-09-27 13:40:20 +00:00
cons.h Some staticized variables were still declared to be extern. 1997-07-01 00:54:37 +00:00
copyright.h Extended copyright of PC-98 to 1997. 1997-05-05 13:24:16 +00:00
dataacq.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
devfsext.h Cleaned up. 1997-09-16 14:23:35 +00:00
device.h buf.h: 1997-09-21 22:09:24 +00:00
dir.h Deprecated <sys/dir.h> some more - changed the comment saying that 1997-04-10 13:54:19 +00:00
dirent.h Deprecated <sys/dir.h> some more - changed the comment saying that 1997-04-10 13:54:19 +00:00
disk.h buf.h: 1997-09-21 22:09:24 +00:00
disklabel.h buf.h: 1997-09-21 22:09:24 +00:00
diskmbr.h buf.h: 1997-09-21 22:09:24 +00:00
diskpc98.h buf.h: 1997-09-21 22:09:24 +00:00
diskslice.h Fixed syntax errors in `#if 0' code. 1997-09-16 14:31:44 +00:00
dkbad.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
dkstat.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
dmap.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
domain.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
elf32.h Collect a few missing symbols from the OpenBSD elf includes. (The OpenBSD 1997-08-30 18:58:31 +00:00
errno.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
exec.h Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
fbio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
fcntl.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
fdcio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
file.h Update interfaces for poll() 1997-09-14 02:25:41 +00:00
filedesc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
filio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ftape.h Waste less space. 1996-11-27 22:52:25 +00:00
gmon.h 32-bit counters aren't large enough for 100+MHz clocks. Use 64-bit 1997-07-13 16:38:39 +00:00
imgact.h Add argv0 field for imgact structure - for replacing argv0 in shell 1997-04-23 22:02:37 +00:00
imgact_aout.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
imgact_elf.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
inflate.h Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
interrupt.h Back out 'conflicts' with IRQs, remove intr_registered() decl 1997-07-09 18:08:15 +00:00
ioccom.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl.h Don't include <sys/ioctl.h> in the kernel. Stage 10 (final). Warn if 1997-03-24 12:48:46 +00:00
ioctl_bt848.h Latest round of patches from the author. 1997-10-07 06:30:01 +00:00
ioctl_compat.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ioctl_meteor.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
ipc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
joystick.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
kernel.h buf.h: 1997-09-21 22:09:24 +00:00
ktrace.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
libkern.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
linedisc.h Clustered read and write are switched at mount-option level. 1997-09-27 13:40:20 +00:00
link_aout.h Implement dlsym(RTLD_NEXT, symbol). 1997-08-02 04:56:44 +00:00
link_elf.h Implement dlsym(RTLD_NEXT, symbol). 1997-08-02 04:56:44 +00:00
linker.h This is the kernel linker. To use it, you will first need to apply 1997-05-07 16:05:47 +00:00
lkm.h Removed a stray backslash-newline. 1997-09-16 14:37:55 +00:00
lock.h Change the M_NAMEI allocations to use the zone allocator. This change 1997-09-21 04:24:27 +00:00
lockf.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
lockmgr.h Change the M_NAMEI allocations to use the zone allocator. This change 1997-09-21 04:24:27 +00:00
malloc.h Change the M_NAMEI allocations to use the zone allocator. This change 1997-09-21 04:24:27 +00:00
mbuf.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
md5.h Make the MD* header files C++-aware. Also, string arguments are supposed 1997-08-25 05:24:31 +00:00
mdioctl.h Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
mman.h #ifdef'ed the declaration of lseek() so that -Wredundant-decls doesn't 1997-04-13 15:38:10 +00:00
module.h This is the kernel linker. To use it, you will first need to apply 1997-05-07 16:05:47 +00:00
mount.h Clustered read and write are switched at mount-option level. 1997-09-27 13:40:20 +00:00
mouse.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
msg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
msgbuf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
mtio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
namei.h Fixed formatting of FreeBSD changes. 1997-09-07 17:08:32 +00:00
nlist_aout.h Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
param.h buf.h: 1997-09-21 22:09:24 +00:00
pciio.h Add PCI LKM support. 1997-01-21 23:23:40 +00:00
pipe.h Removed support for OLD_PIPE. <sys/stat.h> is now missing the hack that 1997-04-09 16:53:45 +00:00
poll.h oops, I accidently committed a version without INFTIM at the last moment. 1997-09-14 05:38:03 +00:00
proc.h buf.h: 1997-09-21 22:09:24 +00:00
protosw.h Update interfaces for poll() 1997-09-14 02:25:41 +00:00
ptrace.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
queue.h buf.h: 1997-09-21 22:09:24 +00:00
random.h Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
reboot.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
resource.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
resourcevar.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rlist.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rtprio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
scsiio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
select.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
selinfo.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sem.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
shm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
signal.h Implement SA_NOCLDWAIT. 1997-09-13 19:42:29 +00:00
signalvar.h remove global prototype for setsigvec(). It's static inside kern_sig.c 1997-08-30 11:24:05 +00:00
smp.h General cleanup of the lock pushdown code. They are grouped and enabled 1997-09-07 22:04:09 +00:00
snoop.h Only export ioctl-related stuff to applications. Include prerequisite 1997-03-19 04:37:26 +00:00
socket.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
socketvar.h Update interfaces for poll() 1997-09-14 02:25:41 +00:00
sockio.h Introduce the SIOC[SG]IFGENERIC hooks that can be used to pass an 1997-10-07 07:39:40 +00:00
soundcard.h Bug fix for SNDCTL_DSP_GETOSPACE ioctl. It would report 0 bytes 1997-02-12 06:56:57 +00:00
stat.h Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
syscall-hide.h Regenerate _after_ the commit to syscalls.master 1997-09-15 02:03:45 +00:00
syscall.h Regenerate _after_ the commit to syscalls.master 1997-09-15 02:03:45 +00:00
sysctl.h Removed trailing semicolons from the definitions of the sysctl 1997-09-07 16:53:52 +00:00
sysent.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
syslimits.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
syslog.h Since i've just touched <sys/syslog.h>, thereby causing a large part 1997-10-06 20:37:01 +00:00
sysproto.h Regenerate _after_ the commit to syscalls.master 1997-09-15 02:03:45 +00:00
systm.h buf.h: 1997-09-21 22:09:24 +00:00
tablet.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
termios.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
time.h Add tickadj to struct clockinfo, like NetBSD and OpenBSD. 1997-06-24 18:21:09 +00:00
timeb.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
timers.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
times.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
timetc.h Add tickadj to struct clockinfo, like NetBSD and OpenBSD. 1997-06-24 18:21:09 +00:00
timex.h Update our kernel ntp code to the latest from David Mills. The main change 1996-12-30 18:26:28 +00:00
tprintf.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tty.h Update interfaces for poll() 1997-09-14 02:25:41 +00:00
ttychars.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ttycom.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ttydefaults.h Map CSTATUS to ^T by default or it never noticed by novice users 1997-08-15 22:43:22 +00:00
ttydev.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
types.h Add posix-style clock and timer types (clockid_t and timer_t) 1997-05-08 13:50:36 +00:00
ucred.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
uio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
un.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
unistd.h Modifications to existing files to support the initial AIO/LIO and 1997-06-16 00:29:36 +00:00
unpcb.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
user.h Use roundup(MAXLOGNAME, sizeof(long)) as e_login/s_login arrays size 1997-03-03 09:51:15 +00:00
utsname.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vadvise.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vcmd.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vlimit.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vmmeter.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnioctl.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
vnode.h Change the M_NAMEI allocations to use the zone allocator. This change 1997-09-21 04:24:27 +00:00
vsio.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
wait.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
wormio.h Add 2 new ioctls: WORMIOCREADSESSIONINFO and WORMIOCWRITESESSION. 1997-06-02 20:05:39 +00:00