Lines Matching refs:ciaddr1
721 u_int32_t ciaddr1, ciaddr2;
740 GETNLONG(ciaddr1, p); \
765 GETNLONG(ciaddr1, p); \
775 if (go->accept_local && ciaddr1) { /* Do we know our address? */
776 try.ouraddr = ciaddr1;
813 if (go->accept_local && ciaddr1) { /* Do we know our address? */
814 try.ouraddr = ciaddr1;
819 try.dnsaddr[0] = ciaddr1;
823 try.dnsaddr[1] = ciaddr1;
852 GETNLONG(ciaddr1, p);
853 if (ciaddr1 && go->accept_local)
854 try.ouraddr = ciaddr1;
864 GETNLONG(ciaddr1, p);
865 if (ciaddr1 && go->accept_local)
866 try.ouraddr = ciaddr1;
1020 u_int32_t tl, ciaddr1, ciaddr2; /* Parsed address values */
1063 ciaddr1 = wo->hisaddr;
1073 GETNLONG(ciaddr1, p);
1074 if (ciaddr1 != wo->hisaddr &&
1075 (ciaddr1 == 0 || !wo->accept_remote)) {
1077 ciaddr1 = wo->hisaddr;
1078 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1086 } else if (ciaddr1 != 0) {
1087 go->hisaddr = ciaddr1;
1109 PUTNLONG(ciaddr1, nakp);
1114 ho->hisaddr = ciaddr1;
1130 ciaddr1 = wo->hisaddr;
1139 GETNLONG(ciaddr1, p);
1140 if (ciaddr1 != wo->hisaddr &&
1141 (ciaddr1 == 0 || !wo->accept_remote)) {
1143 ciaddr1 = wo->hisaddr;
1144 } else if (ciaddr1 == 0 && wo->hisaddr == 0 &&
1152 ciaddr1 = htonl(0xc0a80101 + ifunit);
1153 dbglog("Peer address unknown; suggesting %I", ciaddr1);
1154 } else if (ciaddr1 == 0 && wo->hisaddr == 0) {
1168 PUTNLONG(ciaddr1, nakp);
1172 ho->hisaddr = ciaddr1;