Lines Matching refs:rsp
146 swapresponse(rsp) in swapresponse() argument
147 CTL_RESPONSE rsp; in swapresponse()
151 if (rsp.addr.sin_family != AF_INET) {
152 bcopy(&rsp, &swaprsp, sizeof (CTL_RESPONSE));
154 rsp.addr = swaprsp.addr;
155 rsp.type = swaprsp.type;
156 rsp.answer = swaprsp.answer;
157 rsp.id_num = swaprsp.id_num;
160 return (rsp);
177 swapresponse(rsp) in swapresponse() argument
178 CTL_RESPONSE rsp; in swapresponse()
182 if (rsp.addr.sin_family != AF_INET) {
183 bcopy(&rsp, &swaprsp, sizeof (struct ctl_response_sun3));
185 rsp.type = swaprsp.type;
186 rsp.answer = swaprsp.answer;
187 rsp.id_num = swaprsp.id_num1
189 rsp.addr.sin_family = swaprsp.sin_family;
190 rsp.addr.sin_port = swaprsp.sin_port;
191 rsp.addr.sin_addr.s_addr =
195 return (rsp);