arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.07374cs.FLcs.NI
收藏

MatchKAT:匹配作用的代数基础

MatchKAT: An Algebraic Foundation For Match-Action

Xiang Long

摘要:

我们提出了MatchKAT,一个代数语言建模匹配行动的数据包处理网络交换机。虽然匹配动作范式仍然是一个流行的低层次的编程模型,指定数据包转发行为,很少有人做了正式的语义。通过MatchKAT,我们希望开始探索如何以可靠的代数方式正式推理编译为匹配动作规则的网络程序的第一步。在本文中,我们详细介绍了MatchKAT和它的元理论,以及一个正式的处理匹配表达式的二进制字符串,形成的基础上“匹配”的匹配行动。通过与NetKAT的通信,我们表明,MatchKAT的方程理论是健全的和完整的关于一个类似的数据包过滤语义。我们还证明了在MatchKAT中决定等价的复杂性是PSPACE完全的。

英文摘要:

We present MatchKAT, an algebraic language for modeling match-action packet processing in network switches. Although the match-action paradigm has remained a popular low-level programming model for specifying packet forwarding behavior, little has been done towards giving it formal semantics. With MatchKAT, we hope to embark on the first steps in exploring how network programs compiled to match-action rules can be reasoned about formally in a reliable, algebraic way. In this paper, we give details of MatchKAT and its metatheory, as well as a formal treatment of match expressions on binary strings that form the basis of "match" in match-action. Through a correspondence with NetKAT, we show that MatchKAT's equational theory is sound and complete with regards to a similar packet filtering semantics. We also demonstrate the complexity of deciding equivalence in MatchKAT is PSPACE-complete.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑