1 /* pup_proto.c 5.2 82/08/01 */ 2 3 #include "../h/param.h" 4 #include "../h/socket.h" 5 #include "../h/protosw.h" 6 #include "../h/domain.h" 7 8 /* 9 * PUP-I protocol family: raw interface 10 */ 11 int rpup_output(); 12 extern int raw_usrreq(); 13 14 struct protosw pupsw[] = { 15 { SOCK_RAW, PF_PUP, 0, PR_ATOMIC|PR_ADDR, 16 0, rpup_output, 0, 0, 17 raw_usrreq, 18 0, 0, 0, 0, 19 }, 20 }; 21 22 struct domain pupdomain = 23 { AF_PUP, "pup", pupsw, &pupsw[sizeof(pupsw)/sizeof(pupsw[0])] }; 24