Commit | Line | Data |
---|---|---|
c16b3ac2 | 1 | /* pup_proto.c 5.2 82/08/01 */ |
79d6c953 BJ |
2 | |
3 | #include "../h/param.h" | |
4 | #include "../h/socket.h" | |
5 | #include "../h/protosw.h" | |
c16b3ac2 | 6 | #include "../h/domain.h" |
79d6c953 BJ |
7 | |
8 | /* | |
9 | * PUP-I protocol family: raw interface | |
10 | */ | |
11 | int rpup_output(); | |
c16b3ac2 | 12 | extern int raw_usrreq(); |
79d6c953 BJ |
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])] }; |