diff options
Diffstat (limited to 'vnet/vnet/lisp-gpe/lisp_gpe_packet.h')
-rw-r--r-- | vnet/vnet/lisp-gpe/lisp_gpe_packet.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/vnet/vnet/lisp-gpe/lisp_gpe_packet.h b/vnet/vnet/lisp-gpe/lisp_gpe_packet.h index b3d96ed9d44..360157b700c 100644 --- a/vnet/vnet/lisp-gpe/lisp_gpe_packet.h +++ b/vnet/vnet/lisp-gpe/lisp_gpe_packet.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Cisco and/or its affiliates. + * Copyright (c) 2016 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef included_lisp_gpe_packet_h #define included_lisp_gpe_packet_h @@ -120,4 +121,13 @@ foreach_lisp_gpe_flag_bit #define LISP_GPE_NEXT_PROTOCOL_ETHERNET 0x3 #define LISP_GPE_NEXT_PROTOCOL_NSH 0x4 +typedef enum +{ + LISP_GPE_NEXT_PROTO_IP4 = 1, + LISP_GPE_NEXT_PROTO_IP6, + LISP_GPE_NEXT_PROTO_ETHERNET, + LISP_GPE_NEXT_PROTO_NSH, + LISP_GPE_NEXT_PROTOS +} lisp_gpe_next_protocol_e; + #endif /* included_lisp_gpe_packet_h */ |