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

/freebsd-11-stable/sys/contrib/ngatm/netnatm/misc/
H A Dstraddr.c81 uni_nsap2e164(char *e164, const u_char *nsap, int check) argument
87 if(nsap[0] != 0x45)
89 if((nsap[8] & 0xf) != 0xf)
92 d = (nsap[i] >> 4) & 0xf;
99 d = nsap[i] & 0xf;
106 d = (nsap[i] >> 4) & 0xf;
119 if(nsap[i] != 0x00)
205 uni_e1642nsap(u_char *nsap, const char *e164) argument
217 *nsap++ = 0x45;
220 *nsap
[all...]
/freebsd-11-stable/lib/libc/resolv/
H A Dres_send.c426 struct sockaddr *nsap; local
428 nsap = get_nsaddr(statp, ns);
429 nsaplen = get_salen(nsap);
439 act = (*statp->qhook)(&nsap, &buf, &buflen,
467 getnameinfo(nsap, nsaplen, abuf, sizeof(abuf),
525 act = (*statp->rhook)(nsap, buf, buflen,
626 struct sockaddr *nsap; local
637 nsap = get_nsaddr(statp, ns);
638 nsaplen = get_salen(nsap);
651 !sock_eq((struct sockaddr *)&peer, nsap)) {
832 const struct sockaddr *nsap; local
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Daddrtoname.c439 /* Find the hash node that corresponds the NSAP 'nsap' */
442 lookup_nsap(netdissect_options *ndo, register const u_char *nsap, argument
450 ensap = nsap + nsap_length - 6;
464 memcmp((const char *)nsap,
476 memcpy((char *)&tp->e_nsap[1], (const char *)nsap, nsap_length);
682 isonsap_string(netdissect_options *ndo, const u_char *nsap, argument
692 tp = lookup_nsap(ndo, nsap, nsap_length);
701 *cp++ = hex[*nsap >> 4];
702 *cp++ = hex[*nsap++ & 0xf];
/freebsd-11-stable/sys/kern/
H A Dkern_sig.c897 struct sigaction *nsap, *osap; local
903 nsap = (uap->nsa != NULL) ? &nsa : NULL;
906 if (nsap) {
910 nsap->sa_handler = sa.sa_handler;
911 nsap->sa_flags = sa.sa_flags;
912 OSIG2SIG(sa.sa_mask, nsap->sa_mask);
914 error = kern_sigaction(td, uap->signum, nsap, osap, KSA_OSIGSET);
1437 struct sigaction *nsap, *osap; local
1442 nsap = (uap->nsv != NULL) ? &nsa : NULL;
1444 if (nsap) {
[all...]

Completed in 117 milliseconds