Home
last modified time | relevance | path

Searched refs:nxt (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/lib/libc/db/btree/
H A Dbt_split.c598 indx_t full, half, nxt, off, skip, top, used; in bt_psplit() local
613 for (nxt = off = 0, top = NEXTINDEX(h); nxt < top; ++off) { in bt_psplit()
620 src = bi = GETBINTERNAL(h, nxt); in bt_psplit()
625 src = bl = GETBLEAF(h, nxt); in bt_psplit()
630 src = GETRINTERNAL(h, nxt); in bt_psplit()
635 src = rl = GETRLEAF(h, nxt); in bt_psplit()
650 nxt == top - 1) { in bt_psplit()
657 ++nxt; in bt_psplit()
689 if (c->pg.index < nxt) /* Left page. */ in bt_psplit()
693 c->pg.index -= nxt; in bt_psplit()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-tcp.c77 struct tcp_seq_hash *nxt; member
90 struct tcp_seq_hash6 *nxt; member
287 th->nxt; th = th->nxt) in tcp_print()
292 if (!th->nxt || (flags & TH_SYN)) { in tcp_print()
296 if (th->nxt == NULL) { in tcp_print()
297 th->nxt = (struct tcp_seq_hash6 *) in tcp_print()
299 if (th->nxt == NULL) in tcp_print()
345 th->nxt; th = th->nxt) in tcp_print()
350 if (!th->nxt || (flags & TH_SYN)) { in tcp_print()
354 if (th->nxt == NULL) { in tcp_print()
[all …]
H A Daddrtoname.c125 struct hnamemem *nxt; member
178 struct h6namemem *nxt; member
282 for (; p->nxt; p = p->nxt) { in ipaddr_string()
287 p->nxt = newhnamemem(ndo); in ipaddr_string()
349 for (; p->nxt; p = p->nxt) { in ip6addr_string()
354 p->nxt = newh6namemem(ndo); in ip6addr_string()
739 for (tp = &tporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in tcpport_string()
744 tp->nxt = newhnamemem(ndo); in tcpport_string()
761 for (tp = &uporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in udpport_string()
766 tp->nxt = newhnamemem(ndo); in udpport_string()
[all …]
H A Dprint-atalk.c580 struct hnamemem *nxt; member
629 tp->nxt; tp = tp->nxt) in ataddr_string()
632 tp->nxt = newhnamemem(ndo); in ataddr_string()
647 for (tp = &hnametable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in ataddr_string()
653 for (tp2 = &hnametable[i & (HASHNAMESIZE-1)]; tp2->nxt; tp2 = tp2->nxt) in ataddr_string()
656 tp->nxt = newhnamemem(ndo); in ataddr_string()
667 tp->nxt = newhnamemem(ndo); in ataddr_string()
/freebsd/sys/netinet6/
H A Din6_cksum.c91 _in6_cksum_pseudo(struct ip6_hdr *ip6, uint32_t len, uint8_t nxt, uint16_t csum) in _in6_cksum_pseudo() argument
111 uph.ph.ph_nxt = nxt; in _in6_cksum_pseudo()
137 in6_cksum_pseudo(struct ip6_hdr *ip6, uint32_t len, uint8_t nxt, uint16_t csum) in in6_cksum_pseudo() argument
142 sum = _in6_cksum_pseudo(ip6, len, nxt, csum); in in6_cksum_pseudo()
257 in6_cksum_partial_l2(struct mbuf *m, uint8_t nxt, uint32_t off_l3, in in6_cksum_partial_l2() argument
287 uph.ph.ph_nxt = nxt; in in6_cksum_partial_l2()
333 in6_cksum_partial(struct mbuf *m, uint8_t nxt, uint32_t off, uint32_t len, in in6_cksum_partial() argument
336 return (in6_cksum_partial_l2(m, nxt, 0, off, len, cov)); in in6_cksum_partial()
340 in6_cksum(struct mbuf *m, uint8_t nxt, uint32_t off, uint32_t len) in in6_cksum() argument
342 return (in6_cksum_partial(m, nxt, off, len, len)); in in6_cksum()
H A Dip6_input.c397 int *nxt, int *ours) in ip6_input_hbh() argument
435 *nxt = hbh->ip6h_nxt; in ip6_input_hbh()
475 int off, nxt; in ip6_direct_input() local
484 nxt = ip6dc->ip6dc_nxt; in ip6_direct_input()
491 while (nxt != IPPROTO_DONE) { in ip6_direct_input()
509 if (IPSEC_INPUT(ipv6, m, off, nxt) != 0) in ip6_direct_input()
514 nxt = ip6_protox[nxt](&m, &off, nxt); in ip6_direct_input()
532 int nxt, our in ip6_input() local
1423 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr); ip6_savecontrol() local
1594 int len, nlen, nxt; ip6_get_prevhdr() local
1705 int nxt; ip6_lasthdr() local
[all...]
H A Dudp6_usrreq.c364 uint8_t nxt; in udp6_input() local
390 nxt = proto; in udp6_input()
391 cscov_partial = (nxt == IPPROTO_UDPLITE) ? 1 : 0; in udp6_input()
392 if (nxt == IPPROTO_UDPLITE) { in udp6_input()
429 uh_sum = in6_cksum_pseudo(ip6, ulen, nxt, in udp6_input()
433 uh_sum = in6_cksum_partial(m, nxt, off, plen, ulen); in udp6_input()
449 pcbinfo = udp_get_inpcbinfo(nxt); in udp6_input()
509 if (nxt == IPPROTO_UDPLITE) in udp6_input()
536 if (nxt == IPPROTO_UDPLITE) in udp6_input()
679 uint8_t nxt; in udp6_send() local
[all …]
H A Din6_rss.c217 int nxt; in rss_mbuf_software_hash_v6() local
254 newoff = ip6_nexthdr(m, off, proto, &nxt); in rss_mbuf_software_hash_v6()
258 proto = nxt; in rss_mbuf_software_hash_v6()
272 off = ip6_lasthdr(m, off, proto, &nxt); in rss_mbuf_software_hash_v6()
277 proto = nxt; in rss_mbuf_software_hash_v6()
H A Dfrag6.c435 int nxt, offset, plen; in frag6_input() local
499 nxt = ip6f->ip6f_nxt; in frag6_input()
507 (caddr_t)&nxt); in frag6_input()
515 return (nxt); in frag6_input()
863 nxt = q6->ip6q_nxt; in frag6_input()
869 (caddr_t)&nxt); in frag6_input()
894 ip6dc->ip6dc_nxt = nxt; in frag6_input()
915 return (nxt); in frag6_input()
H A Dicmp6.c274 int nxt; in icmp6_error() local
327 nxt = -1; in icmp6_error()
328 off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt); in icmp6_error()
329 if (off >= 0 && nxt == IPPROTO_ICMPV6) { in icmp6_error()
949 u_int8_t nxt = eip6->ip6_nxt; in icmp6_notify_error() local
962 switch (nxt) { in icmp6_notify_error()
977 if (nxt == IPPROTO_AH) in icmp6_notify_error()
981 nxt = eh->ip6e_nxt; in icmp6_notify_error()
1033 nxt = rth->ip6r_nxt; in icmp6_notify_error()
1057 nxt = fh->ip6f_nxt; in icmp6_notify_error()
[all …]
/freebsd/contrib/flex/src/
H A Dgen.c250 nxt[tblend + 1] = end_of_buffer_action; in mkctbl()
255 nxt[tblend + 2] = 0; in mkctbl()
266 nxt[offset - 1] = anum; /* action number */ in mkctbl()
277 tdata[curr++] = nxt[i]; in mkctbl()
287 tdata[curr++] = base[nxt[i]] - (i - chk[i]); in mkctbl()
294 tdata[curr++] = nxt[tblend + 1]; in mkctbl()
297 tdata[curr++] = nxt[tblend + 2]; in mkctbl()
371 nxt[tblend + 1] = end_of_buffer_action; in genctbl()
376 nxt[tblend + 2] = 0; in genctbl()
387 nxt[offset - 1] = anum; /* action number */ in genctbl()
[all …]
H A Dtblcmp.c299 nxt = reallocate_integer_array (nxt, current_max_xpairs); in expand_nxt_chk()
461 nxt[tblend] = end_of_buffer_state; in mkdeftbl()
465 nxt[tblend + i] = 0; in mkdeftbl()
597 nxt[tblbase + i] = state[i]; in mkentry()
625 nxt[firstfree] = onenxt; in mk1tbl()
780 nxt[position + i] = *state_ptr; in place_state()
/freebsd/sys/netpfil/pf/
H A Din4_cksum.c82 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) in in4_cksum() argument
97 if (nxt != 0) { in in4_cksum()
105 u.ipov.ih_pr = nxt; in in4_cksum()
/freebsd/sys/netinet/tcp_stacks/
H A Dtailq_hash.c196 int nxt; in tqhash_next() local
198 nxt = rsm->bindex + 1; in tqhash_next()
199 if (nxt >= MAX_HASH_ENTRIES) in tqhash_next()
200 nxt = 0; in tqhash_next()
201 e = TAILQ_FIRST(&hs->ht[nxt]); in tqhash_next()
/freebsd/sys/netgraph/
H A Dng_checksum.c420 int nxt; in checksum_ipv6() local
437 nxt = ip6->ip6_nxt; in checksum_ipv6()
440 switch (nxt) in checksum_ipv6()
447 nxt = ip6e->ip6e_nxt; in checksum_ipv6()
455 nxt = ip6e->ip6e_nxt; in checksum_ipv6()
469 if (nxt == 0) in checksum_ipv6()
475 switch (nxt) in checksum_ipv6()
484 th->th_sum = in6_cksum_pseudo(ip6, plen - hlen, nxt, 0); in checksum_ipv6()
504 uh->uh_sum = in6_cksum_pseudo(ip6, plen - hlen, nxt, 0); in checksum_ipv6()
/freebsd/sys/netipsec/
H A Dipsec.c499 uint8_t nxt; in ipsec4_get_ulp() local
509 nxt = ip1->ip_p; in ipsec4_get_ulp()
516 switch (nxt) { in ipsec4_get_ulp()
518 spidx->ul_proto = nxt; in ipsec4_get_ulp()
528 spidx->ul_proto = nxt; in ipsec4_get_ulp()
543 nxt = ip6e.ip6e_nxt; in ipsec4_get_ulp()
548 spidx->ul_proto = nxt; in ipsec4_get_ulp()
696 int off, nxt; in ipsec6_get_ulp() local
706 nxt = -1; in ipsec6_get_ulp()
707 off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt); in ipsec6_get_ulp()
[all …]
H A Dipsec_input.c603 int nxt, isr_prot; in ipsec6_common_input_cb()
756 nxt = nxt8; in ipsec6_common_input_cb()
757 while (nxt != IPPROTO_DONE) { in ipsec6_common_input_cb()
779 if (ipsec6_lasthdr(nxt) && ipsec6_in_reject(m, NULL)) { in ipsec6_common_input_cb()
783 nxt = ip6_protox[nxt](&m, &skip, nxt); in ipsec6_common_input_cb()
592 int nxt, isr_prot; ipsec6_common_input_cb() local
H A Dxform_ah.c277 int ad, alloc, nxt, noff; in ah_massage_headers() local
456 nxt = ip6.ip6_nxt & 0xff; /* Next header type. */ in ah_massage_headers()
459 switch (nxt) { in ah_massage_headers()
493 nxt = ip6e->ip6e_nxt; in ah_massage_headers()
503 nxt = ip6e->ip6e_nxt; in ah_massage_headers()
672 xd->nxt = hl; in ah_input()
702 uint8_t nxt; in ah_input_cb() local
711 nxt = xd->nxt; in ah_input_cb()
767 ((uint8_t *) ptr)[protoff] = nxt; in ah_input_cb()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_lfstack.h53 T *nxt = cur->next; in Pop() local
55 u64 xch = (u64)(uptr)nxt | cnt; in Pop()
/freebsd/sys/dev/ocs_fc/
H A Docs_list.h424 #define ocs_list_foreach_safe(list, item, nxt) \ argument
425 for (item = ocs_list_get_head(list), nxt = item ? ocs_list_next(list, item) : NULL; item; \
426 item = nxt, nxt = ocs_list_next(list, item))
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dmake_hash.c360 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()
/freebsd/contrib/wpa/src/utils/
H A Deloop.c451 int nxt = 0; in eloop_sock_table_set_fds() local
462 pollfds[nxt].fd = fd; in eloop_sock_table_set_fds()
463 pollfds[nxt].events = POLLIN; in eloop_sock_table_set_fds()
464 pollfds[nxt].revents = 0; in eloop_sock_table_set_fds()
465 pollfds_map[fd] = &(pollfds[nxt]); in eloop_sock_table_set_fds()
466 nxt++; in eloop_sock_table_set_fds()
480 pfd = &(pollfds[nxt]); in eloop_sock_table_set_fds()
485 nxt++; in eloop_sock_table_set_fds()
506 pfd = &(pollfds[nxt]); in eloop_sock_table_set_fds()
511 nxt++; in eloop_sock_table_set_fds()
[all …]
/freebsd/sys/kern/
H A Dkern_boottrace.c324 uint32_t idx, nxt; in dotrace() local
345 nxt = (idx + 1) % btp->size; in dotrace()
346 if (nxt == 0 && btp->wrap == 0) { in dotrace()
351 } while (!atomic_cmpset_int(&btp->curr, idx, nxt)); in dotrace()
/freebsd/crypto/openssh/
H A Dssh-pkcs11-helper.c83 struct pkcs11_keyinfo *ki, *nxt; in del_keys_by_name() local
85 for (ki = TAILQ_FIRST(&pkcs11_keylist); ki; ki = nxt) { in del_keys_by_name()
86 nxt = TAILQ_NEXT(ki, next); in del_keys_by_name()
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_mvcur.c656 int nxt, fr; in relative_move() local
658 for (fr = from_x; (nxt = NEXTTAB(fr)) <= to_x; fr = nxt) { in relative_move()
748 int nxt, fr; in relative_move() local
750 for (fr = from_x; (nxt = LASTTAB(fr)) >= to_x; fr = nxt) { in relative_move()

12