Date: Tue, 22 Mar 2016 10:15:55 -0700 From: hiren panchasara <hiren@strugglingcoder.info> To: freebsd-dtrace@FreeBSD.org Subject: Probing sooptcopyin() Message-ID: <20160322171555.GN74217@strugglingcoder.info>
next in thread | raw e-mail | index | archive | help
--sy9WyBOsCRoUO165 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I find sooptcopyin() failing and want to see how.=20 Prototype is int sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t minlen) sopt->sopt_val seems to be the value passed in. But that being void * type, I am not sure how to read it on fbt::sooptcopyin:entry invocation. I've tried to cast it in a few ways without success along with copyinstr/stringof. Any pointers? Cheers, Hiren --sy9WyBOsCRoUO165 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJW8X3IXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lD7MH/A1Y+05p75lsNGUqHir/LY76 fhYJsgFldVI+8CpWQ7vt8e5R7JT612fGLvNBrDWJ5GzX7coM+pkps+izv9KqYJO8 E09HhlmV7JLrtswbW6fV3R5iA5rBU7+G33A35LzYy/mh38d4W8WnsOLU9EUXAO/T iGlcY7WYAXpTYeskqsn3djGgGpGEntcjx8m0oJCdRv7m6V1Gyg7EjG4ZNX5J1qHV 5SY3L81jfF7DxAV+ZXAWZEE4w5KNnrtn2v2QGS62mWTYZWERkZKVnzZAnLDwbHQW mLFXirrS4UYknwcYKsgJx2KqKQsKa96TEqdhwUunD65e8CgUbeH4sSMFcu4PnrI= =zaYr -----END PGP SIGNATURE----- --sy9WyBOsCRoUO165--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160322171555.GN74217>
