Methods and apparatuses for routing and forwarding, establishing routing table, and acquiring content
摘要:
Methods and apparatuses for routing and forwarding, establishing a routing table, and acquiring content are provided. The method for routing and forwarding includes: receiving a content request packet, where the content request packet carries a content name of requested content and container information of the requested content; determining whether any forwarding entry that matches the content name of the requested content exists in a FIB; determining whether any forwarding entry that matches the container identifier in the container information exists in the FIB when no forwarding entry that matches the content name of the requested content exists in the FIB; and when a forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB, sending the content request packet according to a port in the matched forwarding entry.
信息查询
0/0