Lines Matching refs:ciaddr
70 struct in_addr ciaddr;
81 ciaddr.s_addr = htonl(INADDR_ANY);
115 * If a client address (ciaddr) is given, we simply trust that
123 ciaddr.s_addr = plp->pkt->ciaddr.s_addr;
124 if (ciaddr.s_addr != htonl(INADDR_ANY)) {
126 dn.dn_cip.s_addr = ntohl(ciaddr.s_addr);
152 * If the client thinks it knows who it is (ciaddr), and this doesn't
156 if (ciaddr.s_addr != htonl(INADDR_ANY) && crecords == 0) {
167 dn.dn_cip.s_addr = ntohl(ciaddr.s_addr);
168 (void) inet_ntop(AF_INET, &ciaddr, cipbuf, sizeof (cipbuf));
186 pcd->cidbuf, inet_ntop(AF_INET, &ciaddr,
257 if (ciaddr.s_addr == htonl(INADDR_ANY)) {
331 * otherwise echo the client's ciaddr back to him.
333 if (ciaddr.s_addr == htonl(INADDR_ANY))
336 rep_pktp->ciaddr.s_addr = ciaddr.s_addr;