Hi,

I'd like to get values from the struct sockaddr_in which is passed to accept . 
At the time of entry this struct has still no values. How could I access the 
struct at return? The usage of arg0 seems useless, as this is a new 
filedesriptor. Does the copyin at entry make sense at all?

fbt:sockfs:accept:entry
{
   newsock = (struct sockaddr_in*)copyin(arg1, arg2); */
}


fbt:sockfs:accept:return
{
  /* ???  */
}


thank you,

goinsane

Message was edited by: goinsane
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org
  • [dtrace-discus... goinsane

Reply via email to