| /src/sys/lib/libsa/ |
| ether.c | 64 struct ether_header *eh; local 71 eh = (struct ether_header *)pkt - 1; 72 len += sizeof(*eh); 74 MACPY(d->myea, eh->ether_shost); /* by byte */ 75 MACPY(dea, eh->ether_dhost); /* by byte */ 76 eh->ether_type = htons(etype); 78 n = netif_put(d, eh, len); 79 if (n == -1 || (size_t)n < sizeof(*eh)) 82 n -= (ssize_t)sizeof(*eh); 96 struct ether_header *eh; local [all...] |
| /src/usr.bin/crunch/crunchide/ |
| exec_ecoff.c | 58 struct ecoff_exechdr eh; local 67 if (sb.st_size < (off_t)sizeof eh) 69 if (read(fd, &eh, sizeof eh) != sizeof eh) 72 if (ECOFF_BADMAG(&eh))
|
| /src/external/mpl/dhcp/dist/common/ |
| ethernet.c | 49 struct isc_ether_header eh; local 52 memcpy (eh.ether_dhost, &to -> hbuf [1], 53 sizeof eh.ether_dhost); 55 memset (eh.ether_dhost, 0xff, sizeof (eh.ether_dhost)); 56 if (interface -> hw_address.hlen - 1 == sizeof (eh.ether_shost)) 57 memcpy (eh.ether_shost, &interface -> hw_address.hbuf [1], 58 sizeof (eh.ether_shost)); 60 memset (eh.ether_shost, 0x00, sizeof (eh.ether_shost)) 78 struct isc_ether_header eh; local [all...] |
| /src/external/bsd/elftoolchain/dist/libelf/ |
| elf_phnum.c | 43 void *eh; local 52 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
| elf_shnum.c | 43 void *eh; local 52 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
| elf_shstrndx.c | 43 void *eh; local 52 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL) 75 void *eh; local 80 ((eh = _libelf_ehdr(e, ec, 0)) == NULL)) { 85 return (_libelf_setshstrndx(e, eh, ec, strndx));
|
| libelf_checksum.c | 58 GElf_Ehdr eh; local 71 if (gelf_getehdr(e, &eh) == NULL)
|
| /src/sys/arch/arm/arm/ |
| cpu_exec.c | 55 const Elf_Ehdr * const eh = eh0; local 57 (eh->e_flags & EF_ARM_EABIMASK) >= EF_ARM_EABI_VER4; 69 const bool be8_p = (eh->e_flags & EF_ARM_BE8) != 0;
|
| core_machdep.c | 120 Elf_Ehdr * const eh = arg; local 126 eh->e_flags |= EF_ARM_EABI_VER5; 133 eh->e_flags |= EF_ARM_BE8;
|
| /src/sys/compat/freebsd/ |
| freebsd_exec_elf32.c | 56 Elf_Ehdr *eh = (Elf_Ehdr *) veh; local 69 if ((eh->e_ident[EI_BRAND] == '\0' || 70 strcmp(&eh->e_ident[EI_BRAND], wantBrand) != 0) && 71 eh->e_ident[EI_OSABI] != ELFOSABI_FREEBSD)
|
| /src/sys/arch/aarch64/aarch64/ |
| exec_machdep.c | 74 const Elf32_Ehdr * const eh = eh0; local 76 (eh->e_flags & EF_ARM_EABIMASK) >= EF_ARM_EABI_VER4; 83 if ((eh->e_flags & EF_ARM_BE8) == 0)
|
| /src/usr.sbin/btpand/ |
| packet.c | 57 exthdr_t *eh; local 62 while ((eh = STAILQ_FIRST(&pkt->extlist)) != NULL) { 64 free(eh);
|
| /src/external/bsd/ipf/dist/ipsend/ |
| sirix.c | 67 struct ether_header *eh = (struct ether_header *)pkt; local 84 memcpy(eh->ether_shost, ifr.ifr_addr.sa_data, sizeof(eh->ether_shost));
|
| sockraw.c | 72 struct ether_header *eh; local 75 eh = (struct ether_header *)pkt;
|
| resend.c | 78 ether_header_t *eh; local 96 eh = (ether_header_t *)malloc(sizeof(*eh)); 97 if(!eh) 103 bzero((char *)A_A eh->ether_shost, sizeof(eh->ether_shost)); 107 free(eh); 115 eh = (ether_header_t *)realloc((char *)eh, sizeof(*eh) + len) [all...] |
| /src/external/ibm-public/postfix/dist/src/tls/ |
| tls_prng_exch.c | 86 TLS_PRNG_SRC *eh; local 91 eh = (TLS_PRNG_SRC *) mymalloc(sizeof(*eh)); 92 eh->fd = fd; 93 eh->name = mystrdup(name); 94 eh->timeout = 0; 97 return (eh); 102 void tls_prng_exch_update(TLS_PRNG_SRC *eh) 111 if (myflock(eh->fd, INTERNAL_LOCK, MYFLOCK_OP_EXCLUSIVE) != 0) 112 msg_fatal("cannot lock PRNG exchange file %s: %m", eh->name) [all...] |
| /src/sys/arch/macppc/stand/ofwboot/ |
| netif_of.c | 143 struct ether_header *eh; local 147 eh = pkt; 148 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 149 printf("src: %s ", ether_sprintf(eh->ether_shost)); 150 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 210 struct ether_header *eh = pkt; local 212 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 213 printf("src: %s ", ether_sprintf(eh->ether_shost)); 214 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/mips/mips/ |
| cpu_exec.c | 97 const Elf32_Ehdr * const eh = eh0; local 106 switch (eh->e_flags & EF_MIPS_ARCH) { 137 switch (eh->e_flags & (EF_MIPS_ABI|EF_MIPS_ABI2)) { 144 printf("pid %d(%s): ABI set to N32 (e_flags=%#x)\n", p->p_pid, p->p_comm, eh->e_flags); 158 printf("pid %d(%s): ABI set to O32 (e_flags=%#x)\n", p->p_pid, p->p_comm, eh->e_flags); 173 Elf32_Ehdr * const eh = eh0; local 179 eh->e_flags |= EF_MIPS_ARCH_64R2; 181 eh->e_flags |= EF_MIPS_ARCH_64; 183 eh->e_flags |= EF_MIPS_ARCH_32R2; 185 eh->e_flags |= EF_MIPS_ARCH_32 215 const Elf64_Ehdr * const eh = eh0; local 282 Elf64_Ehdr * const eh = eh0; local [all...] |
| /src/sys/arch/ofppc/stand/ofwboot/ |
| netif_of.c | 139 struct ether_header *eh; local 143 eh = pkt; 144 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 145 printf("src: %s ", ether_sprintf(eh->ether_shost)); 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 202 struct ether_header *eh = pkt; local 204 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 205 printf("src: %s ", ether_sprintf(eh->ether_shost)); 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/shark/stand/ofwboot/ |
| netif_of.c | 139 struct ether_header *eh; local 143 eh = pkt; 144 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 145 printf("src: %s ", ether_sprintf(eh->ether_shost)); 146 printf("type: 0x%x\n", eh->ether_type & 0xFFFF); 202 struct ether_header *eh = pkt; local 204 printf("dst: %s ", ether_sprintf(eh->ether_dhost)); 205 printf("src: %s ", ether_sprintf(eh->ether_shost)); 206 printf("type: 0x%x\n", eh->ether_type & 0xFFFF);
|
| /src/sys/arch/x68k/stand/boot/ |
| if_ne.c | 117 struct ether_header *eh; local 119 eh = pkt; 120 printf("dst: %s\n", ether_sprintf(eh->ether_dhost)); 121 printf("src: %s\n", ether_sprintf(eh->ether_shost)); 122 printf("type: 0x%x\n", eh->ether_type & 0xffff);
|
| /src/sys/arch/xen/xen/ |
| xennet_checksum.c | 77 const struct ether_header *eh; local 93 eh = m_extract(m, 0, sizeof(*eh)); 94 if (eh == NULL) { 98 etype = eh->ether_type;
|
| /src/sys/dev/pci/ixgbe/ |
| if_fdir.c | 93 struct ether_vlan_header *eh; local 99 eh = mtod(mp, struct ether_vlan_header *); 100 if (eh->evl_encap_proto == htons(ETHERTYPE_VLAN)) { 102 etype = eh->evl_proto; 105 etype = eh->evl_encap_proto;
|
| /src/external/bsd/openldap/dist/servers/slapd/back-wt/ |
| dn2entry.c | 44 EntryHeader eh; local 86 rc = wt_entry_header( &item, &eh ); 88 eoff = eh.data - (char *)item.data; 89 eh.bv.bv_len = eh.nvals * sizeof( struct berval ) + item.size; 90 eh.bv.bv_val = ch_malloc( eh.bv.bv_len ); 91 memset(eh.bv.bv_val, 0xff, eh.bv.bv_len); 92 eh.data = eh.bv.bv_val + eh.nvals * sizeof( struct berval ) [all...] |
| /src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/ |
| eh_ptr.cc | 88 __cxa_refcounted_exception *eh = variable 90 __gnu_cxx::__eh_atomic_inc (&eh->referenceCount); 100 __cxa_refcounted_exception *eh = variable 102 if (__gnu_cxx::__eh_atomic_dec (&eh->referenceCount)) 104 if (eh->exc.exceptionDestructor) 105 eh->exc.exceptionDestructor (_M_exception_object); 140 __cxa_exception *eh = __get_exception_header_from_obj (_M_exception_object); variable 141 return eh->exceptionType; 194 __cxa_refcounted_exception *eh local 199 __gnu_cxx::__eh_atomic_inc (&eh->referenceCount) [all...] |