

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















(Packet buffer)
(Routing table)
Co-processor
Input ports Output ports
Bus Bus
Network Architecture and Applications
Application
Pre.
Session
Transport
Network
Data Link
Physical
Application
Host-to-Net
Source Port Destination Port
Sequence Number
Acknowledgement Number
Header Length and Options Window Size
Checksum Urgent Pointer
Options (0 or more 32-bit words)
Preamble D. Add. S. Add. Leng. CRC
Network Processor Applications
access control checking, denial-of-service
Trie-based Routing Table Lookup
rt_ptr trie_ptr
Next hop 1
0
15
Next hop 2
Next hop 3 Next hop 4
Prefix Netmask Next hop 0010 0xF 1 0001,0011 0xFF 2 1110,1110 0xFF 2 0001,0011,0000 0xFFF 3 0001,0011,1111,111 0xFFFE 4
Trie block
Example
rt_ptr trie_ptr
Next hop 1
0
15
Next hop 2
Next hop 3 Next hop 4
Prefix Netmask Next hop 0010 0xF 1 0001,0011 0xFF 2 1110,1110 0xFF 2 0001,0011,0000 0xFFF 3 0001,0011,1111,111 0xFFFE 4
Packet destination IP address =0x13fe (0001,0011,1111,1110,…)
Multi-way multi-column search
k3 k
k1 k2 k4 k5 k7 k
W/M words