diff options
Diffstat (limited to 'include/internal/proto.h')
-rw-r--r-- | include/internal/proto.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/internal/proto.h b/include/internal/proto.h new file mode 100644 index 0000000..40e7bfe --- /dev/null +++ b/include/internal/proto.h @@ -0,0 +1,19 @@ +#ifndef _NFCT_PROTO_H_ +#define _NFCT_PROTO_H_ + +#include <stdint.h> +#include <linux/icmp.h> +#include <linux/icmpv6.h> + +#ifndef ICMPV6_NI_QUERY +#define ICMPV6_NI_QUERY 139 +#endif + +#ifndef ICMPV6_NI_REPLY +#define ICMPV6_NI_REPLY 140 +#endif + +uint8_t __icmp_reply_type(uint8_t type); +uint8_t __icmpv6_reply_type(uint8_t type); + +#endif |