1. A computing device for access control, the computing device comprising: an access control module to (i) parse a network packet received by the computing device to identify an n-tuple of a header of the network packet, wherein the n-tuple is associated with one or more access control rules, (ii) determine a bitmask associated with an access control rule of a virtual machine of the computing device from the one or more access rules, wherein the bitmask comprises a bit-level bitmask of a transition byte of at least one of a source internet protocol address field or the destination internet protocol address field of the header of the network packet and the transition byte is associated with a subnet of the corresponding internet protocol address (iii) apply the determined bitmask to the n-tuple of the network packet to generate a masked n-tuple, (iv) generate a hash of the masked n-tuple, and (v) compare the generated hash to a reference hash associated with the access control rule to identify a match; and a rule execution module to perform an access control action in response to identification of a match between the generated hash and the reference hash.