Searched refs:nsap (Results 1 - 2 of 2) sorted by relevance

/haiku-fatelf/src/kits/network/libbind/resolv/
H A Dres_send.c414 struct sockaddr *nsap; local
416 nsap = get_nsaddr(statp, ns);
417 nsaplen = get_salen(nsap);
427 act = (*statp->qhook)(&nsap, &buf, &buflen,
452 getnameinfo(nsap, nsaplen, abuf, sizeof(abuf),
506 act = (*statp->rhook)(nsap, buf, buflen,
601 struct sockaddr *nsap; local
612 nsap = get_nsaddr(statp, ns);
613 nsaplen = get_salen(nsap);
626 !sock_eq((struct sockaddr *)&peer, nsap)) {
799 const struct sockaddr *nsap; local
[all...]
/haiku-fatelf/src/bin/network/tcpdump/
H A Daddrtoname.c393 /* Find the hash node that corresponds the NSAP 'nsap' */
396 lookup_nsap(register const u_char *nsap) argument
399 unsigned int nlen = *nsap;
401 const u_char *ensap = nsap + nlen - 6;
417 memcmp((const char *)&(nsap[1]),
428 memcpy((char *)tp->e_nsap, (const char *)nsap, nlen + 1);
594 isonsap_string(const u_char *nsap, register u_int nsap_length) argument
603 tp = lookup_nsap(nsap);
612 *cp++ = hex[*nsap >> 4];
613 *cp++ = hex[*nsap
[all...]

Completed in 49 milliseconds