Searched refs:nsap (Results 1 - 5 of 5) sorted by path

/freebsd-10.0-release/contrib/tcpdump/
H A Daddrtoname.c397 /* Find the hash node that corresponds the NSAP 'nsap' */
400 lookup_nsap(register const u_char *nsap) argument
403 unsigned int nlen = *nsap;
405 const u_char *ensap = nsap + nlen - 6;
421 memcmp((const char *)&(nsap[1]),
432 memcpy((char *)tp->e_nsap, (const char *)nsap, nlen + 1);
632 isonsap_string(const u_char *nsap, register u_int nsap_length) argument
641 tp = lookup_nsap(nsap);
650 *cp++ = hex[*nsap >> 4];
651 *cp++ = hex[*nsap
[all...]
/freebsd-10.0-release/lib/libc/resolv/
H A Dres_send.c425 struct sockaddr *nsap; local
427 nsap = get_nsaddr(statp, ns);
428 nsaplen = get_salen(nsap);
438 act = (*statp->qhook)(&nsap, &buf, &buflen,
466 getnameinfo(nsap, nsaplen, abuf, sizeof(abuf),
524 act = (*statp->rhook)(nsap, buf, buflen,
628 struct sockaddr *nsap; local
639 nsap = get_nsaddr(statp, ns);
640 nsaplen = get_salen(nsap);
653 !sock_eq((struct sockaddr *)&peer, nsap)) {
834 const struct sockaddr *nsap; local
[all...]
/freebsd-10.0-release/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-10.0-release/sys/kern/
H A Dkern_sig.c853 register struct sigaction *nsap, *osap; local
859 nsap = (uap->nsa != NULL) ? &nsa : NULL;
862 if (nsap) {
866 nsap->sa_handler = sa.sa_handler;
867 nsap->sa_flags = sa.sa_flags;
868 OSIG2SIG(sa.sa_mask, nsap->sa_mask);
870 error = kern_sigaction(td, uap->signum, nsap, osap, KSA_OSIGSET);
1341 register struct sigaction *nsap, *osap; local
1346 nsap = (uap->nsv != NULL) ? &nsa : NULL;
1348 if (nsap) {
[all...]
/freebsd-10.0-release/usr.sbin/IPXrouted/
H A Dsap_tables.c154 register struct sap_entry *nsap; local
161 nsap = malloc(sizeof(struct sap_entry));
162 if (nsap == NULL)
165 nsap->sap = *si;
166 nsap->source = *from;
167 nsap->clone = NULL;
168 nsap->ifp = if_ifwithnet(from);
169 nsap->state = RTS_CHANGED;
170 nsap->timer = 0;
171 nsap
215 struct sap_entry *nsap; local
273 register struct sap_entry *nsap; local
[all...]

Completed in 217 milliseconds