diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-30 17:15:33 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-30 17:20:57 +0200 |
commit | 6fbc585ee38b92cea338e96a5f661c811cd28990 (patch) | |
tree | 0bd4f3471df6c85dc2d870d9187f9d03cceaada2 /ring.h | |
parent | b5f3cae9359583bdb8c2580d19f656aa0a35db68 (diff) |
ring: move poll related fallback define to built_in.h
It rather belongs to built_in.h, and not here.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ring.h')
-rw-r--r-- | ring.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -82,16 +82,6 @@ static inline void tpacket_hdr_clone(struct tpacket2_hdr *thdrd, thdrd->tp_len = thdrs->tp_len; } -#ifndef POLLRDNORM -# define POLLRDNORM 0x0040 -#endif -#ifndef POLLWRNORM -# define POLLWRNORM 0x0100 -#endif -#ifndef POLLRDHUP -# define POLLRDHUP 0x2000 -#endif - static inline void prepare_polling(int sock, struct pollfd *pfd) { memset(pfd, 0, sizeof(*pfd)); |