proto_ipv6_mobility_hdr.h: Headerfixing
[netsniff-ng.git] / src / proto_ipv6_in_ipv4.h
blobef1d86201e1c34c0508daafca17189036751ab93
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2012 Markus Amend <markus@netsniff-ng.org>
4 * Subject to the GPL, version 2.
6 * IPv6 in IPv4 encapsulation described in RFC3056
7 */
9 #ifndef PROTO_IP6_IN_IP4_H
10 #define PROTO_IP6_IN_IP4_H
12 #include <stdio.h>
13 #include <stdint.h>
14 #include <netinet/in.h> /* for ntohs() */
16 #include "proto_struct.h"
17 #include "dissector_eth.h"
19 struct protocol ipv6_in_ipv4_ops = {
20 .key = 0x29,
21 .print_full = ipv6,
22 .print_less = ipv6_less,
23 .proto_next = ipv6_next,
26 #endif /* PROTO_IP6_IN_IP4_H */