Searched refs:hptr (Results 1 - 14 of 14) sorted by relevance

/freebsd-current/libexec/mknetid/
H A Dmknetid.c108 char *ptr, *pidptr, *gidptr, *hptr; local
245 if (!(hptr = strpbrk(ptr, "#\n")))
247 *hptr = '\0';
248 if (!(hptr = strpbrk(ptr, " \t")))
250 *hptr++ = '\0';
251 ptr = hptr;
254 if (!(hptr = strpbrk(ptr, " \t")))
256 *hptr++ = '\0';
/freebsd-current/crypto/heimdal/lib/asn1/
H A Dhash.c73 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-current/sbin/hastd/
H A Dhast_proto.c84 void *dptr, *hptr; local
116 hptr = ebuf_data(eb, &hsize);
117 if (proto_send(conn, hptr, hsize) == -1)
135 void *hptr; local
155 hptr = ebuf_data(eb, NULL);
156 PJDLOG_ASSERT(hptr != NULL);
157 if (proto_recv(conn, hptr, hdr.size) == -1)
/freebsd-current/lib/libc/net/
H A Dgethostbyht.c172 gethostent_r(struct hostent *hptr, char *buffer, size_t buflen, argument
192 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
197 *result = hptr;
224 struct hostent *hptr, he; local
232 hptr = va_arg(ap, struct hostent *);
270 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
276 *((struct hostent **)rval) = hptr;
289 struct hostent *hptr, he; local
297 hptr = va_arg(ap, struct hostent *);
327 if (__copy_hostent(&he, hptr, buffe
[all...]
H A Dgethostbynis.c210 struct hostent *hptr, he; local
216 hptr = va_arg(ap, struct hostent *);
235 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
241 *((struct hostent **)rval) = hptr;
259 struct hostent *hptr, he; local
266 hptr = va_arg(ap, struct hostent *);
285 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
291 *((struct hostent **)rval) = hptr;
H A Dgethostnamadr.c94 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf, argument
120 hptr->h_addrtype = he->h_addrtype;
121 n = hptr->h_length = he->h_length;
127 hptr->h_addr_list = ptr;
130 hptr->h_addr_list[i] = cp;
133 hptr->h_addr_list[i] = NULL;
139 hptr->h_name = cp;
143 hptr->h_aliases = ptr;
147 hptr->h_aliases[i] = cp;
150 hptr
[all...]
H A Dgethostbydns.c469 struct hostent *hptr, he; local
477 hptr = va_arg(ap, struct hostent *);
540 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
547 *((struct hostent **)rval) = hptr;
561 struct hostent *hptr, he; local
579 hptr = va_arg(ap, struct hostent *);
699 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
706 *((struct hostent **)rval) = hptr;
/freebsd-current/sys/netinet/libalias/
H A Dalias_pptp.c432 PptpMsgHead hptr; local
446 hptr = (PptpMsgHead)tcp_next(tc);
449 *ptype = ntohs(hptr->type);
452 if ((ntohs(hptr->msgType) != PPTP_CTRL_MSG_TYPE) ||
453 (ntohl(hptr->magic) != PPTP_MAGIC))
462 return ((PptpCallId)(hptr + 1));
/freebsd-current/usr.sbin/ypserv/
H A Dyp_dnslookup.c170 HEADER *hptr; local
184 hptr = (HEADER *)&buf;
185 id = ntohs(hptr->id);
349 HEADER *hptr; local
373 hptr = (HEADER *)&buf;
375 (q = yp_find_dnsqent(ntohs(hptr->id), BY_DNS_ID)) == NULL) {
/freebsd-current/contrib/arm-optimized-routines/networking/test/
H A Dchksum.c41 const uint16_t *may_alias hptr = ptr; local
47 sum += *hptr++;
53 sum += *(uint8_t *) hptr;
/freebsd-current/sys/netgraph/
H A Dng_bridge.c1166 struct ng_bridge_host **hptr = &SLIST_FIRST(&priv->tab[bucket]); local
1168 while (*hptr != NULL) {
1169 struct ng_bridge_host *const host = *hptr;
1172 *hptr = SLIST_NEXT(host, next);
1176 hptr = &SLIST_NEXT(host, next);
1216 struct ng_bridge_host **hptr = &SLIST_FIRST(&priv->tab[bucket]); local
1218 while (*hptr != NULL) {
1219 struct ng_bridge_host *const host = *hptr;
1223 *hptr = SLIST_NEXT(host, next);
1229 hptr
[all...]
/freebsd-current/sbin/ipf/ippool/
H A Dippool.c757 iphtable_t *hptr; local
804 hptr = tables[role];
805 while (hptr != NULL) {
806 hptr = printhash(hptr, kmemcpywrap,
811 hptr = tables[role];
812 while (hptr != NULL) {
813 hptr = printhash(hptr, kmemcpywrap,
/freebsd-current/usr.bin/rpcgen/
H A Drpc_cout.c700 char *ptr, *hptr; local
704 hptr = ptr;
709 return (hptr);
/freebsd-current/usr.sbin/ppp/
H A Dip.c501 u_short *hptr, tmp; local
510 hptr = (u_short *)&header;
515 *hptr++ = ntohs(*pktptr); /* Careful of macro side-effects ! */

Completed in 129 milliseconds