projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
localize header files
[unix-history]
/
usr
/
src
/
sys
/
deprecated
/
netpup
/
pup.c
diff --git
a/usr/src/sys/deprecated/netpup/pup.c
b/usr/src/sys/deprecated/netpup/pup.c
index
df6a1a1
..
316fe61
100644
(file)
--- a/
usr/src/sys/deprecated/netpup/pup.c
+++ b/
usr/src/sys/deprecated/netpup/pup.c
@@
-1,20
+1,19
@@
-/* pup.c 4.
2 82/06/20
*/
+/* pup.c 4.
3 82/10/09
*/
#include "../h/param.h"
#include "../h/mbuf.h"
#include "../h/protosw.h"
#include "../h/socket.h"
#include "../h/socketvar.h"
#include "../h/param.h"
#include "../h/mbuf.h"
#include "../h/protosw.h"
#include "../h/socket.h"
#include "../h/socketvar.h"
-#include "../net/in.h"
-#include "../net/in_systm.h"
#include "../net/af.h"
#include "../net/af.h"
-#include "../net/pup.h"
+#include "../net
pup
/pup.h"
#ifdef PUP
pup_hash(spup, hp)
struct sockaddr_pup *spup;
struct afhash *hp;
{
#ifdef PUP
pup_hash(spup, hp)
struct sockaddr_pup *spup;
struct afhash *hp;
{
+
hp->afh_nethash = spup->spup_addr.pp_net;
hp->afh_hosthash = spup->spup_addr.pp_host;
if (hp->afh_hosthash < 0)
hp->afh_nethash = spup->spup_addr.pp_net;
hp->afh_hosthash = spup->spup_addr.pp_host;
if (hp->afh_hosthash < 0)
@@
-24,6
+23,7
@@
pup_hash(spup, hp)
pup_netmatch(spup1, spup2)
struct sockaddr_pup *spup1, *spup2;
{
pup_netmatch(spup1, spup2)
struct sockaddr_pup *spup1, *spup2;
{
+
return (spup1->spup_addr.pp_net == spup2->spup_addr.pp_net);
}
#endif
return (spup1->spup_addr.pp_net == spup2->spup_addr.pp_net);
}
#endif