Changed bool to enum for {send,recv}_result fields