[P4-dev] Some questions about the architecture declarationP4_16language .

ding.rui at zte.com.cn ding.rui at zte.com.cn
Mon Oct 23 20:54:48 EDT 2017


VGhhbmsgeW91IGZvciB5b3VyIHJlcGx5Lg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0K
DQoNCg0KDQrljp/lp4vpgq7ku7YNCg0KDQoNCuWPkeS7tuS6uu+8miA8bWJ1ZGl1QHZtd2FyZS5j
b20+Ow0K5pS25Lu25Lq677yaIDxtYnVkaXVAdm13YXJlLmNvbT475LiB55GeMTAxMDY1OTE7IDx2
bGFkaW1pci5ndXJldmljaEBiYXJlZm9vdG5ldHdvcmtzLmNvbT47DQrmioTpgIHkurrvvJogPHA0
LWRldkBsaXN0cy5wNC5vcmc+Ow0K5pelIOacnyDvvJoyMDE35bm0MTDmnIgyM+aXpSAyMzo0OA0K
5Li7IOmimCDvvJpSRTogW1A0LWRldl0gU29tZSBxdWVzdGlvbnMgYWJvdXQgdGhlIGFyY2hpdGVj
dHVyZSBkZWNsYXJhdGlvblA0XzE2bGFuZ3VhZ2UgLg0KDQoNCg0KDQoNCg0KDQoNCkkgYXBvbG9n
aXplIGZvciB0aGUgYWRkaXRpb25hbCByZXBseSwgdGhlIGFuc3dlciB0byB0aGUgcXVlc3Rpb24g
MSBpcyDigJxpZGVhbGx5IHllc+KAnS4gVGhlIFA0LTE0IGxhbmd1YWdlIHNob3VsZCBzdG9wIGV2
b2x2aW5nLiBJbiBmYWN0LCBQNC0xNiBzaG91bGQgbm90IGNoYW5nZSAgZWl0aGVyLCB3ZSBzaG91
bGQgcGVyaGFwcyBoYXZlIGEgbmV3IGxhbmd1YWdlIFA0LTE4IG9yIHNvbWV0aGluZyBzaW1pbGFy
LiBFYWNoIHZlcnNpb24gc2hvdWxkIGJlIGZyb3plbiBvbmNlIGFkb3B0ZWQuDQoNCg0KIA0KDQoN
Cg0KRnJvbTogUDQtZGV2IFttYWlsdG86cDQtZGV2LWJvdW5jZXNAbGlzdHMucD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ICAgICAgICAgICAgICAgICAgICBwYWNrZXRfb3V0IGIpOyAgICAgICAgICAgICAgIA0KDQozKSBI
b3cgdG8gdW5kZXJzdGFuZCB0aGUgZXh0ZXJuIG9iamVjdHMgaW4gUDRfMTYsIEknbSBhIGxpdHRs
ZSBjb25mdXNlZC4gSXMgaXQgYSBmdW5jdGlvbmFsIHVuaXQgcGh5c2ljYWxseT8NCg0KIA0KDQog
DQoNCiANCg0KIA0KDQogDQoNCg0KDQoNCiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXw0KIFA0LWRldiBtYWlsaW5nIGxpc3QNCiBQNC1kZXZAbGlzdHMucDQu
b3JnDQogaHR0cDovL2xpc3RzLnA0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3A0LWRldl9saXN0cy5w
NC5vcmcNCg0KDQoNCg0KIA0KIC0tDQoNCg0KVmxhZGltaXIgR3VyZXZpY2gNCg0KDQoNCiANCg0K
DQpCYXJlZm9vdCBOZXR3b3Jrcw0KDQoNCg0KVGVjaG5pY2FsIExlYWQsIEN1c3RvbWVyIEVuZ2lu
ZWVyaW5nDQoNCg0KDQpFbWFpbDogdmFnQGJhcmVmb290bmV0d29ya3MuY29tDQoNCg0KDQpQaG9u
ZTogKDQwOCkgODMzLTQ1MDU=

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20171024/d950c488/attachment-0002.html>


More information about the P4-dev mailing list