Home
last modified time | relevance | path

Searched refs:ip_proto_only_lists (Results 1 – 6 of 6) sorted by relevance

/dports/security/snort/snort-2.9.18/src/
H A Dfpcreate.c2543 fpAddIpProtoOnlyRule(sc->ip_proto_only_lists, otn); in fpCreatePortObject2PortGroup()
3509 static void fpAddIpProtoOnlyRule(SF_LIST **ip_proto_only_lists, OptTreeNode *otn) in fpAddIpProtoOnlyRule() argument
3529 if (ip_proto_only_lists[i] == NULL) in fpAddIpProtoOnlyRule()
3531 ip_proto_only_lists[i] = sflist_new(); in fpAddIpProtoOnlyRule()
3532 if (ip_proto_only_lists[i] == NULL) in fpAddIpProtoOnlyRule()
3540 for (dup = (OptTreeNode *)sflist_first(ip_proto_only_lists[i]); in fpAddIpProtoOnlyRule()
3542 dup = (OptTreeNode *)sflist_next(ip_proto_only_lists[i])) in fpAddIpProtoOnlyRule()
3548 if (sflist_add_head(ip_proto_only_lists[i], otn) != 0) in fpAddIpProtoOnlyRule()
H A Dfpdetect.c1700 void fpEvalIpProtoOnlyRules(SF_LIST **ip_proto_only_lists, Packet *p) in fpEvalIpProtoOnlyRules() argument
1704 SF_LIST *l = ip_proto_only_lists[GET_IPH_PROTO(p)]; in fpEvalIpProtoOnlyRules()
H A Dsnort.h894 SF_LIST **ip_proto_only_lists; member
H A Dsnort.c4448 if (sc->ip_proto_only_lists != NULL) in SnortConfFree()
4453 sflist_free_all(sc->ip_proto_only_lists[j], NULL); in SnortConfFree()
4455 free(sc->ip_proto_only_lists); in SnortConfFree()
H A Ddecode.c2929 fpEvalIpProtoOnlyRules(snort_conf->ip_proto_only_lists, p); in DecodeIP()
3960 fpEvalIpProtoOnlyRules(snort_conf->ip_proto_only_lists, p); in DecodeIPV6Extensions()
H A Dparser.c899 sc->ip_proto_only_lists = (SF_LIST **)SnortAlloc(NUM_IP_PROTOS * sizeof(SF_LIST *)); in ParseSnortConf()