backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / lib / packet / in_proto.py
1 # Copyright (C) 2012 Nippon Telegraph and Telephone Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #    http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16
17 IPPROTO_IP = 0
18 IPPROTO_HOPOPTS = 0
19 IPPROTO_ICMP = 1
20 IPPROTO_IGMP = 2
21 IPPROTO_TCP = 6
22 IPPROTO_UDP = 17
23 IPPROTO_ROUTING = 43
24 IPPROTO_FRAGMENT = 44
25 IPPROTO_GRE = 47
26 IPPROTO_AH = 51
27 IPPROTO_ICMPV6 = 58
28 IPPROTO_NONE = 59
29 IPPROTO_DSTOPTS = 60
30 IPPROTO_OSPF = 89
31 IPPROTO_VRRP = 112
32 IPPROTO_SCTP = 132