Searched defs:protosw (Results 1 – 2 of 2) sorted by relevance
94 struct protosw { struct95 short pr_type; /* socket type used for */97 short pr_protocol; /* protocol number */98 short pr_flags; /* see below */102 int (*pr_input)(struct mbuf **, int *, int, int);104 void (*pr_ctlinput)(int, struct sockaddr *, u_int, void *);109 const struct pr_usrreqs *pr_usrreqs;112 void (*pr_init)(void); /* initialization hook */113 void (*pr_fasttimo)(void); /* fast timeout (200ms) */114 void (*pr_slowtimo)(void); /* slow timeout (500ms) */[all …]
549 struct protosw protosw; in fill_file() local