Home
last modified time | relevance | path

Searched refs:SFPO_MAX_PORTS (Results 1 – 7 of 7) sorted by relevance

/dports/security/snort3/snort3-3.1.19.0/src/ports/
H A Dport_item.h28 #define SFPO_MAX_PORTS 65536 macro
41 { return !negate and lport == 0 and hport == SFPO_MAX_PORTS-1; } in any()
H A Dport_table.cc422 SF_LIST** parray = (SF_LIST**)snort_calloc(sizeof(SF_LIST*), SFPO_MAX_PORTS); in create_port_lists()
439 for ( int port = 0; port < SFPO_MAX_PORTS; port++ ) in delete_port_lists()
470 for ( int i = 0; i < SFPO_MAX_PORTS; i++ ) in PortTableCompileMergePortObjects()
517 for ( int i = 0; i < SFPO_MAX_PORTS; i++ ) in PortTableCompileMergePortObjects()
539 for ( int i = 0; i < SFPO_MAX_PORTS; i++ ) in PortTableCompileMergePortObjects()
550 SF_LIST* plist = PortObjectItemListFromBits(parray, SFPO_MAX_PORTS); in PortTableCompileMergePortObjects()
579 std::unique_ptr<char[]> upA(new char[SFPO_MAX_PORTS]); in PortTableConsistencyCheck()
581 memset(parray, 0, SFPO_MAX_PORTS); in PortTableConsistencyCheck()
592 for ( int i = 0; i < SFPO_MAX_PORTS; i++ ) in PortTableConsistencyCheck()
H A Dport_object.cc193 return PortObjectAddRange(po, 0, SFPO_MAX_PORTS-1); in PortObjectAddPortAny()
282 po->item_list = PortObjectItemListFromBits(parray, SFPO_MAX_PORTS); in PortObjectNormalize()
362 cnt += SFPO_MAX_PORTS; /* add back in the acceptable ports */ in PortObjectPortCount()
471 a->item_list = PortObjectItemListFromBits(pA, SFPO_MAX_PORTS); in PortObjectRemovePorts()
H A Dport_table.h62 PortObject2* pt_port_object[SFPO_MAX_PORTS];
/dports/security/snort/snort-2.9.18/src/sfutil/
H A Dsfportobject.c1292 static char pA[SFPO_MAX_PORTS]; in PortObjectRemovePorts()
1293 static char pB[SFPO_MAX_PORTS]; in PortObjectRemovePorts()
1295 memset(pA,0,SFPO_MAX_PORTS); in PortObjectRemovePorts()
1296 memset(pB,0,SFPO_MAX_PORTS); in PortObjectRemovePorts()
1304 for(i=0;i<SFPO_MAX_PORTS;i++) in PortObjectRemovePorts()
1384 for(i=0;i<SFPO_MAX_PORTS;i++) in PortObjectNegate()
1394 SFPO_MAX_PORTS - nports ); in PortObjectNegate()
1653 for (i=0;i<SFPO_MAX_PORTS;i++) in PortTableFree()
2330 for(i=0;i<SFPO_MAX_PORTS;i++) in PortTableCompileMergePortObjects()
2409 for(i=0;i<SFPO_MAX_PORTS;i++) in PortTableCompileMergePortObjects()
[all …]
H A Dsfportobject.h50 #define SFPO_MAX_PORTS 65536 macro
138 SF_LIST * pt_port_lists[SFPO_MAX_PORTS];
152 PortObject2 * pt_port_object[SFPO_MAX_PORTS];
/dports/security/snort/snort-2.9.18/src/preprocessors/Stream6/
H A Dstream_common.c348 for (i=0;i<SFPO_MAX_PORTS;i++) in setPortFilterList()
378 for (i=0;i<SFPO_MAX_PORTS;i++) in setPortFilterList()