Home
last modified time | relevance | path

Searched refs:nh (Results 1 – 25 of 35) sorted by relevance

12

/dragonfly/contrib/tcpdump/
H A Dprint-cnfp.c159 const struct nfhdr_v1 *nh; in cnfp_v1_print() local
169 ND_TCHECK_SIZE(nh); in cnfp_v1_print()
179 t = GET_BE_U_4(nh->utc_sec); in cnfp_v1_print()
185 GET_BE_U_4(nh->utc_sec), GET_BE_U_4(nh->utc_nsec)); in cnfp_v1_print()
254 const struct nfhdr_v5 *nh; in cnfp_v5_print() local
264 ND_TCHECK_SIZE(nh); in cnfp_v5_print()
274 t = GET_BE_U_4(nh->utc_sec); in cnfp_v5_print()
280 GET_BE_U_4(nh->utc_sec), GET_BE_U_4(nh->utc_nsec)); in cnfp_v5_print()
356 const struct nfhdr_v6 *nh; in cnfp_v6_print() local
366 ND_TCHECK_SIZE(nh); in cnfp_v6_print()
[all …]
H A Dprint-ip6.c52 u_int nh; in ip6_finddst() local
68 switch (nh) { in ip6_finddst()
81 nh = GET_U_1(cp); in ip6_finddst()
91 nh = GET_U_1(cp); in ip6_finddst()
185 u_int nh; in nextproto6_cksum() local
191 switch (nh) { in nextproto6_cksum()
234 uint8_t nh; in ip6_print() local
332 nh != IPPROTO_TCP && nh != IPPROTO_UDP && in ip6_print()
333 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) { in ip6_print()
338 switch (nh) { in ip6_print()
[all …]
H A Dprint-ip-demux.c41 uint8_t nh, const u_char *iph) in ip_demux_print() argument
49 switch (nh) { in ip_demux_print()
57 nh = GET_U_1(bp); in ip_demux_print()
110 tok2str(ipproto_values,"unknown",nh)); in ip_demux_print()
120 tok2str(ipproto_values,"unknown",nh)); in ip_demux_print()
166 tok2str(ipproto_values,"unknown",nh)); in ip_demux_print()
214 tok2str(ipproto_values,"unknown",nh)); in ip_demux_print()
224 if (ndo->ndo_nflag==0 && (p_name = netdb_protoname(nh)) != NULL) in ip_demux_print()
227 ND_PRINT(" ip-proto-%u", nh); in ip_demux_print()
H A Dprint-ip.c466 uint8_t nh = GET_U_1(ip->ip_p); in ip_print() local
468 if (nh != IPPROTO_TCP && nh != IPPROTO_UDP && in ip_print()
469 nh != IPPROTO_SCTP && nh != IPPROTO_DCCP) { in ip_print()
485 off & IP_MF, GET_U_1(ip->ip_ttl), nh, bp); in ip_print()
H A Dprint-icmp6.c1340 u_int nh; in get_upperlayer() local
1349 nh = GET_U_1(ip6->ip6_nxt); in get_upperlayer()
1355 switch(nh) { in get_upperlayer()
1360 *prot = nh; in get_upperlayer()
1373 nh = GET_U_1(hbh->ip6h_nxt); in get_upperlayer()
1384 nh = GET_U_1(fragh->ip6f_nxt); in get_upperlayer()
1392 nh = GET_U_1(ah->ah_nxt); in get_upperlayer()
1397 *prot = nh; /* meaningless, but set here anyway */ in get_upperlayer()
H A Dprint-esp.c745 u_int nh; in esp_print() local
902 nh = GET_U_1(ep - 1); in esp_print()
914 ttl_hl, nh, bp2); in esp_print()
H A Dprint-babel.c514 u_char nh[16]; in babel_print_v2_tlvs() local
519 len - 2, nh); in babel_print_v2_tlvs()
521 ND_PRINT(" %s", ae == 0 ? "invalid AE 0" : format_address(ndo, nh)); in babel_print_v2_tlvs()
/dragonfly/contrib/gmp/mpn/generic/
H A Dhgcd2.c96 if ((mp_limb_signed_t) nh < 0) in div2()
108 if (nh > dh || (nh == dh && nl >= dl)) in div2()
110 sub_ddmmss (nh, nl, nh, nl, dh, dl); in div2()
121 for (cnt = 0; nh > dh || (nh == dh && nl >= dl); cnt++) in div2()
132 if (nh > dh || (nh == dh && nl >= dl)) in div2()
134 sub_ddmmss (nh, nl, nh, nl, dh, dl); in div2()
142 rp[1] = nh; in div2()
170 if (UNLIKELY (nh == dh))
173 bit = (nh > dh);
177 sub_ddmmss (nh, nl, nh, nl, (-bit) & dh, (-bit) & dl);
[all …]
H A Dsqrmod_bnm1.c287 mp_size_t nh; in mpn_sqrmod_bnm1_next_size() local
296 nh = (n + 1) >> 1; in mpn_sqrmod_bnm1_next_size()
298 if (BELOW_THRESHOLD (nh, SQR_FFT_MODF_THRESHOLD)) in mpn_sqrmod_bnm1_next_size()
301 return 2 * mpn_fft_next_size (nh, mpn_fft_best_k (nh, 1)); in mpn_sqrmod_bnm1_next_size()
H A Dmulmod_bnm1.c336 mp_size_t nh; in mpn_mulmod_bnm1_next_size() local
345 nh = (n + 1) >> 1; in mpn_mulmod_bnm1_next_size()
347 if (BELOW_THRESHOLD (nh, MUL_FFT_MODF_THRESHOLD)) in mpn_mulmod_bnm1_next_size()
350 return 2 * mpn_fft_next_size (nh, mpn_fft_best_k (nh, 0)); in mpn_mulmod_bnm1_next_size()
/dragonfly/games/worm/
H A Dworm.c209 struct body *nh; in process() local
236 nh = tail->next; in process()
238 tail = nh; in process()
254 nh = newlink(); in process()
255 nh->next = NULL; in process()
256 nh->prev = head; in process()
257 head->next = nh; in process()
258 nh->y = y; in process()
259 nh->x = x; in process()
260 display(nh, HEAD); in process()
[all …]
/dragonfly/contrib/libedit/src/
H A Dhistory.c730 if (nh->h_first == NULL || nh->h_next == NULL || nh->h_last == NULL || in history_set_fun()
731 nh->h_prev == NULL || nh->h_curr == NULL || nh->h_set == NULL || in history_set_fun()
732 nh->h_enter == NULL || nh->h_add == NULL || nh->h_clear == NULL || in history_set_fun()
733 nh->h_del == NULL || nh->h_ref == NULL) { in history_set_fun()
755 h->h_next = nh->h_next; in history_set_fun()
756 h->h_last = nh->h_last; in history_set_fun()
757 h->h_prev = nh->h_prev; in history_set_fun()
758 h->h_curr = nh->h_curr; in history_set_fun()
759 h->h_set = nh->h_set; in history_set_fun()
762 h->h_add = nh->h_add; in history_set_fun()
[all …]
/dragonfly/usr.bin/sort/
H A Dcoll.c835 kv1->hint->v.nh.empty=true; in numcoll_impl()
836 kv1->hint->v.nh.si = SI1; in numcoll_impl()
848 kv2->hint->v.nh.empty=true; in numcoll_impl()
849 kv2->hint->v.nh.si = SI2; in numcoll_impl()
860 e1 = kv1->hint->v.nh.empty; in numcoll_impl()
861 e2 = kv2->hint->v.nh.empty; in numcoll_impl()
866 neg1 = kv1->hint->v.nh.neg; in numcoll_impl()
867 neg2 = kv2->hint->v.nh.neg; in numcoll_impl()
881 cmp_res = cmpsuffix(kv1->hint->v.nh.si, kv2->hint->v.nh.si); in numcoll_impl()
886 n1 = kv1->hint->v.nh.n1; in numcoll_impl()
[all …]
H A Dcoll.h81 struct n_hint nh; member
/dragonfly/usr.sbin/traceroute6/
H A Dtraceroute6.c1110 u_char *cp = (u_char *)ip6, nh; in get_uphdr() local
1117 nh = ip6->ip6_nxt; in get_uphdr()
1120 while (lim - cp >= (nh == IPPROTO_NONE ? 0 : 8)) { in get_uphdr()
1121 switch (nh) { in get_uphdr()
1126 return(useproto == nh ? cp : NULL); in get_uphdr()
1128 return(useproto == nh ? cp : NULL); in get_uphdr()
1130 return(useproto == nh ? none_hdr : NULL); in get_uphdr()
1133 nh = ((struct ip6_frag *)cp)->ip6f_nxt; in get_uphdr()
1137 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr()
1141 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr()
/dragonfly/contrib/gdb-7/readline/
H A Dsignals.c71 # define rl_sigaction(s, nh, oh) sigaction(s, nh, oh) argument
276 rl_sigaction (sig, nh, oh) in rl_sigaction() argument
278 sighandler_cxt *nh, *oh;
280 oh->sa_handler = signal (sig, nh->sa_handler);
/dragonfly/usr.sbin/route6d/
H A Droute6d.c732 nh = NULL; in ripsend()
791 if (nh == NULL || !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw)) { in ripsend()
800 nh = &rrt->rrt_gw; in ripsend()
811 nh = NULL; in ripsend()
820 nh = NULL; in ripsend()
1039 nh = fsock.sin6_addr; in riprecv()
1090 nh = np->rip6_dest; in riprecv()
1094 nh = fsock.sin6_addr; in riprecv()
1186 rrt->rrt_gw = nh; in riprecv()
1212 rrt->rrt_gw = nh; in riprecv()
[all …]
/dragonfly/sys/vfs/nfs/
H A Dnfs_serv.c149 struct nfsheur *nh; in nfsrv_sequential_heuristic() local
155 nh = &nfsheur[hi]; in nfsrv_sequential_heuristic()
159 nh = &nfsheur[hi]; in nfsrv_sequential_heuristic()
166 nh = &nfsheur[hi]; in nfsrv_sequential_heuristic()
170 if (nh->nh_vp != vp) { in nfsrv_sequential_heuristic()
171 nh->nh_vp = vp; in nfsrv_sequential_heuristic()
175 nh->nh_seqcount = 4; in nfsrv_sequential_heuristic()
196 nh->nh_seqcount = 0; in nfsrv_sequential_heuristic()
201 return (nh); in nfsrv_sequential_heuristic()
813 struct nfsheur *nh; in nfsrv_read() local
[all …]
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dlonglong.h773 # define udiv_qrnnd(q, r, nh, nl, d) \ argument
774 asm("divu %2,%0" : "=D"(q), "=z"(r) : "D"(d), "0"(nl), "1"(nh))
775 # define sdiv_qrnnd(q, r, nh, nl, d) \ argument
776 asm("div %2,%0" : "=D"(q), "=z"(r) : "D"(d), "0"(nl), "1"(nh))
907 #define sdiv_qrnnd(q, r, nh, nl, d) \ argument
908 __asm__ ("div %0,%2,%4" : "=r" (q), "=q" (r) : "r" (nh), "1" (nl), "r" (d))
1608 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
1611 (q) = __udiv_w_sdiv (&__r, nh, nl, d); \
/dragonfly/contrib/awk/
H A Dtran.c263 int i, nh, nsz; in rehash() local
273 nh = hash(cp->nval, nsz); in rehash()
274 cp->cnext = np[nh]; in rehash()
275 np[nh] = cp; in rehash()
/dragonfly/sbin/ping6/
H A Dping6.c2337 u_char *cp = (u_char *)ip6, nh; in pr_retip() local
2347 nh = ip6->ip6_nxt; in pr_retip()
2350 switch (nh) { in pr_retip()
2354 nh = ((struct ip6_hbh *)cp)->ip6h_nxt; in pr_retip()
2359 nh = ((struct ip6_dest *)cp)->ip6d_nxt; in pr_retip()
2364 nh = ((struct ip6_frag *)cp)->ip6f_nxt; in pr_retip()
2369 nh = ((struct ip6_rthdr *)cp)->ip6r_nxt; in pr_retip()
2389 printf("Unknown Header(%d)\n", nh); in pr_retip()
/dragonfly/contrib/mpfr/src/
H A Dmpfr-longlong.h573 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
576 : "1" ((USItype)(nh)), "0" ((USItype)(nl)), "g" ((USItype)(d)))
871 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
876 __nn.__i.__h = (nh); __nn.__i.__l = (nl); \
1193 #define sdiv_qrnnd(q, r, nh, nl, d) \ argument
1194 __asm__ ("div %0,%2,%4" : "=r" (q), "=q" (r) : "r" (nh), "1" (nl), "r" (d))
1858 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
1861 (q) = __MPN(udiv_w_sdiv) (&__r, nh, nl, d); \
/dragonfly/contrib/gmp/
H A Dgmp-impl.h2649 #define udiv_qrnnd_preinv1(q, r, nh, nl, d, di) \ argument
2654 umul_ppmm (_q, _ql, (nh), (di)); \
2657 sub_ddmmss (_xh, _r, (nh), (nl), _xh, _xl); \
2682 _n2 = (nh); \
2690 add_ssaaaa (_xh, _xl, _xh, _xl, nh, nl); \
2710 add_ssaaaa (_xh, _xl, _xh, _xl, nh, nl); \
2744 umul_ppmm (_qh, _ql, (nh), (di)); \
2746 _qh += (nh) + 1; \
2765 #define udiv_rnd_preinv(r, nh, d, di) \ argument
2768 umul_ppmm (_qh, _ql, (nh), (di)); \
[all …]
H A Dlonglong.h585 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
588 : "1" ((USItype)(nh)), "0" ((USItype)(nl)), "g" ((USItype)(d)))
1028 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
1033 __nn.__i.__h = (nh); __nn.__i.__l = (nl); \
1350 #define sdiv_qrnnd(q, r, nh, nl, d) \ argument
1351 __asm__ ("div %0,%2,%4" : "=r" (q), "=q" (r) : "r" (nh), "1" (nl), "r" (d))
2011 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
2014 (q) = __MPN(udiv_w_sdiv) (&__r, nh, nl, d); \
/dragonfly/contrib/mdocml/
H A Dmdoc_validate.c1847 struct roff_node *nbl, *nh, *nch, *nnext; in post_bl_head() local
1853 nh = mdoc->last; in post_bl_head()
1854 if (nh->norm->Bl.type != LIST_column) { in post_bl_head()
1855 if ((nch = nh->child) == NULL) in post_bl_head()
1861 nch = nh->child; in post_bl_head()
1872 if (nh->child == NULL) in post_bl_head()
1875 nbl = nh->parent; in post_bl_head()
1895 nh->norm->Bl.ncols = argv->sz; in post_bl_head()
1896 nh->norm->Bl.cols = (void *)argv->value; in post_bl_head()
1898 for (nch = nh->child; nch != NULL; nch = nnext) { in post_bl_head()
[all …]

12