/freebsd-10.3-release/contrib/tcpdump/ |
H A D | print-cnfp.c | 84 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 D | print-ip6.c | 92 int nh; local 146 nh = ip6->ip6_nxt; 152 nh != IPPROTO_TCP && nh != IPPROTO_UDP && 153 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) { 158 switch (nh) { 161 nh = *cp; 165 nh = *cp; 171 nh [all...] |
H A D | print-ip.c | 319 u_char nh; member in struct:ip_print_demux_state 331 switch (ipds->nh) { 334 ipds->nh = *ipds->cp; 352 ipds->nh = enh & 0xff; 364 ipds->nh = enh & 0xff; 493 if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL) 496 ND_PRINT((ndo, " ip-proto-%d", ipds->nh)); 505 u_int length, u_int nh, 514 ipd.nh = nh; 503 ip_print_inner(netdissect_options *ndo, const u_char *bp, u_int length, u_int nh, const u_char *bp2) argument [all...] |
H A D | print-babel.c | 313 printf(" nh"); 316 u_char nh[16]; local 319 rc = network_address(message[2], message + 4, len - 2, nh); 321 printf(" %s", format_address(nh));
|
H A D | print-icmp6.c | 603 u_int nh; local 612 nh = ip6->ip6_nxt; 618 switch(nh) { 623 *prot = nh; 636 nh = hbh->ip6h_nxt; 647 nh = fragh->ip6f_nxt; 655 nh = ah->ah_nxt; 660 *prot = nh; /* meaningless, but set here anyway */
|
/freebsd-10.3-release/contrib/libpcap/ |
H A D | pcap-nit.c | 103 register struct nit_hdr *nh; local 148 nh = (struct nit_hdr *)bp; 149 cp = bp + sizeof(*nh); 151 switch (nh->nh_state) { 159 p->md.stat.ps_drop = nh->nh_dropped; 167 "bad nit state %d", nh->nh_state); 171 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen + 174 caplen = nh->nh_wirelen; 177 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) { 179 h.ts = nh [all...] |
/freebsd-10.3-release/contrib/libc++/src/ |
H A D | new.cpp | 58 std::new_handler nh = std::get_new_handler(); local 59 if (nh) 60 nh();
|
/freebsd-10.3-release/contrib/dtc/libfdt/ |
H A D | fdt_sw.c | 172 struct fdt_node_header *nh; local 177 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); 178 if (! nh) 181 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 182 memcpy(nh->name, name, namelen);
|
H A D | fdt_rw.c | 337 struct fdt_node_header *nh; local 359 nh = _fdt_offset_ptr_w(fdt, offset); 360 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; 362 err = _fdt_splice_struct(fdt, nh, 0, nodelen); 366 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 367 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); 368 memcpy(nh->name, name, namelen); 369 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
|
H A D | fdt_ro.c | 203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); local 211 *len = strlen(nh->name); 213 return nh->name;
|
/freebsd-10.3-release/sys/contrib/libfdt/ |
H A D | fdt_sw.c | 140 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 D | fdt_rw.c | 337 struct fdt_node_header *nh; local 359 nh = _fdt_offset_ptr_w(fdt, offset); 360 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; 362 err = _fdt_splice_struct(fdt, nh, 0, nodelen); 366 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 367 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); 368 memcpy(nh->name, name, namelen); 369 endtag = (uint32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
|
H A D | fdt_ro.c | 203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); local 211 *len = strlen(nh->name); 213 return nh->name;
|
/freebsd-10.3-release/lib/libedit/ |
H A D | history.c | 678 history_set_fun(History *h, History *nh) argument 682 if (nh->h_first == NULL || nh->h_next == NULL || nh->h_last == NULL || 683 nh->h_prev == NULL || nh->h_curr == NULL || nh->h_set == NULL || 684 nh->h_enter == NULL || nh->h_add == NULL || nh [all...] |
/freebsd-10.3-release/contrib/libreadline/ |
H A D | signals.c | 70 # define rl_sigaction(s, nh, oh) sigaction(s, nh, oh) 232 rl_sigaction (sig, nh, oh) 234 sighandler_cxt *nh, *oh; 236 oh->sa_handler = signal (sig, nh->sa_handler);
|
/freebsd-10.3-release/usr.bin/sort/ |
H A D | coll.c | 827 kv1->hint->v.nh.n1 = wcstoull(smain1, NULL, 10); 829 kv1->hint->v.nh.empty=true; 830 kv1->hint->v.nh.si = SI1; 831 kv1->hint->status = (kv1->hint->v.nh.n1 != ULLONG_MAX) ? 833 kv1->hint->v.nh.neg = (sign1 < 0) ? true : false; 840 kv2->hint->v.nh.n1 = wcstoull(smain2, NULL, 10); 842 kv2->hint->v.nh.empty=true; 843 kv2->hint->v.nh.si = SI2; 844 kv2->hint->status = (kv2->hint->v.nh.n1 != ULLONG_MAX) ? 846 kv2->hint->v.nh [all...] |
H A D | coll.h | 81 struct n_hint nh; member in union:key_hint::__anon12472
|
/freebsd-10.3-release/sys/dev/sfxge/ |
H A D | sfxge_rx.c | 387 struct ip *iph = c->nh; 395 struct ip6_hdr *iph = c->nh; 478 struct ip *iph = c->nh; 482 struct ip6_hdr *iph = c->nh; 499 struct mbuf *mbuf, void *nh, struct tcphdr *th) 504 c->nh = nh; 511 struct ip *iph = nh; 514 struct ip6_hdr *iph = nh; 627 uint16_t l2_id, void *nh, struc 498 sfxge_lro_start(struct sfxge_lro_state *st, struct sfxge_lro_conn *c, struct mbuf *mbuf, void *nh, struct tcphdr *th) argument 626 sfxge_lro_new_conn(struct sfxge_lro_state *st, uint32_t conn_hash, uint16_t l2_id, void *nh, struct tcphdr *th) argument 677 void *nh; local [all...] |
H A D | sfxge_rx.h | 81 * @nh: IP (v4 or v6) header of super-packet 102 void *nh; member in struct:sfxge_lro_conn
|
/freebsd-10.3-release/contrib/apr/tables/ |
H A D | apr_skiplist.c | 408 int ch, nh = 1; local 416 while (nh < sl->preheight && get_b_rand()) { 417 nh++; 421 while (nh <= ch && get_b_rand()) { 422 nh++; 426 /* Now we have in nh the height at which we wish to insert our new node, 429 * reaches nh. From there, any walk down pushes the current node on a 447 if (ch <= nh) { 479 /* Now we are sure the node is inserted, grow our tree to 'nh' tall */ 480 for (; sl->height < nh; s [all...] |
/freebsd-10.3-release/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1332 u_char *cp = (u_char *)ip6, nh; local 1339 nh = ip6->ip6_nxt; 1342 while (lim - cp >= (nh == IPPROTO_NONE ? 0 : 8)) { 1343 switch (nh) { 1348 return(useproto == nh ? cp : NULL); 1350 return(useproto == nh ? cp : NULL); 1352 return(useproto == nh ? none_hdr : NULL); 1355 nh = ((struct ip6_frag *)cp)->ip6f_nxt; 1359 nh = ((struct ip6_ext *)cp)->ip6e_nxt; 1363 nh [all...] |
/freebsd-10.3-release/crypto/heimdal/lib/roken/ |
H A D | getifaddrs.c | 332 struct nlmsghdr *nh; local 352 nh = (struct nlmsghdr *)buff; 353 for (nh = (struct nlmsghdr *)buff; 354 NLMSG_OK(nh, read_size); 355 nh = (struct nlmsghdr *)NLMSG_NEXT(nh, read_size)){ 356 if (nh->nlmsg_pid != pid || 357 nh->nlmsg_seq != seq) 359 if (nh->nlmsg_type == NLMSG_DONE){ 363 if (nh [all...] |
/freebsd-10.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 126 struct nfsheur *nh; local 132 nh = &nfsheur[hi]; 135 nh = &nfsheur[hi]; 141 if (nfsheur[hi].nh_use < nh->nh_use) 142 nh = &nfsheur[hi]; 146 if (nh->nh_vp != vp) { 147 nh->nh_vp = vp; 148 nh->nh_nextoff = uio->uio_offset; 149 nh->nh_use = NHUSE_INIT; 151 nh 640 struct nfsheur *nh; local 725 struct nfsheur *nh; local [all...] |
/freebsd-10.3-release/sys/nfsserver/ |
H A D | nfs_serv.c | 171 struct nfsheur *nh; local 177 nh = &nfsheur[hi]; 180 nh = &nfsheur[hi]; 186 if (nfsheur[hi].nh_use < nh->nh_use) 187 nh = &nfsheur[hi]; 191 if (nh->nh_vp != vp) { 192 nh->nh_vp = vp; 193 nh->nh_nextoff = uio->uio_offset; 194 nh->nh_use = NHUSE_INIT; 196 nh 792 struct nfsheur *nh; local 983 struct nfsheur *nh; local [all...] |
/freebsd-10.3-release/usr.sbin/route6d/ |
H A D | route6d.c | 810 struct in6_addr *nh; /* next hop */ local 827 nh = NULL; 838 nh = NULL; 877 nrt = 0; np = ripbuf->rip6_nets; nh = NULL; 899 if (nh == NULL || !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw)) { 902 nh = NULL; 911 nh = &rrt->rrt_gw; 914 } else if (nh && (rrt->rrt_index != ifcp->ifc_index || 915 !IN6_ARE_ADDR_EQUAL(nh, 1104 struct in6_addr nh; /* next hop */ local [all...] |