| /openbsd/src/sys/netinet6/ |
| D | ip6_input.c | 175 ip6_ours(struct mbuf **mp, int *offp, int nxt, int af, int flags) in ip6_ours() argument 179 nxt = ip6_hbhchcheck(mp, offp, NULL, flags); in ip6_ours() 180 if (nxt == IPPROTO_DONE) in ip6_ours() 186 return nxt; in ip6_ours() 188 nxt = ip_deliver(mp, offp, nxt, AF_INET6, 1); in ip6_ours() 189 if (nxt == IPPROTO_DONE) in ip6_ours() 192 return ip6_ours_enqueue(mp, offp, nxt); in ip6_ours() 196 ip6_ours_enqueue(struct mbuf **mp, int *offp, int nxt) in ip6_ours_enqueue() argument 213 ion->ion_nxt = nxt; in ip6_ours_enqueue() 234 int off, nxt; in ip6intr() local [all …]
|
| D | in6_cksum.c | 88 in6_cksum(struct mbuf *m, uint8_t nxt, uint32_t off, uint32_t len) in in6_cksum() argument 119 if (nxt == 0) in in6_cksum() 130 uph.ph.ph_nxt = nxt; in in6_cksum()
|
| D | icmp6.c | 237 int nxt; in icmp6_do_error() local 281 nxt = -1; in icmp6_do_error() 282 off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt); in icmp6_do_error() 283 if (off >= 0 && nxt == IPPROTO_ICMPV6) { in icmp6_do_error() 790 u_int8_t nxt = eip6->ip6_nxt; in icmp6_notify_error() local 804 switch (nxt) { in icmp6_notify_error() 815 if (nxt == IPPROTO_AH) in icmp6_notify_error() 819 nxt = eh->ip6e_nxt; in icmp6_notify_error() 862 nxt = rth->ip6r_nxt; in icmp6_notify_error() 881 nxt = fh->ip6f_nxt; in icmp6_notify_error() [all …]
|
| /openbsd/src/usr.sbin/tcpdump/ |
| D | addrtoname.c | 66 struct hnamemem *nxt; member 79 struct h6namemem *nxt; member 191 for (; p->nxt; p = p->nxt) { in getname() 196 p->nxt = newhnamemem(); in getname() 245 for (; p->nxt; p = p->nxt) { in getname6() 250 p->nxt = newh6namemem(); in getname6() 502 for (tp = &eprototable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in etherproto_string() 507 tp->nxt = newhnamemem(); in etherproto_string() 554 for (tp = &llcsaptable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in llcsap_string() 559 tp->nxt = newhnamemem(); in llcsap_string() [all …]
|
| D | print-atalk.c | 549 struct hnamemem *nxt; member 561 for (tp = &hnametable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in ataddr_string() 567 for (tp2 = &hnametable[i & (HASHNAMESIZE-1)]; tp2->nxt; tp2 = tp2->nxt) in ataddr_string() 570 tp->nxt = newhnamemem(); in ataddr_string() 578 tp->nxt = newhnamemem(); in ataddr_string()
|
| D | print-tcp.c | 100 struct tcp_seq_hash *nxt; member 353 th->nxt; th = th->nxt) in tcp_print() 358 if (!th->nxt || flags & TH_SYN) { in tcp_print() 360 if (th->nxt == NULL) { in tcp_print() 361 th->nxt = calloc(1, sizeof(*th)); in tcp_print() 362 if (th->nxt == NULL) in tcp_print()
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | xcoffsolib.c | 47 for (vp = vp->nxt; vp; vp = vp->nxt) in xcoff_solib_address() 73 if (vp == NULL || vp->nxt == NULL) in solib_info() 80 vp = vp->nxt; in solib_info() 85 for (; vp != NULL; vp = vp->nxt) in solib_info() 127 for (vp = vp->nxt; vp; vp = vp->nxt) in sharedlibrary_command()
|
| D | exec.c | 95 struct vmap *vp, *nxt; in exec_close() local 97 for (nxt = vmap; nxt != NULL;) in exec_close() 99 vp = nxt; in exec_close() 100 nxt = vp->nxt; in exec_close() 412 vp->nxt = 0; in map_vmap() 422 for (vpp = &vmap; *vpp; vpp = &(*vpp)->nxt) in map_vmap() 577 for (vp = vmap; vp; vp = vp->nxt) in exec_files_info()
|
| D | objfiles.h | 571 #define ALL_OBJFILES_SAFE(obj,nxt) \ argument 573 (obj) != NULL? ((nxt)=(obj)->next,1) :0; \ 574 (obj) = (nxt))
|
| /openbsd/src/lib/libc/db/btree/ |
| D | bt_split.c | 593 indx_t full, half, nxt, off, skip, top, used; in bt_psplit() local 608 for (nxt = off = 0, top = NEXTINDEX(h); nxt < top; ++off) { in bt_psplit() 615 src = bi = GETBINTERNAL(h, nxt); in bt_psplit() 620 src = bl = GETBLEAF(h, nxt); in bt_psplit() 625 src = GETRINTERNAL(h, nxt); in bt_psplit() 630 src = rl = GETRLEAF(h, nxt); in bt_psplit() 645 nxt == top - 1) { in bt_psplit() 652 ++nxt; in bt_psplit() 684 if (c->pg.index < nxt) /* Left page. */ in bt_psplit() 688 c->pg.index -= nxt; in bt_psplit() [all …]
|
| /openbsd/src/usr.bin/cdio/ |
| D | rip.c | 58 static int _parse_val(char *start, char *nxt, int *val); 59 static int _parse_pair(char *start, char *nxt, int *val1, int *val2); 119 _parse_val(char *start, char *nxt, int *val) in _parse_val() argument 124 n = nxt - start; in _parse_val() 128 for (p = start; p < nxt; p++) { in _parse_val() 143 _parse_pair(char *start, char *nxt, int *val1, int *val2) in _parse_pair() argument 150 while (p < nxt) { in _parse_pair() 164 if ((nxt - delim - 1) < 1) in _parse_pair() 167 error = _parse_val(delim + 1, nxt, val2); in _parse_pair() 170 error = _parse_val(start, nxt, val1); in _parse_pair() [all …]
|
| /openbsd/src/sys/netinet/ |
| D | ip_input.c | 150 int ip_ours_enqueue(struct mbuf **mp, int *offp, int nxt); 249 ip_ours(struct mbuf **mp, int *offp, int nxt, int af) in ip_ours() argument 251 nxt = ip_fragcheck(mp, offp); in ip_ours() 252 if (nxt == IPPROTO_DONE) in ip_ours() 257 return nxt; in ip_ours() 259 nxt = ip_deliver(mp, offp, nxt, AF_INET, 1); in ip_ours() 260 if (nxt == IPPROTO_DONE) in ip_ours() 263 return ip_ours_enqueue(mp, offp, nxt); in ip_ours() 267 ip_ours_enqueue(struct mbuf **mp, int *offp, int nxt) in ip_ours_enqueue() argument 284 ion->ion_nxt = nxt; in ip_ours_enqueue() [all …]
|
| D | ipsec_output.c | 79 int nxt; in ipsp_process_packet() local 299 nxt = ip6->ip6_nxt; in ipsp_process_packet() 306 switch (nxt) { in ipsp_process_packet() 323 if (nxt == IPPROTO_DSTOPTS && dstopt) in ipsp_process_packet() 326 if (nxt == IPPROTO_DSTOPTS) { in ipsp_process_packet() 332 } else if (nxt == IPPROTO_ROUTING) { in ipsp_process_packet() 346 nxt = ip6e.ip6e_nxt; in ipsp_process_packet()
|
| D | in4_cksum.c | 89 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) in in4_cksum() argument 108 if (nxt != 0) { in in4_cksum() 115 u.ipov.ih_pr = nxt; in in4_cksum()
|
| /openbsd/src/sys/arch/sparc64/sparc64/ |
| D | in4_cksum.c | 94 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) in in4_cksum() argument 106 if (nxt != 0) { in in4_cksum() 110 sum = ((u_int)nxt << 16) | htons(len); in in4_cksum()
|
| /openbsd/src/gnu/usr.bin/binutils/gas/config/ |
| D | xtensa-relax.c | 516 TransitionList *nxt; local 528 nxt = prev->next; 529 while (nxt != NULL) 531 prev = nxt; 532 nxt = nxt->next; 546 PreconditionList *nxt; local 555 nxt = prev->next; 556 while (nxt != NULL) 558 prev = nxt; 559 nxt = nxt->next; [all …]
|
| /openbsd/src/usr.bin/lex/ |
| D | gen.c | 262 nxt[tblend + 1] = end_of_buffer_action; in mkctbl() 267 nxt[tblend + 2] = 0; in mkctbl() 279 nxt[offset - 1] = anum; /* action number */ in mkctbl() 288 tdata[curr++] = nxt[i]; in mkctbl() 295 tdata[curr++] = base[nxt[i]] - (i - chk[i]); in mkctbl() 302 tdata[curr++] = nxt[tblend + 1]; in mkctbl() 305 tdata[curr++] = nxt[tblend + 2]; in mkctbl() 383 nxt[tblend + 1] = end_of_buffer_action; in genctbl() 388 nxt[tblend + 2] = 0; in genctbl() 400 nxt[offset - 1] = anum; /* action number */ in genctbl() [all …]
|
| D | tblcmp.c | 309 nxt = reallocate_integer_array(nxt, current_max_xpairs); in expand_nxt_chk() 481 nxt[tblend] = end_of_buffer_state; in mkdeftbl() 485 nxt[tblend + i] = 0; in mkdeftbl() 619 nxt[tblbase + i] = state[i]; in mkentry() 647 nxt[firstfree] = onenxt; in mk1tbl() 807 nxt[position + i] = *state_ptr; in place_state()
|
| /openbsd/src/sys/arch/m88k/m88k/ |
| D | in_cksum.c | 94 in4_cksum(struct mbuf *m, uint8_t nxt, int off, int len) in in4_cksum() argument 103 if (nxt != 0) { in in4_cksum() 106 u.ipov.ih_pr = nxt; in in4_cksum()
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/gas/config/ |
| D | xtensa-relax.c | 523 PreconditionList *nxt; in append_condition() local 532 nxt = prev->next; in append_condition() 533 while (nxt != NULL) in append_condition() 535 prev = nxt; in append_condition() 536 nxt = nxt->next; in append_condition() 578 BuildInstr *nxt; in append_build_insn() local 586 nxt = prev->next; in append_build_insn() 587 while (nxt != 0) in append_build_insn() 589 prev = nxt; in append_build_insn() 590 nxt = prev->next; in append_build_insn() [all …]
|
| /openbsd/src/sys/arch/powerpc/powerpc/ |
| D | in_cksum.c | 246 in4_cksum(struct mbuf *m, uint8_t nxt, int off, int len) in in4_cksum() argument 255 if (nxt != 0) { in in4_cksum() 258 u.ipov.ih_pr = nxt; in in4_cksum()
|
| /openbsd/src/gnu/usr.bin/perl/ |
| D | regcomp_study.c | 2613 regnode *nxt = REGNODE_AFTER_type(oscan, tregnode_CURLYX); in Perl_study_chunk() local 2614 regnode * const nxt1 = nxt; in Perl_study_chunk() 2619 nxt = regnext(nxt); in Perl_study_chunk() 2620 if (!REGNODE_SIMPLE(OP(nxt)) in Perl_study_chunk() 2621 && !(REGNODE_TYPE(OP(nxt)) == EXACT in Perl_study_chunk() 2622 && STR_LEN(nxt) == 1)) in Perl_study_chunk() 2625 nxt2 = nxt; in Perl_study_chunk() 2627 nxt = regnext(nxt); in Perl_study_chunk() 2628 if (OP(nxt) != CLOSE) in Perl_study_chunk() 2636 RExC_close_parens[PARNO(nxt1)] = REGNODE_OFFSET(nxt) + 2; in Perl_study_chunk() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_lfstack.h | 53 T *nxt = cur->next; in Pop() local 55 u64 xch = (u64)(uptr)nxt | cnt; in Pop()
|
| /openbsd/src/sys/arch/alpha/alpha/ |
| D | in_cksum.c | 196 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) in in4_cksum() argument 206 if (nxt != 0) { in in4_cksum() 216 ipov.ih_pr = nxt; in in4_cksum()
|
| /openbsd/src/lib/libcurses/tinfo/ |
| D | make_hash.c | 360 int nxt; in main() local 364 nxt = (int) strlen(name_table[n].ute_name) + 5; in main() 365 if (nxt + len > 72) { in main() 370 len += nxt; in main()
|