Home
last modified time | relevance | path

Searched refs:SnortStrtoul (Results 1 – 25 of 34) sorted by relevance

12

/dports/security/snort3/snort3-3.1.19.0/src/utils/
H A Dutil_cstring.h70 inline unsigned long SnortStrtoul(const char* nptr, char** endptr, int base) in SnortStrtoul() function
116 tmp = SnortStrtoul(buffer, endptr, base); in SnortStrToU32()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/modbus/
H A Dmodbus_roptions.c90 func_code = _dpd.SnortStrtoul(params, &endptr, 10); in ModbusFuncInit()
156 unit_code = _dpd.SnortStrtoul(params, &endptr, 10); in ModbusUnitInit()
H A Dspp_modbus.c243 unsigned long portnum = _dpd.SnortStrtoul(token, &endptr, 10); in ParseSinglePort()
/dports/security/snort/snort-2.9.18/src/
H A Dutil.h276 static inline unsigned long SnortStrtoul(const char *nptr, char **endptr, int base) in SnortStrtoul() function
323 tmp = SnortStrtoul(buffer, endptr, base); in SnortStrToU32()
355 unsigned long iRet = SnortStrtoul(nptr, endptr, base); in SnortStrtoulRange()
H A Dparser.c4952 state->sid = SnortStrtoul(toks[0], &endptr, 0); in ParseRuleState()
4959 state->gid = SnortStrtoul(toks[1], &endptr, 0); in ParseRuleState()
8136 count = SnortStrtoul(args, &endptr, 0); in ConfigPacketCount()
8165 snaplen = SnortStrtoul(args, &endptr, 0); in ConfigPacketSnaplen()
8436 val = SnortStrtoul(opts[1], &endptr, 0); in ConfigPPM()
8451 val = SnortStrtoul(opts[1], &endptr, 0); in ConfigPPM()
9273 parsed_value = SnortStrtoul(args, &endptr, 0); in ConfigMaxIP6Extensions()
10264 gid = SnortStrtoul(args, &endptr, 0); in ParseOtnGid()
10675 priority = SnortStrtoul(args, &endptr, 0); in ParseOtnPriority()
10719 rev = SnortStrtoul(args, &endptr, 0); in ParseOtnRevision()
[all …]
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/s7commplus/
H A Ds7comm_roptions.c89 opcode = _dpd.SnortStrtoul(params, &endptr, 16); in S7commplusOpcodeInit()
155 func = _dpd.SnortStrtoul(params, &endptr, 16); in S7commplusFuncInit()
H A Dspp_s7comm.c219 unsigned long portnum = _dpd.SnortStrtoul(token, &endptr, 10); in ParseSinglePort()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/gtp/
H A Dgtp_roptions.c90 gtpType = _dpd.SnortStrtoul(tok, &endStr, 10); in GTP_AddTypeByNumer()
241 gtpIE = _dpd.SnortStrtoul(tok, &end, 10); in GTP_AddInfoElementByNumer()
452 gtpVersion = _dpd.SnortStrtoul(tok, &end, 10); in GTP_VersionInit()
/dports/security/snort/snort-2.9.18/src/detection-plugins/
H A Dsp_byte_extract.c330 data->bytes_to_grab = SnortStrtoul(token, &endptr, 10); in ByteExtractParse()
342 data->offset = SnortStrtoul(token, &endptr, 10); in ByteExtractParse()
385 data->align = (uint8_t)SnortStrtoul(value, &endptr, 10); in ByteExtractParse()
424 data->multiplier = SnortStrtoul(value, &endptr, 10); in ByteExtractParse()
H A Dsp_ip_proto.c262 ip_proto = SnortStrtoul(data, &endptr, 10); in IpProtoRuleParseFunction()
H A Dsp_byte_math.c525 int64_t rval = SnortStrtoul(cptr, &endp,0); in ByteMathParse()
564 idx->offset = SnortStrtoul(cptr, &endp,0); in ByteMathParse()
H A Dsp_byte_check.c473 int64_t rval = SnortStrtoul(toks[2], &endp,0); in ByteTestParse()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/dcerpc2/
H A Ddce2_debug.c72 debug_level = _dpd.SnortStrtoul(value, &endptr, 0); in DCE2_GetDebugLevel()
H A Ddce2_roptions.c368 iface_data->iface_vers = _dpd.SnortStrtoul(token, &endptr, 10); in DCE2_IfaceInit()
527 time_low = _dpd.SnortStrtoul(if_hex, &endptr, 16); in DCE2_ParseIface()
549 time_mid = _dpd.SnortStrtoul(if_hex, &endptr, 16); in DCE2_ParseIface()
572 time_high = _dpd.SnortStrtoul(if_hex, &endptr, 16); in DCE2_ParseIface()
596 clock_seq_low = _dpd.SnortStrtoul(&if_hex[2], &endptr, 16); in DCE2_ParseIface()
608 clock_seq_and_reserved = _dpd.SnortStrtoul(if_hex, &endptr, 16); in DCE2_ParseIface()
636 … iface_data->iface.node[j] = (uint8_t)_dpd.SnortStrtoul(&if_hex[i], &endptr, 16); in DCE2_ParseIface()
1173 unsigned long int num_bytes = _dpd.SnortStrtoul(token, &endptr, 10); in DCE2_ByteTestInit()
1247 unsigned long int value = _dpd.SnortStrtoul(token, &endptr, 10); in DCE2_ByteTestInit()
1370 unsigned long int num_bytes = _dpd.SnortStrtoul(token, &endptr, 10); in DCE2_ByteJumpInit()
[all …]
/dports/security/snort3/snort3-3.1.19.0/src/service_inspectors/sip/
H A Dsip_parser.cc362 statusCode = SnortStrtoul(space + 1, nullptr, 10); in sip_startline_parse()
857 msg->cseqnum = SnortStrtoul(start, &next, 10); in sip_parse_cseq()
968 msg->content_len = SnortStrtoul(start, &next, 10); in sip_parse_content_len()
1132 mdata->mport = (uint16_t)SnortStrtoul(spaceIndex + 1, &next, 10); in sip_parse_sdp_m()
1135 mdata->numPort = (uint8_t)SnortStrtoul(spaceIndex + 1, &next, 10); in sip_parse_sdp_m()
/dports/security/snort/snort-2.9.18/src/file-process/libs/
H A Dfile_config.c162 id = SnortStrtoul(args, &endptr, 0); in ParseFileRuleID()
285 rev = SnortStrtoul(args, &endptr, 0); in ParseFileRevision()
438 offset = SnortStrtoul(args, &endptr, 0); in ParseFileOffset()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/sip/
H A Dsip_parser.c378 statusCode = _dpd.SnortStrtoul(space + 1, NULL, 10); in sip_startline_parse()
976 msg->cseqnum = _dpd.SnortStrtoul(start, &next, 10); in sip_parse_cseq()
1105 msg->content_len = _dpd.SnortStrtoul(start, &next, 10); in sip_parse_content_len()
1277 mdata->mport = (uint16_t) _dpd.SnortStrtoul(spaceIndex + 1, &next, 10); in sip_parse_sdp_m()
1279 mdata->numPort = (uint8_t)_dpd.SnortStrtoul(spaceIndex + 1, &next, 10); in sip_parse_sdp_m()
H A Dsip_roptions.c335 unsigned long statCode = _dpd.SnortStrtoul(tok, NULL, 10); in SIP_StatCodeInit()
/dports/security/snort/snort-2.9.18/src/side-channel/
H A Dsidechannel.c648 value = SnortStrtoul(token, &endptr, 0); in SCParseConfiguration()
655 value = SnortStrtoul(token, &endptr, 0); in SCParseConfiguration()
662 value = SnortStrtoul(token, &endptr, 0); in SCParseConfiguration()
669 value = SnortStrtoul(token, &endptr, 0); in SCParseConfiguration()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/dnp3/
H A Ddnp3_roptions.c177 obj_group = _dpd.SnortStrtoul(token, &endptr, 10); in DNP3ObjInit()
186 obj_var = _dpd.SnortStrtoul(token, &endptr, 10); in DNP3ObjInit()
H A Dspp_dnp3.c332 unsigned long portnum = _dpd.SnortStrtoul(token, &endptr, 10); in ParseSinglePort()
442 memcap = _dpd.SnortStrtoul(token, &endptr, 10); in ParseDNP3Args()
/dports/security/snort3/snort3-3.1.19.0/src/ips_options/
H A Dips_ip_proto.cc183 ip_proto = SnortStrtoul(data, &endptr, 10); in ip_proto_parse()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/sdf/
H A Dsdf_detection_option.c86 tmpcount = _dpd.SnortStrtoul(args, &endptr, 10); in SDFOptionInit()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/reputation/
H A Dreputation_config.c1822 value = _dpd.SnortStrtoul( cur_tokenp, &endStr, 10); in ParseReputationArgs()
1857 value = _dpd.SnortStrtoul( cur_tokenp, &endStr, 10); in ParseReputationArgs()
/dports/security/snort/snort-2.9.18/src/dynamic-plugins/
H A Dsf_dynamic_preprocessor.h474 DynamicStrtoul SnortStrtoul; member

12