25#ifndef SURICATA_APP_LAYER_HTP_XFF_H
26#define SURICATA_APP_LAYER_HTP_XFF_H
31#define XFF_EXTRADATA 2
33#define XFF_OVERWRITE 4
int HttpXFFGetIPFromTx(const Flow *f, uint64_t tx_id, HttpXFFCfg *xff_cfg, char *dstbuf, int dstbuflen)
Function to return XFF IP if any in the selected transaction. The caller needs to lock the flow.
int HttpXFFGetIP(const Flow *f, HttpXFFCfg *xff_cfg, char *dstbuf, int dstbuflen)
Function to return XFF IP if any. The caller needs to lock the flow.
void HttpXFFGetCfg(SCConfNode *conf, HttpXFFCfg *result)
Function to return XFF configuration from a configuration node.
void HTPXFFParserRegisterTests(void)
struct HttpXFFCfg_ HttpXFFCfg