tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
To get net ioctl number
Hi.
This might be FAQ...
I'd like to get new number for new ioctl. How should I find unused number
for it? I'm going to add new SIOCXXX. It may not enough to grep sys/net/*.h,
so I made usr.bin/kdump-ioctl.c and did
grep \'i kdump-ioctl.c | sort -n -k 5,5 | uniq | column -t
I think it might not enough because kdump-ioctl.c has no compat-related
code.
What should I do?
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)
Home |
Main Index |
Thread Index |
Old Index