BSD 4_1c_2 development
[unix-history] / a / sys / netpup / pup_proto.c
CommitLineData
6f60354d
C
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 */
11int rpup_output();
12extern int raw_usrreq();
13
14struct 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
22struct domain pupdomain =
23 { AF_PUP, "pup", pupsw, &pupsw[sizeof(pupsw)/sizeof(pupsw[0])] };