/src/sys/external/bsd/libfdt/dist/ |
fdt_rw.c | 323 struct fdt_node_header *nh; local in function:fdt_add_subnode_namelen 345 nh = fdt_offset_ptr_w_(fdt, offset); 346 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; 348 err = fdt_splice_struct_(fdt, nh, 0, nodelen); 352 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 353 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); 354 memcpy(nh->name, name, namelen); 355 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
|
fdt_sw.c | 215 struct fdt_node_header *nh; local in function:fdt_begin_node 221 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); 222 if (! nh) 225 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 226 memcpy(nh->name, name, namelen);
|
fdt_ro.c | 290 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); local in function:fdt_get_name 298 nameptr = nh->name;
|
/src/sys/lib/libsa/ |
loadfile_elf32.c | 518 Elf_Nhdr nh; member in struct:ELFNAMEEND::__packed 629 if (note.nh.n_namesz == ELF_NOTE_NETBSD_NAMESZ && 630 note.nh.n_descsz == ELF_NOTE_NETBSD_DESCSZ && 631 note.nh.n_type == ELF_NOTE_TYPE_NETBSD_TAG &&
|
/src/games/worm/ |
worm.c | 265 struct body *nh; local in function:process 316 nh = tail->next; 318 tail = nh; 335 nh = newlink(); 336 nh->next = NULL; 337 nh->prev = head; 338 head->next = nh; 339 nh->y = y; 340 nh->x = x; 341 display(nh, HEAD) [all...] |
/src/usr.sbin/traceroute6/ |
traceroute6.c | 1033 u_char *cp = (u_char *)ip6, nh; local in function:get_udphdr 1039 nh = ip6->ip6_nxt; 1043 switch (nh) { 1053 nh = ((struct ip6_frag *)cp)->ip6f_nxt; 1057 nh = ((struct ip6_ext *)cp)->ip6e_nxt; 1061 nh = ((struct ip6_ext *)cp)->ip6e_nxt;
|
/src/sys/crypto/adiantum/ |
adiantum.c | 395 nh(uint8_t h[static 32], const uint8_t *m, size_t mlen, 469 nh(h0, m, MIN(mlen, 1024), nhk); 476 /* https://github.com/google/adiantum/blob/68971e9c6684121b2203b4b05a22768b84051b58/test_vectors/ours/NH/NH.json */ 1192 nh(h, C[i].m, C[i].mlen, k); 1195 snprintf(prefix, sizeof prefix, "nh %u", i); 1221 /* NH key */ 1366 /* NH key */ 1826 /* Put the NH key words into host byte order. */ 1858 /* Compute H_L := Poly1305_{K_L}(NH(pad_128(l))). * 390 nh(uint8_t h[static 32], const uint8_t *m, size_t mlen, function in typeref:typename:void [all...] |
/src/sys/netinet/ |
ip_input.c | 810 const int off = hlen, nh = ip->ip_p; local in function:ip_input 812 (*inetsw[ip_protox[nh]].pr_input)(m, off, nh);
|
/src/sys/fs/nfs/server/ |
nfs_nfsdport.c | 134 struct nfsheur *nh; local in function:nfsrv_sequential_heuristic 140 nh = &nfsheur[hi]; 143 nh = &nfsheur[hi]; 149 if (nfsheur[hi].nh_use < nh->nh_use) 150 nh = &nfsheur[hi]; 154 if (nh->nh_vp != vp) { 155 nh->nh_vp = vp; 156 nh->nh_nextoff = uio->uio_offset; 157 nh->nh_use = NHUSE_INIT; 159 nh->nh_seqcount = 4 648 struct nfsheur *nh; local in function:nfsvno_read 735 struct nfsheur *nh; local in function:nfsvno_write [all...] |
/src/usr.sbin/route6d/ |
route6d.c | 687 struct in6_addr *nh; /* next hop */ local in function:ripsend 702 nrt = 0; nip = ripbuf->rip6_nets; nh = NULL; 711 nh = NULL; 748 nrt = 0; nip = ripbuf->rip6_nets; nh = NULL; 770 if (nh == NULL || !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw)) { 779 nh = &rrt->rrt_gw; 782 } else if (nh && (rrt->rrt_index != ifcp->ifc_index || 783 !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw) || 790 nh = NULL 969 struct in6_addr nh; \/* next hop *\/ local in function:riprecv [all...] |
/src/sbin/ping6/ |
ping6.c | 2329 u_char *cp = (u_char *)ip6, nh; local in function:pr_retip 2339 nh = ip6->ip6_nxt; 2342 switch (nh) { 2346 nh = ((struct ip6_hbh *)cp)->ip6h_nxt; 2351 nh = ((struct ip6_dest *)cp)->ip6d_nxt; 2356 nh = ((struct ip6_frag *)cp)->ip6f_nxt; 2361 nh = ((struct ip6_rthdr *)cp)->ip6r_nxt; 2367 nh = ((struct ip6_ext *)cp)->ip6e_nxt; 2388 printf("Unknown Header(%d)\n", nh);
|
/src/sys/external/bsd/ipf/netinet/ |
fil.c | 8220 int elen, hlen, nh; local in function:ipf_decaps 8239 nh = fin->fin_fr->fr_icode; 8254 nh = IPPROTO_IP; 8297 nh = IPPROTO_IP; 8304 switch (nh)
|