CPC H04L 45/586 (2013.01) | 5 Claims |
5. A non-transitory computer-readable recording medium storing an information processing program for causing a computer to execute processing of a virtual router, the computer including a memory, a network interface circuit, and hardware processor circuitry coupled to the memory and the network interface circuit, the processing comprising:
operating, by the computer, the hardware processor circuitry as a memory circuit configured to search for information stored in the memory;
operating, by the computer, the hardware processor circuitry as a requester, the requester being configured to issue a plurality of requests for search to the memory circuit, the issuing of the plurality of requests including issuing, in response to receiving packet information with respect to a packet received from an external device, a request for an action search to inquire information regarding the action to be executed on each packet, each of the plurality of requests being a request for the action search and including the packet information with respect to the packet; and
operating, by the computer, the hardware processor circuitry as a controller coupled to the memory circuit and the requester, the controller being configured to perform processing including:
receiving, as an input, each request of the plurality of requests issued from the requester,
in response to the receiving of the request, storing order information indicating an input order of the received request among the plurality of requests,
determining whether to make the memory circuit perform the action search using the request, the determining including determining that the memory circuit is not made to perform the action search using the request in a case where the packet information included in the received request satisfies a predetermined requirement and determining that the memory circuit is made to perform the action search using the request in a case where the packet information included in the received request does not satisfy a predetermined requirement, the predetermined requirement including a requirement to identify the packet for which the action search is unnecessary,
in response to the determining that the memory circuit is not made to perform the action search using the request:
creating a predetermined response that is a dummy response including a predetermined value, and
returning, as a response of the memory circuit for the request, the predetermined response for the request to the requester at timing corresponding to the input order of the request among the plurality of requests, based on the order information, and
in response to the determining that the memory circuit is made to perform the action search using the request:
obtain a response from the memory circuit by causing the memory circuit to perform the action search using the request for the action search, and
return, as the response of the memory circuit for the request, the response obtained from the memory circuit to the requester at timing corresponding to the input order of the request among the plurality of requests, based on the order information.
|