[OpenAFS-devel] When is it an AFS operation?

Andrew J Klosterman andrew5@andrew.cmu.edu
Wed, 24 Oct 2001 14:21:57 -0400 (EDT)


How can one determine, by looking at the Rx header in a packet, if the
payload (AFS portion of the packet) contains an operation and its args?

My inclination, so far, is to say:

    If the packet is of Rx type RX_PACKET_TYPE_DATA and has the
    RX_CLIENT_INITIATED flag set, then it contains an operation and args.

And to relegate all other packets to a bin where I believe that they do
not contain operations and arguments.

Are my assumptions and analysis correct?  Am I missing some (critical)
piece of information in the Rx header or state in the Rx connection or
call that is necessary to make the determination?

--Andrew J. Klosterman
andrew5@andrew.cmu.edu
http://www.ece.cmu.edu/~andrew5