diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-30 16:12:01 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-30 16:16:41 +0200 |
commit | 2e76c84b8e19ba02e82ce90370efe9feefd5a4b3 (patch) | |
tree | 529b926ffae6af364ae66dcf02585cb0e516ec29 /ring.h | |
parent | 8ecf69c3ded4edaa164ed1d645629c1011de44a9 (diff) |
ring: set_sockopt_tpacket: rename to set_sockopt_tpacket_v2
Rename it to set_sockopt_tpacket_v2 so that we later on can also
add other versions and have it clearly stated which one we use.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ring.h')
-rw-r--r-- | ring.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ static inline void prepare_polling(int sock, struct pollfd *pfd) pfd->events = POLLIN | POLLRDNORM | POLLERR; } -static inline void set_sockopt_tpacket(int sock) +static inline void set_sockopt_tpacket_v2(int sock) { int ret, val = TPACKET_V2; |