|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 874 (0x36a) Types: TextFile Notes: UNIX file Names: »af.h«
└─⟦8c4f54e61⟧ Bits:30004068/disk2.imd Interactive TCP/IP v.1.2 └─⟦8c4f54e61⟧ UNIX Filesystem └─⟦this⟧ »hb/new/usr/include/net/af.h«
/* * Copyright (c) 1982, 1986 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)af.h 5.4 - 87/07/16 */ #ifndef _h_AF #define _h_AF #ident "@(#)af.h 2.1 - 89/04/21" /* * Address family routines, * used in handling generic sockaddr structures. * * Hash routine is called * af_hash(addr, h); * struct sockaddr *addr; struct afhash *h; * producing an afhash structure for addr. * * Netmatch routine is called * af_netmatch(addr1, addr2); * where addr1 and addr2 are sockaddr *. Returns 1 if network * values match, 0 otherwise. */ struct afswitch { int (*af_hash)(); int (*af_netmatch)(); }; struct afhash { u_int afh_hosthash; u_int afh_nethash; }; #ifdef KERNEL extern struct afswitch afswitch[]; #endif #endif /* _h_AF */