Home
last modified time | relevance | path

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

/freebsd/sys/compat/linux/
H A Dlinux_socket.c699 linux_to_bsd_msghdr(struct msghdr *bhdr, const struct l_msghdr *lhdr) in linux_to_bsd_msghdr() argument
701 if (lhdr->msg_controllen > INT_MAX) in linux_to_bsd_msghdr()
704 bhdr->msg_name = PTRIN(lhdr->msg_name); in linux_to_bsd_msghdr()
705 bhdr->msg_namelen = lhdr->msg_namelen; in linux_to_bsd_msghdr()
706 bhdr->msg_iov = PTRIN(lhdr->msg_iov); in linux_to_bsd_msghdr()
707 bhdr->msg_iovlen = lhdr->msg_iovlen; in linux_to_bsd_msghdr()
708 bhdr->msg_control = PTRIN(lhdr->msg_control); in linux_to_bsd_msghdr()
719 bhdr->msg_flags = linux_to_bsd_msg_flags(lhdr->msg_flags); in linux_to_bsd_msghdr()
724 bsd_to_linux_msghdr(const struct msghdr *bhdr, struct l_msghdr *lhdr) in bsd_to_linux_msghdr() argument
726 lhdr->msg_name = PTROUT(bhdr->msg_name); in bsd_to_linux_msghdr()
[all …]
/freebsd/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/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/sys/dev/virtio/network/
H A Dif_vtnet.c2065 struct virtio_net_hdr lhdr, *hdr; in vtnet_rxq_eof() local
2141 lhdr.flags = hdr->flags; in vtnet_rxq_eof()
2142 lhdr.gso_type = hdr->gso_type; in vtnet_rxq_eof()
2143 lhdr.hdr_len = vtnet_htog16(sc, hdr->hdr_len); in vtnet_rxq_eof()
2144 lhdr.gso_size = vtnet_htog16(sc, hdr->gso_size); in vtnet_rxq_eof()
2145 lhdr.csum_start = vtnet_htog16(sc, hdr->csum_start); in vtnet_rxq_eof()
2146 lhdr.csum_offset = vtnet_htog16(sc, hdr->csum_offset); in vtnet_rxq_eof()
2163 vtnet_rxq_input(rxq, m, &lhdr); in vtnet_rxq_eof()
/freebsd/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()