Searched refs:SAMENET (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/lib/libsa/ |
H A D | bootp.c | 232 if (!SAMENET(d->myip, rootip, netmask)) { in bootprecv() 239 if (!SAMENET(d->myip, swapip, netmask)) { in bootprecv() 247 if (!SAMENET(d->myip, gateip, netmask)) { in bootprecv()
|
H A D | net.h | 52 #define SAMENET(a1, a2, m) ((a1.s_addr & m) == (a2.s_addr & m)) macro
|
H A D | netudp.c | 109 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) in sendudp()
|