/freebsd-13-stable/libexec/mknetid/ |
H A D | mknetid.c | 113 char *ptr, *pidptr, *gidptr, *hptr; local 250 if (!(hptr = strpbrk(ptr, "#\n"))) 252 *hptr = '\0'; 253 if (!(hptr = strpbrk(ptr, " \t"))) 255 *hptr++ = '\0'; 256 ptr = hptr; 259 if (!(hptr = strpbrk(ptr, " \t"))) 261 *hptr++ = '\0';
|
/freebsd-13-stable/crypto/heimdal/lib/asn1/ |
H A D | hash.c | 73 Hashentry *hptr; local 77 for (hptr = htab->tab[(*htab->hash) (ptr) % htab->sz]; 78 hptr; 79 hptr = hptr->next) 80 if ((*htab->cmp) (ptr, hptr->ptr) == 0) 82 return hptr;
|
/freebsd-13-stable/sbin/hastd/ |
H A D | hast_proto.c | 86 void *dptr, *hptr; local 118 hptr = ebuf_data(eb, &hsize); 119 if (proto_send(conn, hptr, hsize) == -1) 137 void *hptr; local 157 hptr = ebuf_data(eb, NULL); 158 PJDLOG_ASSERT(hptr != NULL); 159 if (proto_recv(conn, hptr, hdr.size) == -1)
|
/freebsd-13-stable/lib/libc/net/ |
H A D | gethostbyht.c | 178 gethostent_r(struct hostent *hptr, char *buffer, size_t buflen, argument 198 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) { 203 *result = hptr; 230 struct hostent *hptr, he; local 238 hptr = va_arg(ap, struct hostent *); 276 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) { 282 *((struct hostent **)rval) = hptr; 295 struct hostent *hptr, he; local 303 hptr = va_arg(ap, struct hostent *); 333 if (__copy_hostent(&he, hptr, buffe [all...] |
H A D | gethostbynis.c | 213 struct hostent *hptr, he; local 219 hptr = va_arg(ap, struct hostent *); 238 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) { 244 *((struct hostent **)rval) = hptr; 262 struct hostent *hptr, he; local 269 hptr = va_arg(ap, struct hostent *); 288 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) { 294 *((struct hostent **)rval) = hptr;
|
H A D | gethostnamadr.c | 97 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf, argument 123 hptr->h_addrtype = he->h_addrtype; 124 n = hptr->h_length = he->h_length; 130 hptr->h_addr_list = ptr; 133 hptr->h_addr_list[i] = cp; 136 hptr->h_addr_list[i] = NULL; 142 hptr->h_name = cp; 146 hptr->h_aliases = ptr; 150 hptr->h_aliases[i] = cp; 153 hptr [all...] |
H A D | gethostbydns.c | 473 struct hostent *hptr, he; local 481 hptr = va_arg(ap, struct hostent *); 544 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) { 551 *((struct hostent **)rval) = hptr; 565 struct hostent *hptr, he; local 583 hptr = va_arg(ap, struct hostent *); 703 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) { 710 *((struct hostent **)rval) = hptr;
|
/freebsd-13-stable/sys/netinet/libalias/ |
H A D | alias_pptp.c | 434 PptpMsgHead hptr; local 448 hptr = (PptpMsgHead)tcp_next(tc); 451 *ptype = ntohs(hptr->type); 454 if ((ntohs(hptr->msgType) != PPTP_CTRL_MSG_TYPE) || 455 (ntohl(hptr->magic) != PPTP_MAGIC)) 464 return ((PptpCallId)(hptr + 1));
|
/freebsd-13-stable/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 172 HEADER *hptr; local 186 hptr = (HEADER *)&buf; 187 id = ntohs(hptr->id); 355 HEADER *hptr; local 379 hptr = (HEADER *)&buf; 381 (q = yp_find_dnsqent(ntohs(hptr->id), BY_DNS_ID)) == NULL) {
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_bridge.c | 1171 struct ng_bridge_host **hptr = &SLIST_FIRST(&priv->tab[bucket]); local 1173 while (*hptr != NULL) { 1174 struct ng_bridge_host *const host = *hptr; 1177 *hptr = SLIST_NEXT(host, next); 1181 hptr = &SLIST_NEXT(host, next); 1222 struct ng_bridge_host **hptr = &SLIST_FIRST(&priv->tab[bucket]); local 1224 while (*hptr != NULL) { 1225 struct ng_bridge_host *const host = *hptr; 1229 *hptr = SLIST_NEXT(host, next); 1235 hptr [all...] |
/freebsd-13-stable/contrib/ipfilter/tools/ |
H A D | ippool.c | 786 iphtable_t *hptr; local 833 hptr = tables[role]; 834 while (hptr != NULL) { 835 hptr = printhash(hptr, kmemcpywrap, 840 hptr = tables[role]; 841 while (hptr != NULL) { 842 hptr = printhash(hptr, kmemcpywrap,
|
/freebsd-13-stable/contrib/apr/network_io/unix/ |
H A D | sockaddr.c | 817 struct hostent hs, *hptr; 823 hptr = &hs; 829 &hs, tmp, GETHOSTBYNAME_BUFLEN - 1, &hptr, &hosterror); 832 hptr = gethostbyaddr_r((char *)&sockaddr->sa.sin.sin_addr, 836 if (!hptr) { 842 struct hostent *hptr; 843 hptr = gethostbyaddr((char *)&sockaddr->sa.sin.sin_addr, 847 if (hptr) { 848 *hostname = sockaddr->hostname = apr_pstrdup(sockaddr->pool, hptr->h_name);
|
/freebsd-13-stable/usr.bin/rpcgen/ |
H A D | rpc_cout.c | 710 char *ptr, *hptr; local 714 hptr = ptr; 719 return (hptr);
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | ip.c | 503 u_short *hptr, tmp; local 512 hptr = (u_short *)&header; 517 *hptr++ = ntohs(*pktptr); /* Careful of macro side-effects ! */
|