LCOV - code coverage report
Current view: top level - vnet/ip - protocols.def (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 142 142 100.0 %
Date: 2023-07-05 22:20:52 Functions: 0 0 -

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2015 Cisco and/or its affiliates.
       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 implied.
      12             :  * See the License for the specific language governing permissions and
      13             :  * limitations under the License.
      14             :  */
      15             : /* Emacs editing mode -*-C-*-
      16             : 
      17             : From http://www.iana.org/assignments/protocol-numbers
      18             : 
      19             : PROTOCOL NUMBERS
      20             : 
      21             : (last updated 18 October 2004)
      22             : 
      23             : In the Internet Protocol version 4 (IPv4) [RFC791] there is a field,
      24             : called "Protocol", to identify the next level protocol.  This is an 8
      25             : bit field.  In Internet Protocol version 6 (IPv6) [RFC1883] this field
      26             : is called the "Next Header" field.
      27             : */
      28         559 : ip_protocol (0, IP6_HOP_BY_HOP_OPTIONS)
      29         559 : ip_protocol (1, ICMP)
      30         559 : ip_protocol (2, IGMP)
      31         559 : ip_protocol (3, GGP)
      32         559 : ip_protocol (4, IP_IN_IP)
      33         559 : ip_protocol (5, ST)
      34         577 : ip_protocol (6, TCP)
      35         559 : ip_protocol (7, CBT)
      36         559 : ip_protocol (8, EGP)
      37         559 : ip_protocol (9, IGP)
      38         559 : ip_protocol (10, BBN_RCC_MON)
      39         559 : ip_protocol (11, NVP_II)
      40         559 : ip_protocol (12, PUP)
      41         559 : ip_protocol (13, ARGUS)
      42         559 : ip_protocol (14, EMCON)
      43         559 : ip_protocol (15, XNET)
      44         559 : ip_protocol (16, CHAOS)
      45         654 : ip_protocol (17, UDP)
      46         559 : ip_protocol (18, MUX)
      47         559 : ip_protocol (19, DCN_MEAS)
      48         559 : ip_protocol (20, HMP)
      49         559 : ip_protocol (21, PRM)
      50         559 : ip_protocol (22, XNS_IDP)
      51         559 : ip_protocol (23, TRUNK_1)
      52         559 : ip_protocol (24, TRUNK_2)
      53         559 : ip_protocol (25, LEAF_1)
      54         559 : ip_protocol (26, LEAF_2)
      55         559 : ip_protocol (27, RDP)
      56         559 : ip_protocol (28, IRTP)
      57         559 : ip_protocol (29, ISO_TP4)
      58         559 : ip_protocol (30, NETBLT)
      59         559 : ip_protocol (31, MFE_NSP)
      60         559 : ip_protocol (32, MERIT_INP)
      61         559 : ip_protocol (33, SEP)
      62         559 : ip_protocol (34, 3PC)
      63         559 : ip_protocol (35, IDPR)
      64         559 : ip_protocol (36, XTP)
      65         559 : ip_protocol (37, DDP)
      66         559 : ip_protocol (38, IDPR_CMTP)
      67         559 : ip_protocol (39, TP)
      68         559 : ip_protocol (40, IL)
      69         559 : ip_protocol (41, IPV6)
      70         559 : ip_protocol (42, SDRP)
      71         559 : ip_protocol (43, IPV6_ROUTE)
      72         559 : ip_protocol (44, IPV6_FRAGMENTATION)
      73         559 : ip_protocol (45, IDRP)
      74         559 : ip_protocol (46, RSVP)
      75         559 : ip_protocol (47, GRE)
      76         559 : ip_protocol (48, MHRP)
      77         559 : ip_protocol (49, BNA)
      78         559 : ip_protocol (50, IPSEC_ESP)
      79         559 : ip_protocol (51, IPSEC_AH)
      80         559 : ip_protocol (52, I_NLSP)
      81         559 : ip_protocol (53, SWIPE)
      82         559 : ip_protocol (54, NARP)
      83         559 : ip_protocol (55, MOBILE)
      84         559 : ip_protocol (56, TLSP)
      85         559 : ip_protocol (57, SKIP)
      86         559 : ip_protocol (58, ICMP6)
      87         559 : ip_protocol (59, IP6_NONXT)
      88         559 : ip_protocol (60, IP6_DESTINATION_OPTIONS)
      89         559 : ip_protocol (62, CFTP)
      90         559 : ip_protocol (64, SAT_EXPAK)
      91         559 : ip_protocol (65, KRYPTOLAN)
      92         559 : ip_protocol (66, RVD)
      93         559 : ip_protocol (67, IPPC)
      94         559 : ip_protocol (69, SAT_MON)
      95         559 : ip_protocol (70, VISA)
      96         559 : ip_protocol (71, IPCV)
      97         559 : ip_protocol (72, CPNX)
      98         559 : ip_protocol (73, CPHB)
      99         559 : ip_protocol (74, WSN)
     100         559 : ip_protocol (75, PVP)
     101         559 : ip_protocol (76, BR_SAT_MON)
     102         559 : ip_protocol (77, SUN_ND)
     103         559 : ip_protocol (78, WB_MON)
     104         559 : ip_protocol (79, WB_EXPAK)
     105         559 : ip_protocol (80, ISO_IP)
     106         559 : ip_protocol (81, VMTP)
     107         559 : ip_protocol (82, SECURE_VMTP)
     108         559 : ip_protocol (83, VINES)
     109         559 : ip_protocol (84, TTP)
     110         559 : ip_protocol (85, NSFNET_IGP)
     111         559 : ip_protocol (86, DGP)
     112         559 : ip_protocol (87, TCF)
     113         564 : ip_protocol (88, EIGRP)
     114         567 : ip_protocol (89, OSPF)
     115         559 : ip_protocol (90, SPRITE_RPC)
     116         559 : ip_protocol (91, LARP)
     117         559 : ip_protocol (92, MTP)
     118         559 : ip_protocol (93, AX)
     119         559 : ip_protocol (94, IPIP)
     120         559 : ip_protocol (95, MICP)
     121         559 : ip_protocol (96, SCC_SP)
     122         559 : ip_protocol (97, ETHERIP)
     123         559 : ip_protocol (98, ENCAP)
     124         559 : ip_protocol (100, GMTP)
     125         559 : ip_protocol (101, IFMP)
     126         559 : ip_protocol (102, PNNI)
     127         559 : ip_protocol (103, PIM)
     128         559 : ip_protocol (104, ARIS)
     129         559 : ip_protocol (105, SCPS)
     130         559 : ip_protocol (106, QNX)
     131         559 : ip_protocol (107, A)
     132         559 : ip_protocol (108, IPCOMP)
     133         559 : ip_protocol (109, SNP)
     134         559 : ip_protocol (110, COMPAQ_PEER)
     135         559 : ip_protocol (111, IPX_IN_IP)
     136         559 : ip_protocol (112, VRRP)
     137         559 : ip_protocol (113, PGM)
     138         559 : ip_protocol (115, L2TP)
     139         559 : ip_protocol (116, DDX)
     140         559 : ip_protocol (117, IATP)
     141         559 : ip_protocol (118, STP)
     142         559 : ip_protocol (119, SRP)
     143         559 : ip_protocol (120, UTI)
     144         559 : ip_protocol (121, SMP)
     145         559 : ip_protocol (122, SM)
     146         559 : ip_protocol (123, PTP)
     147         559 : ip_protocol (124, ISIS)
     148         559 : ip_protocol (125, FIRE)
     149         559 : ip_protocol (126, CRTP)
     150         559 : ip_protocol (127, CRUDP)
     151         559 : ip_protocol (128, SSCOPMCE)
     152         559 : ip_protocol (129, IPLT)
     153         559 : ip_protocol (130, SPS)
     154         559 : ip_protocol (131, PIPE)
     155         559 : ip_protocol (132, SCTP)
     156         559 : ip_protocol (133, FC)
     157         559 : ip_protocol (134, RSVP_E2E_IGNORE)
     158         559 : ip_protocol (135, MOBILITY)
     159         559 : ip_protocol (136, UDP_LITE)
     160         559 : ip_protocol (137, MPLS_IN_IP)
     161         559 : ip_protocol (138, MANET)
     162         559 : ip_protocol (139, HIP)
     163         559 : ip_protocol (140, SHIM6)
     164         559 : ip_protocol (141, WESP)
     165         559 : ip_protocol (142, ROHC)
     166         559 : ip_protocol (143, IP6_ETHERNET)
     167             : 
     168             : /* unassigned 144 - 252 */
     169             : 
     170         559 : ip_protocol (253, EXP1)
     171         559 : ip_protocol (254, EXP2)
     172         559 : ip_protocol (255, RESERVED)
     173             : 

Generated by: LCOV version 1.14