* Copyright (c) 1983 Regents of the University of California.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)inet_lnaof.c 5.7 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
* Return the local network address portion of an
* internet address; handles class a/b/c network
register u_long i
= ntohl(in
.s_addr
);
return ((i
)&IN_CLASSA_HOST
);
return ((i
)&IN_CLASSB_HOST
);
return ((i
)&IN_CLASSC_HOST
);