Home
last modified time | relevance | path

Searched refs:StringParseUint8 (Results 1 – 16 of 16) sorted by relevance

/dports/security/suricata/suricata-6.0.4/src/
H A Ddetect-ttl.c183 if (StringParseUint8(&ttl1, 10, 0, (const char *)arg3) < 0) { in DetectTtlParse()
198 if (StringParseUint8(&ttl1, 10, 0, (const char *)arg3) < 0) { in DetectTtlParse()
214 if (StringParseUint8(&ttl1, 10, 0, (const char *)arg1) < 0) { in DetectTtlParse()
219 if (StringParseUint8(&ttl2, 10, 0, (const char *)arg3) < 0) { in DetectTtlParse()
237 if (StringParseUint8(&ttl1, 10, 0, (const char *)arg1) < 0) { in DetectTtlParse()
250 if (StringParseUint8(&ttl1, 10, 0, (const char *)arg1) < 0) { in DetectTtlParse()
H A Ddetect-template2.c189 if (StringParseUint8(&template2d->arg1, 10, 0, (const char *)arg3) < 0) { in DetectTemplate2Parse()
204 if (StringParseUint8(&template2d->arg1, 10, 0, (const char *)arg3) < 0) { in DetectTemplate2Parse()
221 if (StringParseUint8(&template2d->arg1, 10, 0, (const char *)arg1) < 0) { in DetectTemplate2Parse()
226 if (StringParseUint8(&template2d->arg2, 10, 0, (const char *)arg3) < 0) { in DetectTemplate2Parse()
245 if (StringParseUint8(&template2d->arg1, 10, 0, (const char *)arg1) < 0) { in DetectTemplate2Parse()
259 if (StringParseUint8(&template2d->arg1, 10, 0, (const char *)arg1) < 0) { in DetectTemplate2Parse()
H A Ddetect-engine-uint.c321 if (StringParseUint8(&u8da.arg1, 10, strlen(arg3), arg3) < 0) { in DetectU8Parse()
338 if (StringParseUint8(&u8da.arg1, 10, strlen(arg1), arg1) < 0) { in DetectU8Parse()
342 if (StringParseUint8(&u8da.arg2, 10, strlen(arg3), arg3) < 0) { in DetectU8Parse()
360 if (StringParseUint8(&u8da.arg1, 10, strlen(arg1), arg1) < 0) { in DetectU8Parse()
371 if (StringParseUint8(&u8da.arg1, 10, strlen(arg1), arg1) < 0) { in DetectU8Parse()
H A Ddetect-itype.c189 if (StringParseUint8(&itd->type1, 10, 0, args[1]) < 0) { in DetectITypeParse()
217 if (StringParseUint8(&itd->type1, 10, 0, args[1]) < 0) { in DetectITypeParse()
222 if (StringParseUint8(&itd->type2, 10, 0, args[2]) < 0) { in DetectITypeParse()
236 if (StringParseUint8(&itd->type1, 10, 0, args[1]) < 0) { in DetectITypeParse()
H A Ddetect-icode.c189 if (StringParseUint8(&icd->code1, 10, 0, args[1]) < 0) { in DetectICodeParse()
217 if (StringParseUint8(&icd->code1, 10, 0, args[1]) < 0) { in DetectICodeParse()
222 if (StringParseUint8(&icd->code2, 10, 0, args[2]) < 0) { in DetectICodeParse()
236 if (StringParseUint8(&icd->code1, 10, 0, args[1]) < 0) { in DetectICodeParse()
H A Dutil-proto-name.c75 if (StringParseUint8(&proto, 10, 0, (const char *)proto_ch) < 0) in SCProtoNameInit()
H A Dutil-ip.c70 if (StringParseUint8(&a, 10, 0, (const char *)addr[x]) < 0) { in IPv4AddressStringIsValid()
H A Ddetect-dnp3.c200 if (StringParseUint8(fc, 10, strlen(str), str) >= 0) { in DetectDNP3FuncParseFunctionCode()
367 if (StringParseUint8(group, 0, strlen(groupstr), groupstr) < 0) { in DetectDNP3ObjParse()
371 if (StringParseUint8(var, 0, strlen(varstr), varstr) < 0) { in DetectDNP3ObjParse()
H A Ddetect-mqtt-reason-code.c143 ret = StringParseUint8(&val, 10, 0, rawstr); in DetectMQTTReasonCodeParse()
H A Ddetect-krb5-msgtype.c161 if (StringParseUint8(&krb5d->msg_type, 10, 0, in DetectKrb5MsgTypeParse()
H A Dutil-napatech.c765 … if (StringParseUint8(&start, 10, end_str - lnode->val, (const char *)lnode->val) < 0) { in CountWorkerThreads()
769 if (StringParseUint8(&end, 10, 0, (const char *) (end_str + 1)) < 0) { in CountWorkerThreads()
919 if (StringParseUint8(&start, 10, end_str - stream->val, in NapatechGetStreamConfig()
924 if (StringParseUint8(&end, 10, 0, (const char *) (end_str + 1)) < 0) { in NapatechGetStreamConfig()
934 if (StringParseUint8(&stream_config[instance_cnt].stream_id, in NapatechGetStreamConfig()
H A Dutil-byte.h307 int StringParseUint8(uint8_t *res, int base, uint16_t len, const char *str);
H A Dutil-byte.c359 int StringParseUint8(uint8_t *res, int base, uint16_t len, const char *str) in StringParseUint8() function
H A Ddetect-modbus.c334 if (StringParseUint8(&modbus->function, 10, 0, (const char *)ptr) < 0) { in DetectModbusFunctionParse()
H A Ddetect-ipproto.c133 if (StringParseUint8(&data->proto, 10, 0, args[1]) <= 0) { in DetectIPProtoParse()
H A Ddetect-byte-extract.c246 if (StringParseUint8(&bed->nbytes, 10, 0, in DetectByteExtractParse()
420 if (StringParseUint8(&bed->align_value, 10, 0, in DetectByteExtractParse()