Home
last modified time | relevance | path

Searched refs:bhdr (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/libpcap/
H A Dsf-pcapng.c283 struct block_header bhdr; in read_block() local
290 status = read_bytes(fp, &bhdr, sizeof(bhdr), 0, errbuf); in read_block()
295 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
296 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block()
303 if (bhdr.total_length < sizeof(struct block_header) + in read_block()
307 bhdr.total_length, in read_block()
315 if ((bhdr.total_length % 4) != 0) { in read_block()
321 bhdr.total_length); in read_block()
328 if (p->bufsize < bhdr.total_length) { in read_block()
335 if (bhdr.total_length > ps->max_blocksize) { in read_block()
[all …]
/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
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()
727 lhdr->msg_namelen = bhdr->msg_namelen; in bsd_to_linux_msghdr()
[all …]
/freebsd/sys/contrib/openzfs/cmd/
H A Ddbufstat.in38 bhdr = ["pool", "objset", "object", "level", "blkid", "offset", "dbsize"]
626 hdr = bxhdr if xflag else bhdr