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