Searched refs:MAX_DIVERT_PORTS (Results 1 – 2 of 2) sorted by relevance
14 #define MAX_DIVERT_PORTS 8 /* Max number of ports to divert (tcp, udp) */ macro30 u16 tcp_dst[MAX_DIVERT_PORTS]; /* specific tcp dst ports to divert */31 u16 tcp_src[MAX_DIVERT_PORTS]; /* specific tcp src ports to divert */32 u16 udp_dst[MAX_DIVERT_PORTS]; /* specific udp dst ports to divert */33 u16 udp_src[MAX_DIVERT_PORTS]; /* specific udp src ports to divert */
112 for (i = 0; i < MAX_DIVERT_PORTS; i++) { in add_port()117 for (i = 0; i < MAX_DIVERT_PORTS; i++) { in add_port()142 for (i = 0; i < MAX_DIVERT_PORTS; i++) { in remove_port()261 MAX_DIVERT_PORTS * sizeof(u16)); in divert_ioctl()263 MAX_DIVERT_PORTS * sizeof(u16)); in divert_ioctl()265 MAX_DIVERT_PORTS * sizeof(u16)); in divert_ioctl()267 MAX_DIVERT_PORTS * sizeof(u16)); in divert_ioctl()515 for (i = 0; i < MAX_DIVERT_PORTS; i++) { in divert_frame()545 for (i = 0; i < MAX_DIVERT_PORTS; i++) { in divert_frame()