protosw
struct protosw protosw;
if (KREAD(kd, (u_long)sock.so_proto, &protosw)) {
kf->so_protocol = protosw.pr_protocol;
if (KREAD(kd, (u_long)protosw.pr_domain, &domain)) {
if (protosw.pr_protocol == IPPROTO_TCP) {
if (protosw.pr_protocol == IPPROTO_TCP) {
const struct protosw *
const struct protosw *pr;
const struct protosw *
const struct protosw *pr;
const struct protosw *maybe = NULL;
const struct protosw *pr;
const struct protosw *pr;
const struct protosw *pr;
const struct protosw *pr;
const struct protosw *pr;
const struct protosw unixsw[] = {
const struct protosw *pr = so->so_proto;
soalloc(const struct protosw *prp, int wait)
const struct protosw *prp;
const struct protosw *pr = so->so_proto;
static const struct protosw framesw[] = {
const struct protosw pfkeysw[] = {
const struct protosw routesw[] = {
const struct protosw inetsw[] = {
const struct protosw *pr;
const struct protosw *psw;
const struct protosw inet6sw[] = {
const struct protosw *pr;
const struct protosw *dom_protosw, *dom_protoswNPROTOSW;
const struct protosw *pffindproto(int, int, int);
const struct protosw *pffindtype(int, int);
extern const struct protosw inetsw[];
extern const struct protosw inet6sw[];
const struct protosw *so_proto; /* [I] protocol handle */
struct socket *soalloc(const struct protosw *, int);
struct protosw proto;