Searched refs:uhdr (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/contrib/libpcap/
H A Dpcap-util.c193 pcap_usb_header_mmapped *uhdr = (pcap_usb_header_mmapped *)buf; local
209 uhdr->id = SWAPLL(uhdr->id);
216 uhdr->bus_id = SWAPSHORT(uhdr->bus_id);
223 uhdr->ts_sec = SWAPLL(uhdr->ts_sec);
228 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec);
233 uhdr
[all...]
/freebsd-current/sys/net/
H A Dif_ovpn.c2224 struct udphdr *uhdr; local
2248 if (m_length(m, NULL) < (off + sizeof(*uhdr) + ohdrlen)) {
2254 m_copydata(m, off + sizeof(*uhdr), ohdrlen, (caddr_t)&tmphdr);
2263 m = m_pullup(m, off + sizeof(*uhdr) + ohdrlen);
2276 uhdr = mtodo(m, 0);
2277 ohdr = mtodo(m, sizeof(*uhdr));
2291 ohdr = mtodo(m, sizeof(*uhdr));
2301 m = m_pullup(m, sizeof(*uhdr) + ohdrlen);
2307 uhdr = mtodo(m, 0);
2308 ohdr = mtodo(m, sizeof(*uhdr));
[all...]
/freebsd-current/sys/dev/iwm/
H A Dif_iwm.c541 const struct iwm_tlv_ucode_header *uhdr; local
580 uhdr = (const void *)fw->fw_fp->data;
582 || le32toh(uhdr->magic) != IWM_TLV_UCODE_MAGIC) {
590 IWM_UCODE_MAJOR(le32toh(uhdr->ver)),
591 IWM_UCODE_MINOR(le32toh(uhdr->ver)),
592 IWM_UCODE_API(le32toh(uhdr->ver)));
593 data = uhdr->data;
594 len = fw->fw_fp->datasize - sizeof(*uhdr);
/freebsd-current/sys/netinet/
H A Dsctputil.c7140 struct udphdr *uhdr; local
7149 uhdr = (struct udphdr *)((caddr_t)iph + off);
7150 port = uhdr->uh_sport;

Completed in 150 milliseconds