Lines Matching refs:srchp
1181 * srchp: hostent for the source address(es)
1198 struct hostent *srchp, struct hostent *dsthp,
1254 if (srchp == &dummy.he) {
1256 srchp->h_addr_list[1] = NULL;
1257 } else if (srchp != NULL) {
1259 if (srchp->h_addr_list[i] == NULL)
1267 bcopy(srchp->h_addr_list[i], &sin6->sin6_addr,
1328 } while (srchp != NULL && srchp->h_addr_list[++i] != NULL);
1359 if (!unspec_src && srchp != &dummy.he) {
1369 for (walker = srchp->h_addr_list;
1390 "for name %s.\n"), srchp->h_name);
1415 "instead."), srchp->h_name);
1437 for (walker = srchp->h_addr_list;
1473 srchp->h_name);
1496 srchp->h_name);
1666 struct hostent *srchp = NULL, *dsthp = NULL, *isrchp = NULL,
1952 sa_len = parseaddr(*argv, &srchp,
1954 if (srchp == NULL) {
1974 if (srchp == &dummy.he) {
1981 bcopy(srchp->h_addr_list[0], &sin6->sin6_addr,
2946 cmd, srchp, dsthp, src, dst, unspec_src, buffer, totallen,
2954 if (srchp != NULL && srchp != &dummy.he)
2955 freehostent(srchp);
2982 struct hostent *srchp = NULL, *dsthp = NULL;
3080 sa_len = parseaddr(*argv, &srchp,
3082 if (srchp == NULL) {
3093 if (srchp == &dummy.he) {
3100 bcopy(srchp->h_addr_list[0], &sin6->sin6_addr,
3191 cmd, srchp, dsthp, src, dst, unspec_src, get_buffer,
3195 if (srchp != NULL && srchp != &dummy.he)
3196 freehostent(srchp);