1*7621Sroot /* pup_proto.c 5.2 82/08/01 */ 27617Sroot 37617Sroot #include "../h/param.h" 47617Sroot #include "../h/socket.h" 57617Sroot #include "../h/protosw.h" 6*7621Sroot #include "../h/domain.h" 77617Sroot 87617Sroot /* 97617Sroot * PUP-I protocol family: raw interface 107617Sroot */ 117617Sroot int rpup_output(); 12*7621Sroot extern int raw_usrreq(); 137617Sroot 147617Sroot struct protosw pupsw[] = { 157617Sroot { SOCK_RAW, PF_PUP, 0, PR_ATOMIC|PR_ADDR, 167617Sroot 0, rpup_output, 0, 0, 177617Sroot raw_usrreq, 187617Sroot 0, 0, 0, 0, 197617Sroot }, 207617Sroot }; 217617Sroot 227617Sroot struct domain pupdomain = 237617Sroot { AF_PUP, "pup", pupsw, &pupsw[sizeof(pupsw)/sizeof(pupsw[0])] }; 24