>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.

You also need to make sure that the sequence number is "1".  At least,
that's the algorithm I used for the code in tcpdump, and it seems to
work fairly well.

--Ken
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to