On Feb 01, 2007 08:58 +0100, Donadini Thibault wrote: > I have to develop a plugin of Lustre for WireShark ( new Ethereal ). > I ve seen that someone has already tried to write a plugin for Ethereal, > but long time ago. > > Does someone try to use or update it ?
The lustre tcpdump code is the closest thing we have to such a plugin. It is so old that I'm not sure it would be useful. > Does someone have good informations about Lustre Protocol ? All of the Lustre wire protocl structs are declared in lustre_idl.h. This should be usable from userspace programs. I don't know offhand where the LND wire protocols are declared, but I suspect they have a similar file. What's next is how these structs are put together. The main Lustre RPC data struct is the lustre_msg, and each message can have 0 or more buffers in it. The buffers contain the parts of the Lustre request or reply. There will normally be either an ldlm_request (for lock requests), an mds_body (for MDS requests, or following a lock request), or an obdo (for OST requests) at the start of each message. The type of struct is determined by the lustre_msg.opc field, and details can be found in the source code (mdc_request.c, mdc_lock.c, osc_request.c), anywhere it does ptlrpc_prep_req(). The "size" array tells you which structs are packed, and in what order. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
