/illumos-gate/usr/src/boot/libsa/ |
H A D | udp.c | 64 struct udphdr *uh; in sendudp() local 81 uh = (struct udphdr *)pkt - 1; in sendudp() 82 len += sizeof (*uh); in sendudp() 84 uh->uh_sport = d->myport; in sendudp() 85 uh->uh_dport = d->destport; in sendudp() 86 uh->uh_ulen = htons(len); in sendudp() 89 ui->ui_len = uh->uh_ulen; in sendudp() 94 uh->uh_sum = in_cksum(ui, len + sizeof (struct ip)); in sendudp() 97 cc = sendip(d, uh, len, IPPROTO_UDP); in sendudp() 102 return (cc - sizeof (*uh)); in sendudp() [all …]
|
H A D | ip.c | 187 struct udphdr *uh; in readipv4() local 201 if (n == -1 || n < sizeof(*ip) + sizeof(*uh)) { in readipv4() 275 uh = (struct udphdr *)((uintptr_t)ip + sizeof (*ip)); in readipv4() 278 bcopy(((u_char *)ip) + hlen, uh, uh->uh_ulen - hlen); in readipv4()
|
H A D | tftp.c | 224 struct udphdr *uh; in recvtftp() local 225 uh = (struct udphdr *)t - 1; in recvtftp() 226 d->destport = uh->uh_sport; in recvtftp() 246 struct udphdr *uh; in recvtftp() local 262 uh = (struct udphdr *)t - 1; in recvtftp() 263 d->destport = uh->uh_sport; in recvtftp()
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_impl.h | 55 #define _IDMAP_RESET_UDT_HANDLE(uh) \ argument 56 xdr_free(xdr_idmap_update_batch, (caddr_t)&uh->batch);\ 57 uh->next = 0;\ 58 uh->error_index = -1;\ 59 xdr_free(xdr_idmap_namerule, (caddr_t)&uh->error_rule);\ 60 xdr_free(xdr_idmap_namerule, (caddr_t)&uh->conflict_rule);
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | microcode_amd.c | 223 ucode_header_amd_t *uh; in ucode_match_amd() local 228 uh = &ucodefp->uf_header; in ucode_match_amd() 234 if (uh->uh_cpu_rev < 0x5000 && in ucode_match_amd() 240 if (eq_sig != uh->uh_cpu_rev) in ucode_match_amd() 243 if (uh->uh_nb_id) { in ucode_match_amd() 245 "chipset id %x, revision %x", uh->uh_nb_id, uh->uh_nb_rev); in ucode_match_amd() 249 if (uh->uh_sb_id) { in ucode_match_amd() 251 "chipset id %x, revision %x", uh->uh_sb_id, uh->uh_sb_rev); in ucode_match_amd() 255 if (uh->uh_patch_id <= uinfop->cui_rev && !ucode_force_update) in ucode_match_amd()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ecppvar.h | 143 } uh; member 480 #define SET_DMAC_CSR(pp, val) ddi_put32(pp->uh.ebus.d_handle, \ 481 ((uint32_t *)&pp->uh.ebus.dmac->csr), \ 483 #define GET_DMAC_CSR(pp) ddi_get32(pp->uh.ebus.d_handle, \ 484 (uint32_t *)&(pp->uh.ebus.dmac->csr)) 486 #define SET_DMAC_ACR(pp, val) ddi_put32(pp->uh.ebus.d_handle, \ 487 ((uint32_t *)&pp->uh.ebus.dmac->acr), \ 490 #define GET_DMAC_ACR(pp) ddi_get32(pp->uh.ebus.d_handle, \ 491 (uint32_t *)&pp->uh.ebus.dmac->acr) 493 #define SET_DMAC_BCR(pp, val) ddi_put32(pp->uh.ebus.d_handle, \ [all …]
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | systm.h | 35 void delete_unrhdr(struct unrhdr *uh); 36 int alloc_unr(struct unrhdr *uh); 37 void free_unr(struct unrhdr *uh, u_int item);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ecpp.c | 709 if (pp->hw == &x86 && pp->uh.x86.chn != 0xff) { in ecpp_attach() 710 if (ddi_dmae_alloc(dip, pp->uh.x86.chn, in ecpp_attach() 799 if (pp->hw == &x86 && pp->uh.x86.chn != 0xff) in ecpp_detach() 800 (void) ddi_dmae_release(pp->dip, pp->uh.x86.chn); in ecpp_detach() 944 pp->uh.m1553.chn = ddi_prop_get_int(DDI_DEV_T_ANY, in ecpp_get_props() 946 ecpp_error(pp->dip, "ecpp_get_prop:chn=%x\n", pp->uh.m1553.chn); in ecpp_get_props() 956 pp->uh.x86.chn = 0xff; in ecpp_get_props() 960 pp->uh.x86.chn = (uint8_t)value; in ecpp_get_props() 5369 (void) ddi_dmae_getcnt(pp->dip, pp->uh.x86.chn, &count); in x86_getcnt() 5385 if (ddi_regs_map_setup(pp->dip, 1, (caddr_t *)&pp->uh.ebus.c_reg, 0, in pc87332_map_regs() [all …]
|
/illumos-gate/usr/src/cmd/ucodeadm/ |
H A D | ucodeadm.c | 301 ucode_header_amd_t *uh; in ucode_gen_files_amd() local 359 uh = (ucode_header_amd_t *)ptr; in ucode_gen_files_amd() 361 if (uh->uh_cpu_rev != last_cpu_rev) { in ucode_gen_files_amd() 362 last_cpu_rev = uh->uh_cpu_rev; in ucode_gen_files_amd() 367 uh->uh_cpu_rev, counter++); in ucode_gen_files_amd() 598 ucode_header_amd_t *uh; in ucode_list_amd() local 630 uh = (ucode_header_amd_t *)(buf + 8); in ucode_list_amd() 632 if (uh->uh_cpu_rev == 0) in ucode_list_amd() 636 uh->uh_cpu_rev, uh->uh_patch_id, uh->uh_date, tsz); in ucode_list_amd()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fflp.c | 909 #define fspec_key (flow_spec->uh.udpip4spec) in nxge_fill_tcam_entry_udp() 937 #define fspec_key (flow_spec->uh.udpip6spec) in nxge_fill_tcam_entry_udp_ipv6() 969 #define fspec_key (flow_spec->uh.tcpip4spec) in nxge_fill_tcam_entry_tcp() 995 #define fspec_key (flow_spec->uh.tcpip4spec) in nxge_fill_tcam_entry_sctp() 1021 #define fspec_key (flow_spec->uh.tcpip6spec) in nxge_fill_tcam_entry_tcp_ipv6() 1053 #define fspec_key (flow_spec->uh.tcpip6spec) in nxge_fill_tcam_entry_sctp_ipv6() 1086 #define fspec_key (flow_spec->uh.ahip4spec) in nxge_fill_tcam_entry_ah_esp() 1119 #define fspec_key (flow_spec->uh.ahip6spec) in nxge_fill_tcam_entry_ah_esp_ipv6() 1155 #define fspec_key (flow_spec->uh.ip_usr_spec) in nxge_fill_tcam_entry_ip_usr() 1204 ft.ip4_saddr = flow_res->flow_spec.uh.tcpip4spec.ip4src; in nxge_flow_get_hash() [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_flow.h | 127 } uh, um; /* entry, mask */ member
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | ddi_v9_asm.S | 275 DDI_REP_GET(2,uh) 368 DDI_REP_PUT(2,uh) 863 DDI_REP_GET(2,uh) 905 DDI_REP_PUT(2,uh)
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_flow.h | 147 } uh, um; /* entry, mask */ member
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_section.c | 1025 Dwarf_Half uh = cur->dfe_index; in determine_file_content_size() local 1026 memcpy(data,&uh,DWARF_HALF_SIZE); in determine_file_content_size() 1116 Dwarf_Half uh = cur->dfe_index; in determine_file_content_size() local 1117 memcpy(data,&uh,DWARF_HALF_SIZE); in determine_file_content_size()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sftable.c | 389 else fp[n].argv.i = fp[n].argv.uh;
|
H A D | sfhdr.h | 723 ushort uh; member
|
H A D | sfvprintf.c | 566 else argv.i = argv.uh;
|