Searched refs:xffFields (Results 1 – 4 of 4) sorted by relevance
90 char** xffFields; in getXffFields() local93 xffFields = _dpd.getHttpXffFields(&thirdpartyConfig.numXffFields); in getXffFields()94 if (!xffFields) in getXffFields()96 xffFields = defaultXffFields; in getXffFields()99 thirdpartyConfig.xffFields = malloc(thirdpartyConfig.numXffFields * sizeof(char*)); in getXffFields()100 if(!thirdpartyConfig.xffFields) in getXffFields()105 thirdpartyConfig.xffFields[i] = strndup(xffFields[i], UINT8_MAX); in getXffFields()184 thirdpartyConfig.oldXffFields = thirdpartyConfig.xffFields; in ThirdPartyAppIDReconfigure()213 free(thirdpartyConfig.xffFields[i]); in ThirdPartyAppIDFini()214 free(thirdpartyConfig.xffFields); in ThirdPartyAppIDFini()
44 char** xffFields; member
168 char** xffFields = NULL; variable573 oldXffFields = xffFields; in HttpInspectCleanExit()747 if (!xffFields) in HttpInspectInit()749 xffFields = SnortPreprocAlloc(1, HTTP_MAX_XFF_FIELDS * sizeof(char *), in HttpInspectInit()751 if (xffFields == NULL) in HttpInspectInit()1758 oldXffFields = xffFields; in _HttpInspectReload()1759 xffFields = SnortPreprocAlloc(1, HTTP_MAX_XFF_FIELDS * sizeof(char *), in _HttpInspectReload()1761 if (xffFields == NULL) in _HttpInspectReload()
118 extern char** xffFields;1864 if (!xffFields[i]) in Add_XFF_Field()1866 xffFields[i] = SnortStrndup((char *)Field_Name, UINT8_MAX); in Add_XFF_Field()1869 else if (!strncasecmp(xffFields[i], (char *)Field_Name, UINT8_MAX)) break; in Add_XFF_Field()2069 if (!xffFields[0]) in getHttpXffFields()2077 for ((*nFields) = 0; ((*nFields) < HTTP_MAX_XFF_FIELDS) && xffFields[*nFields]; in getHttpXffFields()2081 return xffFields; in getHttpXffFields()