// common externs
extern void truncate(in bit<32> length);
extern void resubmit
extern void recirculate
Copyright By PowCoder代写 加微信 powcoder
enum CloneType { I2E, E2I }
extern void clone(in CloneType type,
in bit<32> session);
// v1model pipeline elements
parser Parser
packet_in pkt,
out H hdr,
inout M meta,
inout standard_metadata_t std_meta
control VerifyChecksum
inout H hdr,
inout M meta
control Ingress
inout H hdr,
inout M meta,
inout standard_metadata_t std_meta
control Egress
inout H hdr,
inout M meta,
inout standard_metadata_t std_meta
control ComputeChecksum
inout H hdr,
inout M meta
control Deparser
packet_out b, in H hdr
// v1model switch
package V1Switch
Parser
VerifyChecksum
Ingress
Egress
ComputeChecksum
Deparser
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com