Home
last modified time | relevance | path

Searched refs:ds_ptr_dup (Results 1 – 22 of 22) sorted by relevance

/dports/security/snort/snort-2.9.18/src/detection-plugins/
H A Dsp_dsize_check.c184 void *ds_ptr_dup; in ParseDsize() local
242 …if (add_detection_option(sc, RULE_OPTION_TYPE_DSIZE, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_OPT… in ParseDsize()
245 ds_ptr = otn->ds_list[PLUGIN_DSIZE_CHECK] = ds_ptr_dup; in ParseDsize()
282 …if (add_detection_option(sc, RULE_OPTION_TYPE_DSIZE, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_OPT… in ParseDsize()
285 ds_ptr = otn->ds_list[PLUGIN_DSIZE_CHECK] = ds_ptr_dup; in ParseDsize()
H A Dsp_ip_fragbits.c270 void *ds_ptr_dup; in ParseFragBits() local
337 …if (add_detection_option(sc, RULE_OPTION_TYPE_IP_FRAGBITS, (void *)ds_ptr, &ds_ptr_dup) == DETECTI… in ParseFragBits()
340 ds_ptr = otn->ds_list[PLUGIN_FRAG_BITS] = ds_ptr_dup; in ParseFragBits()
511 void *ds_ptr_dup; in ParseFragOffset() local
561 …if (add_detection_option(sc, RULE_OPTION_TYPE_IP_FRAG_OFFSET, (void *)ds_ptr, &ds_ptr_dup) == DETE… in ParseFragOffset()
564 ds_ptr = otn->ds_list[PLUGIN_FRAG_OFFSET] = ds_ptr_dup; in ParseFragOffset()
H A Dsp_ip_id_check.c172 void *ds_ptr_dup; in ParseIpId() local
194 …if (add_detection_option(sc, RULE_OPTION_TYPE_IP_ID, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_OPT… in ParseIpId()
197 ds_ptr = otn->ds_list[PLUGIN_IP_ID_CHECK] = ds_ptr_dup; in ParseIpId()
H A Dsp_tcp_ack_check.c175 void *ds_ptr_dup; in ParseTcpAck() local
185 …if (add_detection_option(sc, RULE_OPTION_TYPE_TCP_ACK, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_O… in ParseTcpAck()
188 ds_ptr = otn->ds_list[PLUGIN_TCP_ACK_CHECK] = ds_ptr_dup; in ParseTcpAck()
H A Dsp_tcp_seq_check.c176 void *ds_ptr_dup; in ParseTcpSeq() local
186 …if (add_detection_option(sc, RULE_OPTION_TYPE_TCP_SEQ, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_O… in ParseTcpSeq()
188 otn->ds_list[PLUGIN_TCP_SEQ_CHECK] = ds_ptr_dup; in ParseTcpSeq()
H A Dsp_icmp_id_check.c200 void *ds_ptr_dup; in ParseIcmpId() local
219 …if (add_detection_option(sc, RULE_OPTION_TYPE_ICMP_ID, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_O… in ParseIcmpId()
222 ds_ptr = otn->ds_list[PLUGIN_ICMP_ID_CHECK] = ds_ptr_dup; in ParseIcmpId()
H A Dsp_icmp_seq_check.c200 void *ds_ptr_dup; in ParseIcmpSeq() local
219 …if (add_detection_option(sc, RULE_OPTION_TYPE_ICMP_SEQ, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_… in ParseIcmpSeq()
222 ds_ptr = otn->ds_list[PLUGIN_ICMP_SEQ_CHECK] = ds_ptr_dup; in ParseIcmpSeq()
H A Dsp_tcp_win_check.c184 void *ds_ptr_dup; in ParseTcpWin() local
243 …if (add_detection_option(sc, RULE_OPTION_TYPE_TCP_WIN, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_O… in ParseTcpWin()
245 otn->ds_list[PLUGIN_TCP_WIN_CHECK] = ds_ptr_dup; in ParseTcpWin()
H A Dsp_ip_tos_check.c180 void *ds_ptr_dup; in ParseIpTos() local
232 …if (add_detection_option(sc, RULE_OPTION_TYPE_IP_TOS, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_OP… in ParseIpTos()
235 ds_ptr = otn->ds_list[PLUGIN_IP_TOS_CHECK] = ds_ptr_dup; in ParseIpTos()
H A Dsp_ipoption_check.c175 void *ds_ptr_dup; in ParseIpOptionData() local
241 …if (add_detection_option(sc, RULE_OPTION_TYPE_IP_OPTION, (void *)ds_ptr, &ds_ptr_dup) == DETECTION… in ParseIpOptionData()
244 ds_ptr = otn->ds_list[PLUGIN_IPOPTION_CHECK] = ds_ptr_dup; in ParseIpOptionData()
H A Dsp_ip_proto.c167 void *ds_ptr_dup; in IpProtoInit() local
205 …if (add_detection_option(sc, RULE_OPTION_TYPE_IP_PROTO, (void *)ipd, &ds_ptr_dup) == DETECTION_OPT… in IpProtoInit()
208 ipd = otn->ds_list[PLUGIN_IP_PROTO_CHECK] = ds_ptr_dup; in IpProtoInit()
H A Dsp_asn1.c311 void *ds_ptr_dup; in Asn1Init() local
322 …if (add_detection_option(sc, RULE_OPTION_TYPE_ASN1, (void *)asn1, &ds_ptr_dup) == DETECTION_OPTION… in Asn1Init()
325 asn1 = ds_ptr_dup; in Asn1Init()
H A Dsp_icmp_type_check.c178 void *ds_ptr_dup; in ParseIcmpType() local
282 …if (add_detection_option(sc, RULE_OPTION_TYPE_ICMP_TYPE, (void *)ds_ptr, &ds_ptr_dup) == DETECTION… in ParseIcmpType()
285 ds_ptr = otn->ds_list[PLUGIN_ICMP_TYPE] = ds_ptr_dup; in ParseIcmpType()
H A Dsp_ip_same_check.c122 void *ds_ptr_dup; in IpSameCheckInit() local
141 …if (add_detection_option(sc, RULE_OPTION_TYPE_IP_SAME, (void *)NULL, &ds_ptr_dup) == DETECTION_OPT… in IpSameCheckInit()
H A Dsp_tcp_flag_check.c166 void *ds_ptr_dup; in ParseTCPFlags() local
324 …if (add_detection_option(sc, RULE_OPTION_TYPE_TCP_FLAG, (void *)idx, &ds_ptr_dup) == DETECTION_OPT… in ParseTCPFlags()
326 otn->ds_list[PLUGIN_TCP_FLAG_CHECK] = ds_ptr_dup; in ParseTCPFlags()
H A Dsp_rpc_check.c209 void *ds_ptr_dup; in ParseRpc() local
253 …if (add_detection_option(sc, RULE_OPTION_TYPE_RPC_CHECK, (void *)ds_ptr, &ds_ptr_dup) == DETECTION… in ParseRpc()
256 ds_ptr = otn->ds_list[PLUGIN_RPC_CHECK] = ds_ptr_dup; in ParseRpc()
H A Dsp_icmp_code_check.c194 void *ds_ptr_dup; in ParseIcmpCode() local
322 …if (add_detection_option(sc, RULE_OPTION_TYPE_ICMP_CODE, (void *)ds_ptr, &ds_ptr_dup) == DETECTION… in ParseIcmpCode()
324 otn->ds_list[PLUGIN_ICMP_CODE] = ds_ptr_dup; in ParseIcmpCode()
H A Dsp_cvs.c153 void *ds_ptr_dup; in CvsInit() local
160 …if (add_detection_option(sc, RULE_OPTION_TYPE_CVS, (void *)cvs_rule_option, &ds_ptr_dup) == DETECT… in CvsInit()
163 cvs_rule_option = ds_ptr_dup; in CvsInit()
H A Dsp_ttl_check.c180 void *ds_ptr_dup; in ParseTtl() local
314 …if (add_detection_option(sc, RULE_OPTION_TYPE_TTL, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_OPTIO… in ParseTtl()
317 ds_ptr = otn->ds_list[PLUGIN_TTL_CHECK] = ds_ptr_dup; in ParseTtl()
H A Dsp_appid.c183 void *ds_ptr_dup; in AppIdInit() local
201 …if (add_detection_option(sc, RULE_OPTION_TYPE_APPID, (void *)optData, &ds_ptr_dup) == DETECTION_OP… in AppIdInit()
204 otn->ds_list[PLUGIN_APPID] = ds_ptr_dup; in AppIdInit()
H A Dsp_ftpbounce.c154 void *ds_ptr_dup; in FTPBounceInit() local
168 …if (add_detection_option(sc, RULE_OPTION_TYPE_FTPBOUNCE, (void *)NULL, &ds_ptr_dup) == DETECTION_O… in FTPBounceInit()
H A Dsp_session.c261 …if (add_detection_option(sc, RULE_OPTION_TYPE_SESSION, (void *)ds_ptr, &ds_ptr_dup) == DETECTION_O… in ParseSession()
264 ds_ptr = otn->ds_list[PLUGIN_SESSION] = ds_ptr_dup; in ParseSession()