add libip

This commit is contained in:
rsc 2003-11-23 18:23:20 +00:00
parent 99947423b1
commit d709423926
13 changed files with 875 additions and 0 deletions

13
src/libip/equivip.c Normal file
View file

@ -0,0 +1,13 @@
#include <u.h>
#include <libc.h>
int
equivip(uchar *a, uchar *b)
{
int i;
for(i = 0; i < 4; i++)
if(a[i] != b[i])
return 0;
return 1;
}