Hi, I am declaring this in my KEXT extension: SYSCTL_STRUCT(_kern, OID_AUTO, aaaaaaa, CTLFLAG_RW|CTLFLAG_ANYBODY, &somo2, EtherNode, "EtherNode"); I was just wondering if I use sysctlbyname in my userland daemon and I grab that structure from my KEXT, is it also going to grab the chain of structures? so if my STRUCT is struct EtherNode { struct testing * next; int value; } struct EtherNode somo2; am I going to get the chain too? Same thing with setting the struct value. Well I have tested it a little bit, in my userland daemon I created a chain of these and passed it in, After I passed it in my KEXT noticed it was changed and the next was now not null, but the values in the next were not the sameones from my daemon, I don't think it is allowing me to pass chains in. Matt _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Matt Jaffa