try to get the kernel printfs out before console starts reboot
[unix-history] / usr / src / sys / deprecated / netpup / pup.c
CommitLineData
3f84b4ee 1/* pup.c 6.2 84/08/29 */
bb33353b 2
3f84b4ee
JB
3#include "param.h"
4#include "mbuf.h"
5#include "protosw.h"
6#include "socket.h"
7#include "socketvar.h"
bb33353b 8#include "../net/af.h"
fcfe450e 9#include "../netpup/pup.h"
bb33353b
SL
10
11#ifdef PUP
12pup_hash(spup, hp)
13 struct sockaddr_pup *spup;
14 struct afhash *hp;
15{
fcfe450e 16
3d03f27e
SL
17 hp->afh_nethash = spup->spup_net;
18 hp->afh_hosthash = spup->spup_host;
bb33353b
SL
19}
20
21pup_netmatch(spup1, spup2)
22 struct sockaddr_pup *spup1, *spup2;
23{
fcfe450e 24
3d03f27e 25 return (spup1->spup_net == spup2->spup_net);
bb33353b
SL
26}
27#endif