1. A method for efficient matching for content-based addressing, the method comprising: accepting, at a receiver machine, a query, wherein the query comprises one or more fields and one or more values, wherein the one or more fields are associated with a category of content, and wherein the one or more values are associated with a particular type of content; generating, at the receiver machine, a tree structure ordered by the one or more fields of the query, wherein the tree structure comprises one or more tree nodes and the one or more tree nodes comprise one or more query nodes; analyzing, at the receiver machine, a message from the sender machine, wherein the message comprises a content field associated with a content value; searching, by the receiver machine, the tree structure using the content field of the message; determining, by the receiver machine, if the content value of the message matches a content value of the query stored in the tree structure; and accepting, by the receiver machine, the message if the content value of the message matches one or more content values of the query.