Skip to content

Commit

Permalink
Change MAX_CAPLEN to 65600 to correctly handle max jumbo packet size
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Dec 21, 2023
1 parent 3e9222d commit 942c406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userland/lib/pfring.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#include <librdi.h>
#endif

#define MAX_CAPLEN 65535
#define MAX_CAPLEN 65600 /* L2 + IP + Max IP payload (65535) + alignment */
#define PAGE_SIZE 4096

#define DEFAULT_POLL_DURATION 500
Expand Down

0 comments on commit 942c406

Please sign in to comment.