Theory L4_Protocol
theory L4_Protocol
imports "../Common/Lib_Enum_toString" "HOL-Library.Word"
begin
section‹Transport Layer Protocols›
type_synonym primitive_protocol = "8 word"
definition "ICMP ≡ 1 :: 8 word"
definition "TCP ≡ 6 :: 8 word"
definition "UDP ≡ 17 :: 8 word"
context begin
qualified definition "SCTP ≡ 132 :: 8 word"
qualified definition "IGMP ≡ 2 :: 8 word"
qualified definition "GRE ≡ 47 :: 8 word"
qualified definition "ESP ≡ 50 :: 8 word"
qualified definition "AH ≡ 51 :: 8 word"
qualified definition "IPv6ICMP ≡ 58 :: 8 word"
end