Searched refs:nh (Results 1 - 25 of 31) sorted by relevance

12

/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-ip6.c58 int nh; local
112 nh = ip6->ip6_nxt;
118 nh != IPPROTO_TCP && nh != IPPROTO_UDP &&
119 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) {
124 switch (nh) {
127 nh = *cp;
131 nh = *cp;
137 nh
[all...]
H A Dprint-cnfp.c84 register const struct nfhdr *nh; local
92 nh = (const struct nfhdr *)cp;
94 if ((const u_char *)(nh + 1) > snapend)
97 nrecs = EXTRACT_32BITS(&nh->ver_cnt) & 0xffff;
98 ver = (EXTRACT_32BITS(&nh->ver_cnt) & 0xffff0000) >> 16;
105 t = EXTRACT_32BITS(&nh->utc_sec);
109 EXTRACT_32BITS(&nh->msys_uptime)/1000,
110 EXTRACT_32BITS(&nh->msys_uptime)%1000,
111 EXTRACT_32BITS(&nh->utc_sec), EXTRACT_32BITS(&nh
[all...]
H A Dprint-ip.c369 u_char nh; member in struct:ip_print_demux_state
380 switch (ipds->nh) {
383 ipds->nh = *ipds->cp;
401 ipds->nh = enh & 0xff;
413 ipds->nh = enh & 0xff;
522 if ((proto = getprotobynumber(ipds->nh)) != NULL)
525 ND_PRINT((ndo, " ip-proto-%d", ipds->nh));
534 u_int length, u_int nh,
543 ipd.nh = nh;
532 ip_print_inner(netdissect_options *ndo, const u_char *bp, u_int length, u_int nh, const u_char *bp2) argument
[all...]
H A Dprint-icmp6.c530 u_int nh; local
539 nh = ip6->ip6_nxt;
545 switch(nh) {
550 *prot = nh;
563 nh = hbh->ip6h_nxt;
574 nh = fragh->ip6f_nxt;
582 nh = ah->ah_nxt;
587 *prot = nh; /* meaningless, but set here anyway */
H A Dprint-isakmp.c1418 int nh, enh, padlen; local
1429 nh = enh & 0xff;
1431 ip_print_inner(ndo, bp, length, nh, bp2);
H A Dnetdissect.h259 const u_char *bp, u_int length, u_int nh,
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-nit.c104 register struct nit_hdr *nh; local
149 nh = (struct nit_hdr *)bp;
150 cp = bp + sizeof(*nh);
152 switch (nh->nh_state) {
160 p->md.stat.ps_drop = nh->nh_dropped;
168 "bad nit state %d", nh->nh_state);
172 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
175 caplen = nh->nh_wirelen;
178 if (bpf_filter(fcode, cp, nh->nh_wirelen, caplen)) {
180 h.ts = nh
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/
H A Dgmp-impl.h218 #define udiv_qrnnd_preinv(q, r, nh, nl, d, di) \
222 umul_ppmm (_q, _ql, (nh), (di)); \
223 _q += (nh); /* DI is 2**BITS_PER_MP_LIMB too small */\
225 sub_ddmmss (_xh, _r, (nh), (nl), _xh, _xl); \
246 #define udiv_qrnnd_preinv2gen(q, r, nh, nl, d, di, dnorm, lgup) \
250 n2 = ((nh) << (BITS_PER_MP_LIMB - (lgup))) + ((nl) >> 1 >> (l - 1));\
258 add_ssaaaa (_xh, _xl, _xh, _xl, nh, nl); \
265 #define udiv_qrnnd_preinv2norm(q, r, nh, nl, d, di) \
269 n2 = (nh); \
277 add_ssaaaa (_xh, _xl, _xh, _xl, nh, n
[all...]
H A Dlonglong.h695 #define sdiv_qrnnd(q, r, nh, nl, d) \
696 __asm__ ("div %0,%2,%4" : "=r" (q), "=q" (r) : "r" (nh), "1" (nl), "r" (d))
1280 #define udiv_qrnnd(q, r, nh, nl, d) \
1283 (q) = __udiv_w_sdiv (&__r, nh, nl, d); \
/haiku-fatelf/src/libs/libfdt/
H A Dfdt_sw.c140 struct fdt_node_header *nh; local
145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen));
146 if (! nh)
149 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE);
150 memcpy(nh->name, name, namelen);
H A Dfdt_rw.c310 struct fdt_node_header *nh; local
332 nh = _fdt_offset_ptr_w(fdt, offset);
333 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE;
335 err = _fdt_splice_struct(fdt, nh, 0, nodelen);
339 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE);
340 memset(nh->name, 0, FDT_TAGALIGN(namelen+1));
341 memcpy(nh->name, name, namelen);
342 endtag = (uint32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
H A Dfdt_ro.c203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); local
211 *len = strlen(nh->name);
213 return nh->name;
/haiku-fatelf/src/libs/edit/
H A Dhistory.c619 history_set_fun(History *h, History *nh) argument
623 if (nh->h_first == NULL || nh->h_next == NULL || nh->h_last == NULL ||
624 nh->h_prev == NULL || nh->h_curr == NULL || nh->h_set == NULL ||
625 nh->h_enter == NULL || nh->h_add == NULL || nh
[all...]
/haiku-fatelf/src/bin/gdb/readline/
H A Dsignals.c70 # define rl_sigaction(s, nh, oh) sigaction(s, nh, oh)
215 rl_sigaction (sig, nh, oh)
217 sighandler_cxt *nh, *oh;
219 oh->sa_handler = signal (sig, nh->sa_handler);
/haiku-fatelf/headers/private/kernel/arch/sparc/
H A Dstand.h132 #define btochs(b,c,h,s,nh,ns) \
133 c = (b) / ((nh) * (ns)); \
134 h = ((b) % ((nh) * (ns))) / (ns); \
135 s = ((b) % ((nh) * (ns))) % (ns);
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dsignals.c71 # define rl_sigaction(s, nh, oh) sigaction(s, nh, oh)
273 rl_sigaction (sig, nh, oh)
275 sighandler_cxt *nh, *oh;
277 oh->sa_handler = signal (sig, nh->sa_handler);
/haiku-fatelf/src/libs/print/libgutenprint/src/gimp2/
H A Dprint-image-gimp.c380 int nh = im->h - top - bottom; local
396 if (nh < 1) nh = 1;
397 else if (nh > hmax) nh = hmax;
402 im->h = nh;
/haiku-fatelf/src/bin/network/ping6/
H A Dping6.c2525 u_char *cp = (u_char *)ip6, nh; local
2535 nh = ip6->ip6_nxt;
2538 switch (nh) {
2542 nh = ((struct ip6_hbh *)cp)->ip6h_nxt;
2547 nh = ((struct ip6_dest *)cp)->ip6d_nxt;
2552 nh = ((struct ip6_frag *)cp)->ip6f_nxt;
2557 nh = ((struct ip6_rthdr *)cp)->ip6r_nxt;
2563 nh = ((struct ah *)cp)->ah_nxt;
2584 printf("Unknown Header(%d)\n", nh);
/haiku-fatelf/src/bin/gdb/bfd/
H A Delf64-hppa.c1166 struct elf_link_hash_entry *nh;
1172 nh = elf_link_hash_lookup (elf_hash_table (x->info),
1175 nh->root.type = h->root.type;
1176 nh->root.u.def.value = h->root.u.def.value;
1177 nh->root.u.def.section = h->root.u.def.section;
1179 if (! bfd_elf_link_record_dynamic_symbol (x->info, nh))
2208 struct elf_link_hash_entry *nh;
2214 nh = elf_link_hash_lookup (elf_hash_table (info),
2219 dynindx = nh->dynindx;
1165 struct elf_link_hash_entry *nh; local
2207 struct elf_link_hash_entry *nh; local
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dcolor-conversions.c267 double nh = h * sat_count / 6.0; local
268 double tmp = interpolate_value(sat_map, nh);
300 double nh = oh * lum_count / 6.0; local
301 double oel = interpolate_value(lum_map,nh);
/haiku-fatelf/src/bin/bash/support/
H A Dconfig.sub791 nh[45]000)
/haiku-fatelf/src/bin/diffutils/config/
H A Dconfig.sub679 nh[45]000)
/haiku-fatelf/src/bin/gawk/
H A Dconfig.sub706 nh[45]000)
/haiku-fatelf/src/bin/gdb/
H A Dconfig.sub731 nh[45]000)
/haiku-fatelf/src/bin/gdb/readline/support/
H A Dconfig.sub723 nh[45]000)

Completed in 222 milliseconds

12