| /src/sys/lib/libsa/ |
| udp.c | 70 struct udphdr *uh; local 84 uh = (struct udphdr *)pkt - 1; 85 len += sizeof(*uh); 87 (void)memset(uh, 0, sizeof(*uh)); 89 uh->uh_sport = d->myport; 90 uh->uh_dport = d->destport; 91 uh->uh_ulen = htons(len); 93 cc = sendip(d, uh, len, IPPROTO_UDP); 98 return (cc - sizeof(*uh)); 109 struct udphdr *uh; local [all...] |
| tftp.c | 127 struct udphdr *uh; local 128 uh = (struct udphdr *)pkt - 1; 129 d->destport = uh->uh_sport;
|
| /src/external/lgpl3/gmp/dist/mpn/generic/ |
| div_qr_1.c | 55 mp_limb_t uh; local 65 uh = up[--n]; 67 q = (uh >= d); 69 uh -= (-q) & d; 78 udiv_qrnnd (qp[n], uh, uh, ul, d); 80 return uh >> cnt; 83 return mpn_div_qr_1n_pi1 (qp, up, n, uh, d, dinv); 93 uh = up[--n]; 94 udiv_qrnnd (*qh, uh, CNST_LIMB(0), uh, d) [all...] |
| gcdext_lehmer.c | 281 mp_limb_t uh, vh; local 320 uh = mpn_mul_1 (up, u1, un, u); 323 if ( (uh | vh) > 0) 325 uh += vh; 326 up[un++] = uh; 327 if (uh < vh)
|
| gcd.c | 177 mp_limb_t uh, ul, vh, vl; local 185 uh = up[n-1]; ul = up[n-2]; 193 uh = MPN_EXTRACT_NUMB (shift, up[n-1], up[n-2]); 200 if (mpn_hgcd2 (uh, ul, vh, vl, &M))
|
| rootrem.c | 212 mp_limb_t save, save2, cy, uh; local 223 uh = up[un - 1]; 224 count_leading_zeros (ulz, uh); 245 uh = up[un - 2]; 247 uh = (uh << ulz & GMP_NUMB_MASK) | up[un - 1 - (un != 1)] >> (GMP_NUMB_BITS - ulz); 250 xnb = logbased_root (rootp, uh, unb, k); 258 for (uh = (k - 1) / 2, logk = 3; (uh >>= 1) != 0; ++logk )
|
| /src/sys/dev/pci/ixgbe/ |
| if_fdir.c | 92 struct udphdr *uh; local 125 uh = (struct udphdr *)((caddr_t)ip + ip_hlen); 127 common.port.dst ^= uh->uh_sport; 128 common.port.src ^= uh->uh_dport;
|
| /src/sys/dev/qbus/ |
| if_uba.c | 74 if_ubaminit(struct ifubinfo *ifu, struct uba_softc *uh, int size, 86 ifu->iff_softc = uh; 94 if ((error = bus_dmamem_alloc(uh->uh_dmat, totsz, PAGE_SIZE, 0, 97 if ((error = bus_dmamem_map(uh->uh_dmat, &seg, rseg, totsz, &vaddr, 99 bus_dmamem_free(uh->uh_dmat, &seg, rseg); 109 if ((error = bus_dmamap_create(uh->uh_dmat, size, 1, 118 if ((error = bus_dmamap_create(uh->uh_dmat, size, 1, 135 bus_dmamap_load(uh->uh_dmat, ifr[i].ifrw_map, 145 bus_dmamap_load(uh->uh_dmat, ifw[i].ifw_map, 151 bus_dmamap_unload(uh->uh_dmat, ifr[nw].ifrw_map) 193 struct uba_softc *uh = ifu->iff_softc; local 216 struct uba_softc *uh = ifu->iff_softc; local 235 struct uba_softc *uh = ifu->iff_softc; local [all...] |
| uba.c | 100 struct uba_softc *uh; local 103 uh = device_private(device_parent(uu->uu_dev)); 106 SIMPLEQ_INSERT_TAIL(&uh->uh_resq, uu, uu_resq); 117 uba_done(struct uba_softc *uh) 121 while ((uu = SIMPLEQ_FIRST(&uh->uh_resq))) { 122 SIMPLEQ_REMOVE_HEAD(&uh->uh_resq, uu_resq); 124 SIMPLEQ_INSERT_HEAD(&uh->uh_resq, uu, uu_resq); 137 struct uba_softc *uh = device_private(device_parent(dev)); local 144 SIMPLEQ_INSERT_TAIL(&uh->uh_resetq, ur, ur_resetq); 151 uballoc(struct uba_softc *uh, struct ubinfo *ui, int flags [all...] |
| uda.c | 147 struct uba_softc *uh = device_private(parent); local 175 ((uh->uh_lastiv - 4) >> 2));
|
| if_qe.c | 131 struct uba_softc *uh = device_private(parent); local 145 uh->uh_lastiv -= 4; 147 QE_WCSR(QE_CSR_VECTOR, uh->uh_lastiv); 156 if ((error = uballoc(uh, &ui, UBA_CANTWAIT))) { 194 ubfree(uh, &ui);
|
| /src/sys/net/ |
| rss_config.c | 148 struct udphdr *uh; local 150 uh = (struct udphdr *)(mtod(m, char *) + hlen); 155 &uh->uh_sport, sizeof(uh->uh_sport) * 2, 245 struct udphdr *uh; local 247 uh = (struct udphdr *)(mtod(m, char *) + hlen); 252 &uh->uh_sport, sizeof(uh->uh_sport) * 2,
|
| ether_sw_offload.c | 167 struct udphdr *uh; local 317 KASSERT(len >= sizeof(*uh)); 318 if (m->m_len < l4offset + sizeof(*uh)) { 319 m = m_pullup(m, l4offset + sizeof(*uh)); 323 uh = (void *)(mtod(m, char *) + l4offset); 324 osum = uh->uh_sum; 327 uh->uh_sum = sum; 342 uh->uh_sum = osum;
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| dump.c | 135 struct udphdr uh; local 176 sf_hdr.caplen += sizeof(af) + sizeof(uh) + msg->l; 177 sf_hdr.len += sizeof(af) + sizeof(uh) + msg->l; 194 ip.ip_len = htons(sizeof(ip) + sizeof(uh) + msg->l); 205 ip6.ip6_plen = htons(sizeof(uh) + msg->l); 212 memset(&uh, 0, sizeof(uh)); 213 uh.uh_sport = htons(500); 214 uh.uh_dport = htons(500); 215 uh.uh_ulen = htons(msg->l & 0xffff) [all...] |
| /src/tests/lib/libc/stdio/ |
| t_printf.c | 141 uint32_t ul, uh; local 155 uh = rand(); 156 u.bits = (uint64_t)uh << 32 | ul;
|
| /src/sys/arch/arm/arm/ |
| undefined.c | 91 struct undefined_handler *uh; local 96 uh = kmem_alloc(sizeof(*uh), KM_SLEEP); 97 uh->uh_handler = handler; 98 install_coproc_handler_static(coproc, uh); 99 return uh; 110 install_coproc_handler_static(int coproc, struct undefined_handler *uh) 113 LIST_INSERT_HEAD(&undefined_handlers[coproc], uh, uh_link); 119 struct undefined_handler *uh = cookie; local 121 LIST_REMOVE(uh, uh_link) 311 struct undefined_handler *uh; local [all...] |
| /src/sys/arch/i386/stand/pxeboot/ |
| pxe.c | 157 struct udphdr *uh; local 160 uh = (struct udphdr *)pkt - 1; 161 ip = (struct ip *)uh - 1; 184 uh->uh_sport = ur->s_port; 185 uh->uh_dport = d->myport;
|
| /src/sys/arch/x86/x86/ |
| cpu_ucode_intel.c | 182 struct intel1_ucode_header *uh; local 191 uh = (struct intel1_ucode_header *)sc->sc_blob; 193 error = cpu_ucode_intel_verify(sc, uh); 197 ucodetarget = uh->uh_rev; 203 uh = 205 memcpy(uh, sc->sc_blob, sc->sc_blobsize); 222 wrmsr(MSR_BIOS_UPDT_TRIG, (uintptr_t)uh + 48);
|
| /src/sys/net/npf/ |
| npf_alg_icmp.c | 95 const struct udphdr *uh = npc->npc_l4.udp; local 96 dport = ntohs(uh->uh_dport); 265 struct udphdr uh; member in union:l4 280 l4.uh.uh_sport = enpc.npc_l4.udp->uh_dport; 281 l4.uh.uh_dport = enpc.npc_l4.udp->uh_sport; 282 enpc.npc_l4.udp = &l4.uh; 374 const struct udphdr *uh = enpc.npc_l4.udp; local 375 old_port = uh->uh_sport; 376 l4cksum = uh->uh_sum; 431 const struct udphdr *uh = enpc.npc_l4.udp local [all...] |
| npf_connkey.c | 234 const struct udphdr *uh; local 255 uh = npc->npc_l4.udp; 256 id[NPF_SRC] = uh->uh_sport; 257 id[NPF_DST] = uh->uh_dport;
|
| /src/sys/netipsec/ |
| ipsec_input.c | 127 struct udphdr *uh; local 154 M_REGION_GET(uh, struct udphdr *, m, poff, sizeof(*uh)); 155 if (uh == NULL) 157 off = sizeof(*uh); 162 uh->uh_sum = 0; 163 uh->uh_sum = in4_cksum(m, IPPROTO_UDP, poff, plen);
|
| /src/usr.sbin/npf/npftest/libnpftest/ |
| npf_nat_test.c | 188 const struct udphdr *uh = npc.npc_l4.udp; local 197 printf("src %s (%d) ", sbuf, ntohs(uh->uh_sport)); 198 printf("dst %s (%d)\n", dbuf, ntohs(uh->uh_dport)); 211 CHECK_TRUE(sport == ntohs(uh->uh_sport)); 213 CHECK_TRUE(dport == ntohs(uh->uh_dport));
|
| npf_mbuf_subr.c | 269 struct udphdr *uh; local 297 uh = p; 298 uh->uh_sport = htons(sport); 299 uh->uh_dport = htons(dport);
|
| /src/external/gpl3/gcc/dist/libgcc/config/xtensa/ |
| lib1funcs.S | 801 #define uh a2 define 804 #define uh a3 define 817 src uh, uh, ul 822 sll uh, ul 838 src ul, uh, ul 839 sra uh, uh 843 sra ul, uh 844 srai uh, uh, 3 [all...] |
| /src/external/gpl3/gcc.old/dist/libgcc/config/xtensa/ |
| lib1funcs.S | 772 #define uh a2 define 775 #define uh a3 define 788 src uh, uh, ul 793 sll uh, ul 809 src ul, uh, ul 810 sra uh, uh 814 sra ul, uh 815 srai uh, uh, 3 [all...] |