ROFL-pipeline  v0.6.0dev
ipv6_exthdr.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef __IPV6_EXTHDR_H__
6 #define __IPV6_EXTHDR_H__
7 
8 enum ipv6_exthdr_flags {
9  IPV6_EH_NONEXT = 1 << 0,/* "No next header" encountered. */
10  IPV6_EH_ESP= 1 << 1,/* Encrypted Sec Payload header present. */
11  IPV6_EH_AUTH= 1 << 2,/* Authentication header present. */
12  IPV6_EH_DEST= 1 << 3,/* 1 or 2 dest headers present. */
13  IPV6_EH_FRAG= 1 << 4,/* Fragment header present. */
14  IPV6_EH_ROUTER = 1 << 5,/* Router header present. */
15  IPV6_EH_HOP = 1 << 6,/* Hop-by-hop header present. */
16  IPV6_EH_UNREP = 1 << 7,/* Unexpected repeats encountered. */
17  IPV6_EH_UNSEQ = 1 << 8,/* Unexpected sequencing encountered. */
18 };
19 
20 
21 #endif // __IPV6_EXTHDR_H__