Home
last modified time | relevance | path

Searched refs:lo_port (Results 1 – 3 of 3) sorted by relevance

/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/dcerpc2/
H A Ddce2_config.h893 static inline void DCE2_SetPortRange(uint8_t *port_array, uint16_t lo_port, uint16_t hi_port) in DCE2_SetPortRange() argument
897 if (lo_port > hi_port) in DCE2_SetPortRange()
899 uint16_t tmp = lo_port; in DCE2_SetPortRange()
900 lo_port = hi_port; in DCE2_SetPortRange()
904 for (i = lo_port; i <= hi_port; i++) in DCE2_SetPortRange()
H A Ddce2_config.c4340 uint16_t lo_port = 0, hi_port = 0; in DCE2_ParsePortList() local
4366 lo_port = 0; in DCE2_ParsePortList()
4387 lo_port = 0; in DCE2_ParsePortList()
4401 DCE2_Ret status = DCE2_GetValue(lo_start, *ptr, &lo_port, in DCE2_ParsePortList()
4416 DCE2_SetPort(port_array, lo_port); in DCE2_ParsePortList()
4436 DCE2_SetPortRange(port_array, lo_port, UINT16_MAX); in DCE2_ParsePortList()
4459 DCE2_SetPortRange(port_array, lo_port, hi_port); in DCE2_ParsePortList()
/dports/security/snort/snort-2.9.18/src/
H A Dparser.c3579 int ParsePort(SnortConfig *sc, char *prule_port, uint16_t *hi_port, uint16_t *lo_port, char *proto,… in ParsePort() argument
3609 *lo_port = 0; in ParsePort()
3628 *lo_port = 0; in ParsePort()
3640 *lo_port = 0; in ParsePort()
3644 *lo_port = *hi_port; in ParsePort()
3655 *lo_port = (u_short)ConvPort(toks[0], proto); in ParsePort()
7532 uint16_t hi_port = 0, lo_port = 0; in ConfigIgnorePorts() local
7556 ParsePort(sc, toks[i], &hi_port, &lo_port, toks[0], &not_flag); in ConfigIgnorePorts()
7558 for ( p = lo_port; p <= hi_port; p++ ) in ConfigIgnorePorts()