Skip to content

Commit

Permalink
Add PF_RING_KEEP_CRC flag
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Jun 5, 2024
1 parent fe33466 commit 2848a68
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 @@ -391,7 +391,7 @@ struct __pfring {
#define PF_RING_ZC_IPONLY_RSS (1 << 16) /**< pfring_open() flag: Compute RSS on src/dst IP only (not 4-tuple) */
#define PF_RING_FLOW_OFFLOAD (1 << 17) /**< pfring_open() flag: Enable Flow offload (Flow Manager on Napatech) */
#define PF_RING_FLOW_OFFLOAD_NOUPDATES (1 << 18) /**< pfring_open() flag: Deprecated */
#define PF_RING_FLOW_OFFLOAD_NORAWDATA (1 << 19) /**< pfring_open() flag: Deprecated */
#define PF_RING_KEEP_CRC (1 << 19) /**< pfring_open() flag: Do not calculate/add CRC/FCS when transmitting frames */
#define PF_RING_L7_FILTERING (1 << 20) /**< pfring_open() flag: Enable L7 filtering support based on PF_RING FT (Flow Table with nDPI support) */
#define PF_RING_DO_NOT_STRIP_FCS (1 << 21) /**< pfring_open() flag: Do not strip the FCS (CRC), when not stripped out by the adapter (on standard adapters use this in combination with 'ethtool -K DEV rx-fcs on rx-all on') */
#define PF_RING_TX_BPF (1 << 22) /**< pfring_open() flag: Evaluate bpf also for transmitted packets (this also force userspace bpf). */
Expand Down

0 comments on commit 2848a68

Please sign in to comment.