ip_vs.h (2502991560dc8244dbe10e48473d85722c1e2ec1) ip_vs.h (d5c003b4d1690e666dbab02bc8e705947baa848c)
1/*
2 * IP Virtual Server
3 * data structure and functionality definitions
4 */
5
6#ifndef _NET_IP_VS_H
7#define _NET_IP_VS_H
8

--- 151 unchanged lines hidden (view full) ---

160 printk(KERN_ERR "IPVS: " msg); \
161 } while (0)
162
163#ifdef CONFIG_IP_VS_DEBUG
164#define EnterFunction(level) \
165 do { \
166 if (level <= ip_vs_get_debug_level()) \
167 printk(KERN_DEBUG "Enter: %s, %s line %i\n", \
1/*
2 * IP Virtual Server
3 * data structure and functionality definitions
4 */
5
6#ifndef _NET_IP_VS_H
7#define _NET_IP_VS_H
8

--- 151 unchanged lines hidden (view full) ---

160 printk(KERN_ERR "IPVS: " msg); \
161 } while (0)
162
163#ifdef CONFIG_IP_VS_DEBUG
164#define EnterFunction(level) \
165 do { \
166 if (level <= ip_vs_get_debug_level()) \
167 printk(KERN_DEBUG "Enter: %s, %s line %i\n", \
168 __FUNCTION__, __FILE__, __LINE__); \
168 __func__, __FILE__, __LINE__); \
169 } while (0)
170#define LeaveFunction(level) \
171 do { \
172 if (level <= ip_vs_get_debug_level()) \
173 printk(KERN_DEBUG "Leave: %s, %s line %i\n", \
169 } while (0)
170#define LeaveFunction(level) \
171 do { \
172 if (level <= ip_vs_get_debug_level()) \
173 printk(KERN_DEBUG "Leave: %s, %s line %i\n", \
174 __FUNCTION__, __FILE__, __LINE__); \
174 __func__, __FILE__, __LINE__); \
175 } while (0)
176#else
177#define EnterFunction(level) do {} while (0)
178#define LeaveFunction(level) do {} while (0)
179#endif
180
181#define IP_VS_WAIT_WHILE(expr) while (expr) { cpu_relax(); }
182

--- 760 unchanged lines hidden ---
175 } while (0)
176#else
177#define EnterFunction(level) do {} while (0)
178#define LeaveFunction(level) do {} while (0)
179#endif
180
181#define IP_VS_WAIT_WHILE(expr) while (expr) { cpu_relax(); }
182

--- 760 unchanged lines hidden ---