×

MAC address table search unit

  • US 5,914,938 A
  • Filed: 11/19/1996
  • Issued: 06/22/1999
  • Est. Priority Date: 11/19/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer assisted method of locating an entry in a table stored in a computer readable medium, comprising the steps of:

  • (a) generating a search key having a first number of bits, wherein said search key comprises a virtual LAN identification (VLAN ID) and a media access control (MAC) address;

    (b) applying a universal hash function to said search key to generate a bucket ID having a second number of bits less than said first number of bits, by(i) segmenting said search key into a plurality of segments, each of said segments having an equal number of bits;

    (ii) multiplying each of said segments by a corresponding segment of a hash coefficient to create a series of products;

    (iii) summing said series of products to create a sum; and

    (iv) performing a MOD operation with said sum and a prime number to generate said bucket ID;

    (c) addressing a table stored in said computer readable medium using said bucket ID to obtain a pointer;

    (d) indexing a hash bucket using said pointer; and

    (e) comparing a first entry in said hash bucket to said search key to determine whether said first entry matches said search key.

View all claims
  • 12 Assignments
Timeline View
Assignment View
    ×
    ×