@@ -202,7 +202,7 @@ struct __pfring {
202
202
u_int8_t disable_timestamp ;
203
203
u_int8_t ixia_timestamp_enabled ;
204
204
205
- u_int8_t vss_apcon_timestamp_enabled ;
205
+ u_int8_t __padding_0 ;
206
206
u_int8_t chunk_mode_enabled ;
207
207
u_int8_t userspace_bpf ;
208
208
u_int8_t force_userspace_bpf ;
@@ -351,7 +351,7 @@ struct __pfring {
351
351
352
352
u_int8_t reentrant ;
353
353
u_int8_t break_recv_loop ;
354
- u_int16_t __padding ;
354
+ u_int16_t __padding_1 ;
355
355
u_int32_t num_poll_calls ;
356
356
357
357
pfring_rwlock_t rx_lock ;
@@ -387,7 +387,7 @@ struct __pfring {
387
387
#define PF_RING_IXIA_TIMESTAMP (1 << 12) /**< pfring_open() flag: Enable ixiacom.com hardware timestamp support+stripping. */
388
388
#define PF_RING_USERSPACE_BPF (1 << 13) /**< pfring_open() flag: Force userspace bpf even with standard drivers (not only with ZC). */
389
389
#define PF_RING_ZC_NOT_REPROGRAM_RSS (1 << 14) /**< pfring_open() flag: Do not touch/reprogram hw RSS */
390
- #define PF_RING_VSS_APCON_TIMESTAMP (1 << 15) /**< pfring_open() flag: Enable apcon.com/vssmonitoring.com hardware timestamp support+stripping. */
390
+ #define PF_RING_VSS_APCON_TIMESTAMP (1 << 15) /**< pfring_open() flag: Deprecated */
391
391
#define PF_RING_ZC_IPONLY_RSS (1 << 16) /**< pfring_open() flag: Compute RSS on src/dst IP only (not 4-tuple) */
392
392
#define PF_RING_FLOW_OFFLOAD (1 << 17) /**< pfring_open() flag: Enable Flow offload (Flow Manager on Napatech) */
393
393
#define PF_RING_FLOW_OFFLOAD_NOUPDATES (1 << 18) /**< pfring_open() flag: Disable periodic updates when PF_RING_FLOW_OFFLOAD is used */
@@ -1343,24 +1343,6 @@ int pfring_read_arista_7150_hw_timestamp(u_char *buffer, u_int32_t buffer_len, u
1343
1343
*/
1344
1344
int pfring_handle_arista_hw_timestamp (u_char * buffer , struct pfring_pkthdr * hdr );
1345
1345
1346
- /**
1347
- * Reads a VSS/APCON-formatted timestamp from an incoming packet and puts it into the timestamp variable.
1348
- * @param buffer Incoming packet buffer.
1349
- * @param buffer_len Incoming packet buffer length.
1350
- * @param ts If found the hardware timestamp will be placed here
1351
- * @return The length of the VSS/APCON timestamp
1352
- */
1353
- int pfring_read_vss_apcon_hw_timestamp (u_char * buffer , u_int32_t buffer_len , struct timespec * ts );
1354
-
1355
- /**
1356
- * Strip an VSS/APCON-formatted timestamp from an incoming packet. If the timestamp is found, the
1357
- * hdr parameter (caplen and len fields) are decreased by the size of the timestamp.
1358
- * @param buffer Incoming packet buffer.
1359
- * @param hdr This is an in/out parameter: it is used to read the original packet len, and it is updated (size decreased) if the hw timestamp is found
1360
- * @return 0 on success, a negative value otherwise.
1361
- */
1362
- void pfring_handle_vss_apcon_hw_timestamp (u_char * buffer , struct pfring_pkthdr * hdr );
1363
-
1364
1346
/**
1365
1347
* Get interface speed.
1366
1348
* @param ring
0 commit comments