System and method for message handling in a network device
First Claim
1. A non-transitory computer readable medium storing executable instructions that when executed by a processor of a first device cause the processor to:
- receive, at a first processing layer implemented by the first device, a first message addressed, from a second device, to a first port, wherein the first message includes a first field including a destination port;
modify, by the first processing layer, the first message prior to forwarding the first message to a second processing layer implemented by the first device, wherein the destination port of the first field is replaced with an address of a second port taken from a second field of the first message such that the first message is addressed to the second port;
forward, by the first processing layer to the second processing layer, the first message including the modified destination port of the first field addressed to the second port, wherein an application polls the first message upon detecting that the first message includes the destination port with the address of the second port and the second processing layer does not read the first message received from the first processing layer;
receive, at the first processing layer implemented by the first device from the second processing layer implemented by the first device, a second message indicating a third port as a source port;
modify the source port indicated in the second message to a fourth port, wherein to modify the source port indicated in the second message to the fourth port, the processor is to overwrite and replace the address of the third port, and wherein the address of the fourth port is the address of message handler port of the second device; and
forward, by the first processing layer, the modified second message to the second device including the modified source port.
4 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure discloses a method and system for achieving enhanced performance for application message handling. The disclosed system includes a device and is configured to receive, at a first processing layer implemented by the device, a message addressed to a first port. The system is further configured to modify the message to be addressed to a second port indicated in a body of the message prior to forwarding the message to a second processing layer implemented by the device. Furthermore, the system is configured to forward, by the first processing layer to the second processing layer, the modified message addressed to the second port.
-
Citations
17 Claims
-
1. A non-transitory computer readable medium storing executable instructions that when executed by a processor of a first device cause the processor to:
-
receive, at a first processing layer implemented by the first device, a first message addressed, from a second device, to a first port, wherein the first message includes a first field including a destination port; modify, by the first processing layer, the first message prior to forwarding the first message to a second processing layer implemented by the first device, wherein the destination port of the first field is replaced with an address of a second port taken from a second field of the first message such that the first message is addressed to the second port; forward, by the first processing layer to the second processing layer, the first message including the modified destination port of the first field addressed to the second port, wherein an application polls the first message upon detecting that the first message includes the destination port with the address of the second port and the second processing layer does not read the first message received from the first processing layer; receive, at the first processing layer implemented by the first device from the second processing layer implemented by the first device, a second message indicating a third port as a source port; modify the source port indicated in the second message to a fourth port, wherein to modify the source port indicated in the second message to the fourth port, the processor is to overwrite and replace the address of the third port, and wherein the address of the fourth port is the address of message handler port of the second device; and forward, by the first processing layer, the modified second message to the second device including the modified source port. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A first device comprising:
-
a hardware processor; and a processor-readable memory on which is stored instructions that are to cause the hardware processor to; receive, at a first processing layer implemented by the first device, a first message addressed, from a second device, to a first port, wherein the first message includes a first field including a destination port, modify, by the first processing layer, the first message to be addressed to a second port of a second device prior to forwarding the first message to a second processing layer implemented by the first device, wherein the destination port of the first field is replaced with an address of a second port taken from a second field of the first message such that the first message is addressed to the second port; and forward, by the first processing layer to the second processing layer, the modified message of the first field addressed to the second port of the second device, wherein an application polls the first message upon detecting that the first message includes the destination port with the address of the second port and a message handler of the second processing layer does not read the first message addressed to the first port; receive, at the first processing layer implemented by the first device from the second processing layer implemented by the first device, a second message indicating a third port as a source port; modify the source port indicated in the second message to a fourth port, wherein to modify the source port indicated in the second message to the fourth port, the processor is to overwrite and replace the address of the third port, and wherein the address of the fourth port is the address of message handler port of the second device; and forward, by the first processing layer, the modified second message to the second device including the modified source port. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An article of manufacture having non-transitory computer readable storage media storing executable instructions thereon which when executed by a processor of a first-devices cause the processor to:
-
receive, at a first processing layer implemented by the first device, a first message addressed, from a second device, to a first port, wherein the first message includes a first field including a destination port; modify, by the first processing layer, the first message prior to forwarding the first message to a second processing layer implemented by the first device, wherein the destination port of the first field is replaced with an address of a second port taken from a second field of the first message such that the first message is addressed to the second port; forward, by the first processing layer to the second processing layer, the first message including the modified destination port of the first field addressed to the second port, wherein an application polls the first message upon detecting that the first message includes the destination port with the address of the second port and the second processing layer does not read the first message received from the first processing layer; receive, at the first processing layer implemented by the first device from the second processing layer implemented by the first device, a second message indicating a third port as a source port; modify the source port indicated in the second message to a fourth port, wherein to modify the source port indicated in the second message to the fourth port, the processor is to overwrite and replace the address of the third port, and wherein the address of the fourth port is the address of message handler port of the second device; and forward, by the first processing layer, the modified second message to the second device including the modified source port. - View Dependent Claims (16, 17)
-
Specification