随笔分类 -  p4

摘要:/* -*- P4_16 -*- */ #include <core.p4> #include <v1model.p4> /************************************************************************* ************** 阅读全文
posted @ 2022-05-18 17:03 gaoren 阅读(84) 评论(0) 推荐(0)
摘要:/* -*- P4_16 -*- */ #include <core.p4> #include <v1model.p4> /************************************************************************* ************** 阅读全文
posted @ 2022-05-18 16:28 gaoren 阅读(22) 评论(0) 推荐(0)
摘要:/* -*- P4_16 -*- */ #include <core.p4> #include <v1model.p4> /************************************************************************* ************** 阅读全文
posted @ 2022-05-18 16:18 gaoren 阅读(17) 评论(0) 推荐(0)
摘要:#include <core.p4> #include <v1model.p4> const bit<16> TYPE_IPV4 = 0x800; const bit<16> TYPE_VLAN = 0x8100; #define MAX_VLAN_TAG_NUM 2 const bit<16> L 阅读全文
posted @ 2022-05-16 19:12 gaoren 阅读(61) 评论(0) 推荐(0)