You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reading pna.p4 I noticed that drop_packet() extern function is not defined in the spec itself. This has to be an oversight. It is referenced in the spec once: The effects of mirror_packet() calls are independent of calls to drop_packet() and send_to_port(). But never defined what it does and what it can do.
The header file has:
// The following extern functions are "forwarding" functions -- they
// all set the destination of the packet. Calling one of them
// overwrites and replaces the effect of any earlier call to any of
// the functions in this set. Only the last one executed will
// actually take effect for the packet.
// + drop_packet
// + send_to_port
// drop_packet() - Cause the packet to be dropped when it finishes
// completing the main control.
//
// Invoking drop_packet() is supported only within the main control.
extern void drop_packet();
The text was updated successfully, but these errors were encountered:
While reading pna.p4 I noticed that drop_packet() extern function is not defined in the spec itself. This has to be an oversight. It is referenced in the spec once:
The effects of mirror_packet() calls are independent of calls to drop_packet() and send_to_port().
But never defined what it does and what it can do.The header file has:
The text was updated successfully, but these errors were encountered: