Home
last modified time | relevance | path

Searched refs:SAMENET (Results 1 – 3 of 3) sorted by relevance

/openbsd/sys/lib/libsa/
H A Dbootp.c232 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 Dnet.h52 #define SAMENET(a1, a2, m) ((a1.s_addr & m) == (a2.s_addr & m)) macro
H A Dnetudp.c109 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) in sendudp()