HomeSort by relevance Sort by last modified time
    Searched defs:eh (Results 1 - 23 of 23) sorted by null

  /onnv/onnv-gate/usr/src/cmd/sgs/libelf/common/
newehdr.c 66 Ehdr *eh; local
78 if ((eh = (Ehdr *)getehdr(elf)) != 0) {
83 return (eh);
98 if ((eh = (Ehdr *)getehdr(elf)) != 0) { /* this cooks if necessary */
102 return (eh);
106 if ((eh = (Ehdr *)malloc(sizeof (Ehdr))) == 0) {
111 *eh = _elf_ehdr_init;
114 elf->ed_ehdr = eh;
116 return (eh);
clscook.c 302 Ehdr * eh = elf->ed_ehdr; /* must be present */ local
305 if (eh->e_phnum == 0)
309 if (eh->e_phentsize != fsz) {
314 fsz *= eh->e_phnum;
316 msz = _elf_msize(ELF_T_PHDR, work) * eh->e_phnum;
317 if ((eh->e_phoff == 0) ||
318 ((fsz + eh->e_phoff) > elf->ed_fsz)) {
323 if (inplace && fsz >= msz && eh->e_phoff % sizeof (ElfField) == 0) {
324 elf->ed_phdr = (Elf_Void *)(elf->ed_ident + eh->e_phoff);
333 src.d_buf = (Elf_Void *)(elf->ed_ident + eh->e_phoff)
362 register Ehdr *eh = elf->ed_ehdr; \/* must be present *\/ local
    [all...]
update.c 163 Ehdr * eh = elf->ed_ehdr; local
164 unsigned ver = eh->e_version;
165 register char *p = (char *)eh->e_ident;
180 eh->e_ehsize = (Half)hi;
181 if (eh->e_phnum != 0) {
183 eh->e_phentsize = (Half)elf_fsize(ELF_T_PHDR, 1, ver);
185 eh->e_phoff = (Off)hi;
186 hi += eh->e_phentsize * eh->e_phnum;
188 eh->e_phoff = 0
347 Ehdr * eh = elf->ed_ehdr; local
455 Ehdr *eh = elf->ed_ehdr; local
738 Ehdr *eh = elf->ed_ehdr; local
853 Ehdr *eh; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/
plock.c 79 struct exec *eh; /* exec header */ local
129 eh = (struct exec *)lmp->lm_addr;
132 a = (caddr_t)eh;
133 l = (u_int)eh->a_text;
136 a = (caddr_t)((u_int)eh + N_DATADDR(*eh) -
137 N_TXTADDR(*eh));
138 l = (u_int)eh->a_data + (u_int)eh->a_bss;
  /onnv/onnv-gate/usr/src/uts/i86pc/dboot/
dboot_elfload.c 75 Elf64_Ehdr *eh; local
88 eh = getehdr();
89 if (eh == NULL)
92 if (eh->e_type != ET_EXEC)
93 dboot_panic("not ET_EXEC, e_type = 0x%x", eh->e_type);
95 if (eh->e_phnum == 0 || eh->e_phoff == 0)
101 allphdrs = PGETBYTES(eh->e_phoff);
104 eh->e_phnum);
109 sechdrs = PGETBYTES(eh->e_shoff)
    [all...]
  /onnv/onnv-gate/usr/src/common/net/wanboot/crypt/
cbc_test.c 69 void *eh; local
75 ret = des3_init(&eh);
78 ret = aes_init(&eh);
81 ret = aes_init(&eh);
84 ret = aes_init(&eh);
100 des3_key(eh, (uint8_t *)DES3_KEY);
101 cbc_makehandle(&ch, eh, DES3_KEY_SIZE, DES3_BLOCK_SIZE,
105 aes_key(eh, (uint8_t *)AES_128_KEY, AES_128_KEY_SIZE);
106 cbc_makehandle(&ch, eh, AES_128_KEY_SIZE, AES_BLOCK_SIZE,
110 aes_key(eh, (uint8_t *)AES_192_KEY, AES_192_KEY_SIZE)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libinetutil/common/
eh.c 60 iu_eh_t *eh = malloc(sizeof (iu_eh_t)); local
63 if (eh == NULL)
66 eh->iueh_pollfds = NULL;
67 eh->iueh_events = NULL;
68 eh->iueh_shutdown = NULL;
69 eh->iueh_num_fds = 0;
70 eh->iueh_stop = B_FALSE;
71 eh->iueh_reason = 0;
72 eh->iueh_shutdown_arg = NULL;
74 (void) sigemptyset(&eh->iueh_sig_regset)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/myri10ge/drv/
myri10ge_lro.c 139 struct ether_header *eh; local
149 eh = (struct ether_header *)(void *)m_head->b_rptr;
150 if (eh->ether_type != htons(ETHERTYPE_IP))
152 ip = (struct ip *)(void *)(eh + 1);
myri10ge.c 1764 struct ether_header *eh; local
2304 struct ether_header *eh; local
3035 struct ether_header *eh; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/
encr.c 226 void *eh; local
232 if (des3_init(&eh) != 0) {
235 des3_key(eh, key);
240 cbc_makehandle(&ch, eh, ka->ka_len, DES3_BLOCK_SIZE,
251 des3_fini(eh);
267 void *eh; local
273 if (aes_init(&eh) != 0) {
276 aes_key(eh, key, ka->ka_len);
281 cbc_makehandle(&ch, eh, ka->ka_len, AES_BLOCK_SIZE,
292 aes_fini(eh);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/mac/plugins/
mac_wifi.c 409 struct ether_header eh; local
425 IEEE80211_ADDR_COPY(&eh.ether_dhost, mhi.mhi_daddr);
426 IEEE80211_ADDR_COPY(&eh.ether_shost, mhi.mhi_saddr);
427 eh.ether_type = htons(mhi.mhi_origsap);
431 bcopy(&eh, mp->b_rptr, sizeof (struct ether_header));
  /onnv/onnv-gate/usr/src/stand/lib/inet/
ethernet.c 294 struct ether_header *eh; local
378 eh = (struct ether_header *)mac_state.mac_buf;
379 if (eh->ether_type == ntohs(ETHERTYPE_IP) &&
416 if (eh->ether_type == ntohs(ETHERTYPE_ARP) &&
442 (caddr_t)&eh->ether_dhost,
445 (caddr_t)&eh->ether_shost,
494 struct ether_header eh; local
528 eh.ether_type = htons(ETHERTYPE_IP);
529 bcopy(mac_state.mac_addr_buf, (caddr_t)&eh.ether_shost,
558 result = mac_get_arp(&tmpip, (void *)&eh.ether_dhost
    [all...]
ibd.c 293 ipoib_ptxhdr_t *eh; local
378 eh = (ipoib_ptxhdr_t *)mac_state.mac_buf;
379 if (eh->ipoib_rhdr.ipoib_type == ntohs(ETHERTYPE_IP) &&
415 if (eh->ipoib_rhdr.ipoib_type == ntohs(ETHERTYPE_ARP) &&
440 (caddr_t)&eh->ipoib_dest, IPOIB_ADDRL);
486 ipoib_ptxhdr_t eh; local
515 eh.ipoib_rhdr.ipoib_type = htons(ETHERTYPE_IP);
516 eh.ipoib_rhdr.ipoib_mbz = 0;
536 result = mac_get_arp(&tmpip, (void *)&eh.ipoib_dest,
548 bcopy((caddr_t)&ibdbroadcastaddr, (caddr_t)&eh.ipoib_dest
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
events.c 499 struct ether_header *eh; local
529 eh = (struct ether_header *)buffer;
530 rc = STP_IN_check_bpdu_header((BPDU_T *)&eh->ether_type, buflen);
541 (void) _link_ntoa(eh->ether_shost.ether_addr_octet,
556 (void) _link_ntoa(eh->ether_shost.ether_addr_octet,
562 (BPDU_T *)&eh->ether_type, buflen);
565 (void) _link_ntoa(eh->ether_shost.ether_addr_octet, sender,
  /onnv/onnv-gate/usr/src/cmd/geniconvtbl/
disassemble.c 3106 itm_escapeseq_hdr_t *eh; local
    [all...]
geniconvtbl.c 945 itm_escapeseq_hdr_t *eh; local
999 eh = (itm_escapeseq_hdr_t *)(eth + 1);
1009 if (*inbytesleft < eh->len_min) {
1012 for (j = 0, d = (itm_data_t *)(eh + 1);
    [all...]
itm_util.c 440 itm_escapeseq_hdr_t *eh; local
476 eh = (itm_escapeseq_hdr_t *)(table + 1);
477 eh->len_max = len_max;
478 eh->len_min = len_min;
480 for (ol = obj_list, ep = (itm_data_t *)(eh + 1);
490 (void) qsort((itm_data_t *)(eh + 1), num, sizeof (itm_data_t),
493 for (i = 0, ep = (itm_data_t *)(eh + 1);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/ppp/sppp/
sppp_dlpi.c 1098 mblk_t *eh; local
1101 if ((eh = allocb(sizeof (struct ether_header), BPRI_MED)) == NULL) {
1122 eh->b_wptr += sizeof (struct ether_header);
1123 bzero((caddr_t)eh->b_rptr, sizeof (struct ether_header));
1124 ((struct ether_header *)eh->b_rptr)->ether_type = htons((int16_t)type);
1126 linkb(eh, mp);
1127 return (eh);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/os/
pcifm.c 349 ddi_acc_handle_t eh; local
352 if (pci_config_setup(dip, &eh) == DDI_SUCCESS) {
353 (void) PCI_CAP_LOCATE(eh, PCI_CAP_ID_PCIX, &pcix_cap_ptr);
354 pci_config_teardown(&eh);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/net80211/
net80211_ht.c 94 struct ether_header *eh; local
120 eh = (struct ether_header *)mp->b_rptr;
122 framelen = ntohs(eh->ether_type); /* llc + data */
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
agent.c 65 iu_eh_t *eh; variable
204 eh = iu_eh_create();
206 if (eh == NULL || tq == NULL) {
229 (void) iu_eh_register_signal(eh, SIGTHAW, refresh_smachs, NULL);
288 if (iu_register_event(eh, ipc_fd, POLLIN, accept_event, 0) == -1) {
316 if (iu_register_event(eh, rtsock_fd, POLLIN, rtsock_event, 0) == -1) {
345 switch (iu_handle_events(eh, tq)) {
365 (void) iu_eh_unregister_signal(eh, SIGTHAW, NULL);
367 iu_eh_destroy(eh);
423 if (iu_register_event(eh, client_fd, POLLIN, ipc_event
    [all...]
  /onnv/onnv-gate/usr/src/psm/stand/boot/sparc/common/
wanboot.c 1147 encr_fini(encr_type_t etype, void *eh)
1151 des3_fini(eh);
1154 aes_fini(eh);
1225 void *eh; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/pciex/
pcie.c 743 ddi_acc_handle_t eh = NULL; local
757 if (pci_config_setup(cdip, &eh) != DDI_SUCCESS) {
762 bus_p->bus_cfg_hdl = eh;
781 if ((PCI_CAP_LOCATE(eh, PCI_CAP_ID_PCI_E, &bus_p->bus_pcie_off))
783 bus_p->bus_dev_type = PCI_CAP_GET16(eh, NULL,
787 if (PCI_CAP_LOCATE(eh, PCI_CAP_XCFG_SPC(PCIE_EXT_CAP_ID_AER),
793 (PCI_CAP_GET16(eh, NULL, bus_p->bus_pcie_off, PCIE_PCIECAP)
795 (PCI_CAP_GET32(eh, NULL, bus_p->bus_pcie_off, PCIE_SLOTCAP)
803 if ((PCI_CAP_LOCATE(eh, PCI_CAP_ID_PCIX, &bus_p->bus_pcix_off))
819 if ((PCI_CAP_LOCATE(eh, PCI_CAP_ID_PCI_HOTPLUG
    [all...]

Completed in 3540 milliseconds