/dports/security/snort3/snort3-3.1.19.0/src/utils/ |
H A D | util_cstring.h | 70 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 D | modbus_roptions.c | 90 func_code = _dpd.SnortStrtoul(params, &endptr, 10); in ModbusFuncInit() 156 unit_code = _dpd.SnortStrtoul(params, &endptr, 10); in ModbusUnitInit()
|
H A D | spp_modbus.c | 243 unsigned long portnum = _dpd.SnortStrtoul(token, &endptr, 10); in ParseSinglePort()
|
/dports/security/snort/snort-2.9.18/src/ |
H A D | util.h | 276 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 D | parser.c | 4952 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 D | s7comm_roptions.c | 89 opcode = _dpd.SnortStrtoul(params, &endptr, 16); in S7commplusOpcodeInit() 155 func = _dpd.SnortStrtoul(params, &endptr, 16); in S7commplusFuncInit()
|
H A D | spp_s7comm.c | 219 unsigned long portnum = _dpd.SnortStrtoul(token, &endptr, 10); in ParseSinglePort()
|
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/gtp/ |
H A D | gtp_roptions.c | 90 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 D | sp_byte_extract.c | 330 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 D | sp_ip_proto.c | 262 ip_proto = SnortStrtoul(data, &endptr, 10); in IpProtoRuleParseFunction()
|
H A D | sp_byte_math.c | 525 int64_t rval = SnortStrtoul(cptr, &endp,0); in ByteMathParse() 564 idx->offset = SnortStrtoul(cptr, &endp,0); in ByteMathParse()
|
H A D | sp_byte_check.c | 473 int64_t rval = SnortStrtoul(toks[2], &endp,0); in ByteTestParse()
|
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/dcerpc2/ |
H A D | dce2_debug.c | 72 debug_level = _dpd.SnortStrtoul(value, &endptr, 0); in DCE2_GetDebugLevel()
|
H A D | dce2_roptions.c | 368 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 D | sip_parser.cc | 362 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 D | file_config.c | 162 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 D | sip_parser.c | 378 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 D | sip_roptions.c | 335 unsigned long statCode = _dpd.SnortStrtoul(tok, NULL, 10); in SIP_StatCodeInit()
|
/dports/security/snort/snort-2.9.18/src/side-channel/ |
H A D | sidechannel.c | 648 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 D | dnp3_roptions.c | 177 obj_group = _dpd.SnortStrtoul(token, &endptr, 10); in DNP3ObjInit() 186 obj_var = _dpd.SnortStrtoul(token, &endptr, 10); in DNP3ObjInit()
|
H A D | spp_dnp3.c | 332 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 D | ips_ip_proto.cc | 183 ip_proto = SnortStrtoul(data, &endptr, 10); in ip_proto_parse()
|
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/sdf/ |
H A D | sdf_detection_option.c | 86 tmpcount = _dpd.SnortStrtoul(args, &endptr, 10); in SDFOptionInit()
|
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/reputation/ |
H A D | reputation_config.c | 1822 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 D | sf_dynamic_preprocessor.h | 474 DynamicStrtoul SnortStrtoul; member
|