CPC H04L 45/02 (2013.01) [H04L 45/54 (2013.01)] | 28 Claims |
28. A network communication apparatus, comprising:
a parsing unit configured to receive and parse a packet so as to acquire a destination host Internet Protocol address;
a determination unit configured to determine whether a route-neighbor table is enabled;
a query unit configured to, when the route-neighbor table is enabled, perform a single query on the route-neighbor table so as to acquire a physical address and a route type of a next hop route, wherein the route type comprises a local area network, wherein if a number of hosts in the local area network is countable, then the route-neighbor table stores Internet Protocol addresses, physical addresses, route information, and route types, wherein the route-neighbor table is a data structure that combines a routing table and a neighbor table into one table, and wherein information of the routing table and the neighbor table is stored in one data structure; and
a packet sending unit configured to send the packet according to the physical address and the route type.
|