Home
last modified time | relevance | path

Searched refs:lhdr (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/sys/compat/linux/
H A Dlinux_socket.c700 if (lhdr->msg_controllen > INT_MAX) in linux_to_bsd_msghdr()
703 bhdr->msg_name = PTRIN(lhdr->msg_name); in linux_to_bsd_msghdr()
704 bhdr->msg_namelen = lhdr->msg_namelen; in linux_to_bsd_msghdr()
705 bhdr->msg_iov = PTRIN(lhdr->msg_iov); in linux_to_bsd_msghdr()
706 bhdr->msg_iovlen = lhdr->msg_iovlen; in linux_to_bsd_msghdr()
707 bhdr->msg_control = PTRIN(lhdr->msg_control); in linux_to_bsd_msghdr()
725 lhdr->msg_name = PTROUT(bhdr->msg_name); in bsd_to_linux_msghdr()
726 lhdr->msg_namelen = bhdr->msg_namelen; in bsd_to_linux_msghdr()
727 lhdr->msg_iov = PTROUT(bhdr->msg_iov); in bsd_to_linux_msghdr()
728 lhdr->msg_iovlen = bhdr->msg_iovlen; in bsd_to_linux_msghdr()
[all …]
/freebsd-14.2/sys/netgraph/
H A Dng_ppp.c1567 uint32_t lhdr; in ng_ppp_mp_recv() local
1577 lhdr = be32dec(mtod(m, void *)); in ng_ppp_mp_recv()
1578 frag->seq = MP_LONG_EXTEND(lhdr); in ng_ppp_mp_recv()
1579 frag->first = (lhdr & MP_LONG_FIRST_FLAG) != 0; in ng_ppp_mp_recv()
1580 frag->last = (lhdr & MP_LONG_LAST_FLAG) != 0; in ng_ppp_mp_recv()
2134 uint32_t lhdr; in ng_ppp_mp_xmit() local
2136 lhdr = seq; in ng_ppp_mp_xmit()
2139 lhdr |= MP_LONG_FIRST_FLAG; in ng_ppp_mp_xmit()
2141 lhdr |= MP_LONG_LAST_FLAG; in ng_ppp_mp_xmit()
2142 lhdr = htonl(lhdr); in ng_ppp_mp_xmit()
[all …]
/freebsd-14.2/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1765 char lhdr[80], chdr[80]; in report_stats() local
1777 (void) sprintf(lhdr, "%s%s", in report_stats()
1794 "cuml", "rcnt", rectype >= LS_TIME ? buf : "", lhdr, chdr); in report_stats()
1848 "cuml", "rcnt", buf, lhdr, chdr); in report_stats()
/freebsd-14.2/sys/dev/virtio/network/
H A Dif_vtnet.c2074 struct virtio_net_hdr lhdr, *hdr; in vtnet_rxq_eof() local
2150 lhdr.flags = hdr->flags; in vtnet_rxq_eof()
2151 lhdr.gso_type = hdr->gso_type; in vtnet_rxq_eof()
2152 lhdr.hdr_len = vtnet_htog16(sc, hdr->hdr_len); in vtnet_rxq_eof()
2153 lhdr.gso_size = vtnet_htog16(sc, hdr->gso_size); in vtnet_rxq_eof()
2154 lhdr.csum_start = vtnet_htog16(sc, hdr->csum_start); in vtnet_rxq_eof()
2155 lhdr.csum_offset = vtnet_htog16(sc, hdr->csum_offset); in vtnet_rxq_eof()
2172 vtnet_rxq_input(rxq, m, &lhdr); in vtnet_rxq_eof()
/freebsd-14.2/sys/dev/dc/
H A Dif_dc.c1750 struct dc_leaf_hdr *lhdr; in dc_parse_21143_srom() local
1757 lhdr = (struct dc_leaf_hdr *)&(sc->dc_srom[loff]); in dc_parse_21143_srom()
1759 ptr = (char *)lhdr; in dc_parse_21143_srom()
1764 for (i = 0; i < lhdr->dc_mcnt; i++) { in dc_parse_21143_srom()
1777 ptr = (char *)lhdr; in dc_parse_21143_srom()
1780 for (i = 0; i < lhdr->dc_mcnt; i++) { in dc_parse_21143_srom()