include docker repos

... skip emobility since it is a dev repo
This commit is contained in:
Marco Ochse
2017-10-13 18:58:14 +00:00
parent f1ada16414
commit 0d5d80b1e3
152 changed files with 22265 additions and 0 deletions

41
docker/p0f/readfp.h Normal file
View File

@ -0,0 +1,41 @@
/*
p0f - p0f.fp file parser
------------------------
Copyright (C) 2012 by Michal Zalewski <lcamtuf@coredump.cx>
Distributed under the terms and conditions of GNU LGPL.
*/
#ifndef _HAVE_READFP_H
#define _HAVE_READFP_H
#include "types.h"
/* List of fingerprinting modules: */
#define CF_MOD_TCP 0x00 /* fp_tcp.c */
#define CF_MOD_MTU 0x01 /* fp_mtu.c */
#define CF_MOD_HTTP 0x02 /* fp_http.c */
/* Parser states: */
#define CF_NEED_SECT 0x00 /* Waiting for [...] or 'classes' */
#define CF_NEED_LABEL 0x01 /* Waiting for 'label' */
#define CF_NEED_SYS 0x02 /* Waiting for 'sys' */
#define CF_NEED_SIG 0x03 /* Waiting for signatures, if any. */
/* Flag to distinguish OS class and name IDs */
#define SYS_CLASS_FLAG (1<<31)
#define SYS_NF(_x) ((_x) & ~SYS_CLASS_FLAG)
extern u8** fp_os_classes;
extern u8** fp_os_names;
void read_config(u8* fname);
u32 lookup_name_id(u8* name, u8 len);
#endif /* !_HAVE_READFP_H */