[P4-dev] extern objects

Elena Gurevich (TRC) Elena.Gurevich at huawei.com
Wed Apr 26 09:10:02 EDT 2017

Hello all,

I would like to clarify an "extern" type usage.

Let's say I have some extern object declared by architecture and a package containing two control flows.

extern global_ext {...};

control c1() {...};
control c2() {...};

So how can I define extern type singleton with global visibility, that can be used by  both control flows ?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170426/abfa5c97/attachment-0002.html>

More information about the P4-dev mailing list