×

Access control based on range-matching

  • US 10,397,116 B1
  • Filed: 05/05/2017
  • Issued: 08/27/2019
  • Est. Priority Date: 05/05/2017
  • Status: Active Grant
First Claim
Patent Images

1. A network device, comprising:

  • a register memory storing indications of a range of values;

    a content-addressable memory (CAM) comprising a plurality of portions, each portion comprising one or more access control entries;

    memory storing actions to take on network packets;

    key assembler circuitry coupled to the register memory and the CAM, the key assembler circuitry configured to;

    receive data for a network packet received by the network device, the data including fields;

    determine that a value of a first one of the fields is within a first numerical range;

    generate a compare key including a first field corresponding to the first numerical range and a second field corresponding to a second numerical range, a first value stored in the first field indicating that the value is within the first numerical range and a second value stored in the second field indicating that the value is not within the second numerical range, the compare key having a pre-determined size; and

    provide, to the CAM, the compare key to search for an access control entry in a number of portions of the plurality of portions of the CAM, the number of portions being based on the size of the compare key; and

    action control circuitry coupled to the CAM and the memory storing actions, the action control circuitry configured to;

    receive, from the CAM, an address of the access control entry found using the compare key;

    select, using the access control entry, from the memory, one of the actions to perform on the network packet; and

    perform the selected action on the network packet.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×