HomeSort by: relevance | last modified time | path
    Searched defs:uh (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/sys/lib/libsa/
udp.c 70 struct udphdr *uh; local in function:sendudp
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 in function:readudp
    [all...]
tftp.c 127 struct udphdr *uh; local in function:recvtftp
128 uh = (struct udphdr *)pkt - 1;
129 d->destport = uh->uh_sport;
  /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 in function:if_ubaget
216 struct uba_softc *uh = ifu->iff_softc; local in function:if_ubaend
235 struct uba_softc *uh = ifu->iff_softc; local in function:if_ubaput
    [all...]
uba.c 100 struct uba_softc *uh; local in function:uba_enqueue
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 in function:uba_reset_establish
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 in function:udamatch
175 ((uh->uh_lastiv - 4) >> 2));
if_qe.c 131 struct uba_softc *uh = device_private(parent); local in function:qematch
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);
if_qt.c 207 struct uba_softc *uh = device_private(parent); local in function:qtmatch
218 if (ubmemalloc(uh, &ui, 0))
222 qi->vector = uh->uh_lastiv - 4;
231 ubmemfree(uh, &ui);
  /src/sys/net/
rss_config.c 148 struct udphdr *uh; local in function:rss_toeplitz_hash_from_mbuf_ipv4
150 uh = (struct udphdr *)(mtod(m, char *) + hlen);
155 &uh->uh_sport, sizeof(uh->uh_sport) * 2,
245 struct udphdr *uh; local in function:rss_toeplitz_hash_from_mbuf_ipv6
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 in function:ether_sw_offload_rx
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/sys/dev/pci/ixgbe/
if_fdir.c 92 struct udphdr *uh; local in function:ixgbe_atr
125 uh = (struct udphdr *)((caddr_t)ip + ip_hlen);
127 common.port.dst ^= uh->uh_sport;
128 common.port.src ^= uh->uh_dport;
  /src/tests/lib/libc/stdio/
t_printf.c 141 uint32_t ul, uh; local in function:ATF_TC_BODY
155 uh = rand();
156 u.bits = (uint64_t)uh << 32 | ul;
  /src/sys/arch/i386/stand/pxeboot/
pxe.c 157 struct udphdr *uh; local in function:readudp
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 in function:cpu_ucode_intel_apply
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 in function:npfa_icmp_match
96 dport = ntohs(uh->uh_dport);
265 struct udphdr uh; member in union:npfa_icmp_conn::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 in function:npfa_icmp_nat
375 old_port = uh->uh_sport;
376 l4cksum = uh->uh_sum;
431 const struct udphdr *uh = enpc.npc_l4.udp local in function:npfa_icmp_nat
    [all...]
npf_connkey.c 234 const struct udphdr *uh; local in function:npf_conn_conkey
255 uh = npc->npc_l4.udp;
256 id[NPF_SRC] = uh->uh_sport;
257 id[NPF_DST] = uh->uh_dport;
npf_inet.c 734 struct udphdr *uh = npc->npc_l4.udp; local in function:npf_rwrport
735 oport = (which == NPF_SRC) ? &uh->uh_sport : &uh->uh_dport;
753 struct udphdr *uh; local in function:npf_rwrcksum
785 uh = npc->npc_l4.udp;
786 ocksum = &uh->uh_sum;
791 oport = (which == NPF_SRC) ? uh->uh_sport : uh->uh_dport;
npf_nat.c 560 const struct udphdr *uh = npc->npc_l4.udp; local in function:npf_nat_create
562 uh->uh_sport : uh->uh_dport;
  /src/usr.sbin/npf/npftest/libnpftest/
npf_nat_test.c 188 const struct udphdr *uh = npc.npc_l4.udp; local in function:checkresult
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 in function:mbuf_get_pkt
297 uh = p;
298 uh->uh_sport = htons(sport);
299 uh->uh_dport = htons(dport);
  /src/sys/arch/arm/arm/
undefined.c 91 struct undefined_handler *uh; local in function:install_coproc_handler
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 in function:remove_coproc_handler
121 LIST_REMOVE(uh, uh_link)
311 struct undefined_handler *uh; local in function:undefinedinstruction
    [all...]
  /src/sys/netipsec/
ipsec_input.c 127 struct udphdr *uh; local in function:ipsec4_fixup_checksum
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/sys/dev/ic/
hme.c 749 struct udphdr *uh; local in function:hme_get
800 uh = (struct udphdr *)((char *)ip + hlen);
802 if (uh->uh_sum == 0)
  /src/sys/netinet/
udp_usrreq.c 220 udp_input_checksum(int af, struct mbuf *m, const struct udphdr *uh,
227 return udp4_input_checksum(m, uh, iphlen, len);
231 return udp6_input_checksum(m, uh, iphlen, len);
247 udp4_input_checksum(struct mbuf *m, const struct udphdr *uh,
256 if (uh->uh_sum == 0)
315 struct udphdr *uh; local in function:udp_input
328 M_REGION_GET(uh, struct udphdr *, m, iphlen, sizeof(struct udphdr));
329 if (uh == NULL) {
338 if (ACCESSIBLE_POINTER(uh, struct udphdr) == 0) {
345 uh = (struct udphdr *)(mtod(m, char *) + iphlen)
656 struct udphdr *uh; local in function:udp_ctlinput
    [all...]
  /src/sys/netinet6/
udp6_usrreq.c 188 struct udphdr uh; local in function:udp6_ctlinput
243 memset(&uh, 0, sizeof(uh));
244 m_copydata(m, off, sizeof(*uhp), (void *)&uh);
255 uh.uh_dport, (const struct in6_addr *)&sa6_src->sin6_addr,
256 uh.uh_sport, 0, 0))
267 uh.uh_dport, 0))
290 (void)in6pcb_notify(&udbtable, sa, uh.uh_dport,
291 sin6tocsa(sa6_src), uh.uh_sport, cmd, cmdarg,
584 udp6_input_checksum(struct mbuf *m, const struct udphdr *uh, int off, int len
642 struct udphdr *uh; local in function:udp6_input
    [all...]
  /src/sys/arch/vax/uba/
qv.c 251 struct uba_softc *uh = device_private(parent); local in function:qv_match
259 qv_ic_setvec(ua, QV_IC, QV_SYNC_VEC, uh->uh_lastiv - 4);
406 struct uba_softc *uh = device_private(parent); local in function:qv_attach
430 if (extent_alloc_region(((struct uba_vsoftc*)uh)->uv_sgmap.aps_ex,
459 uh->uh_lastiv -= 4;
482 uh->uh_lastiv -= 4;

Completed in 25 milliseconds

1 2