File:  [XINU] / xinu / sys / dot2ip.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:39:02 2018 UTC (8 years, 2 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19870308, HEAD
Xinu for VAX

/* dot2ip.c - dot2ip */

#include <conf.h>
#include <kernel.h>
#include <network.h>

/*------------------------------------------------------------------------
 *  dot2ip  -  convert network address from "decimal dot" form to IPaddr
 *------------------------------------------------------------------------
 */
dot2ip(ip, nad1, nad2, nad3, nad4)
char	*ip;
int	nad1, nad2, nad3, nad4;
{
	*ip++ = LOWBYTE & nad1;
	*ip++ = LOWBYTE & nad2;
	*ip++ = LOWBYTE & nad3;
	*ip++ = LOWBYTE & nad4;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.