CPC H04L 47/2458 (2013.01) [H04L 45/02 (2013.01); H04L 45/20 (2013.01); H04L 45/566 (2013.01); H04L 47/2441 (2013.01); H04L 47/32 (2013.01); H04L 47/76 (2013.01); H04L 49/3009 (2013.01); H04L 67/12 (2013.01); H04L 69/22 (2013.01); H04L 45/036 (2022.05); H04L 45/037 (2022.05); H04L 45/0377 (2022.05); H04L 45/08 (2013.01); H04L 47/2483 (2013.01); H04L 47/35 (2013.01)] | 30 Claims |
11. A method comprising:
receiving, at a receiver in a network device, a data flow including a data packet, the data packet including a conditional command block located between a data link header and a transport header of the data packet, the conditional command block comprising a conditional instruction set header indicating a number of conditional command fields in the conditional command block, each conditional command field comprising at least one command and at least one condition;
obtaining, by a processor in the network device, a command from a conditional command field;
obtaining, by the processor, a condition from the conditional command field, the condition indicates an item that must be satisfied before the command is executed such that the command is ignored when the condition is not satisfied;
determining, by the processor, that the condition is satisfied; and
based on the determination that the condition is satisfied, executing, by the processor, the command.
|