NetBSD Wiki/projects/project/
Revamped struct protosw
IMPORTANT: This project was completed by Tyler Retzlaff. You may still contact the people above for details, but please do not submit an application for this project.
The goal of this project is to split out obvious PR*_xxx
that should have
never been dispatched through the pr_usrreq
/pr_ctloutput
. Note that
pr_ctloutput
should be replaced by pr_getopt
/pr_setopt
:
PRU_CONTROL
->pr_ioctl
PRU_PURGEIF
->pr_purgeif
PRC0_GETOPT
->pr_getopt
PRC0_GETOPT
->pr_setopt
It's expected that pr_drain
will just schedule a
kernel continuation such as:
pr_init
->int pr_init(void *dsc);
int pr_fini(void *dsc)
Add a comment