diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -148,11 +148,12 @@ check_tpacket_v3() #include <stdio.h> #include <linux/if_packet.h> -struct tpacket3_hdr *hdr; - void main(void) { - printf("%d\n", hdr->tp_status); + struct tpacket3_hdr *hdr; + int foo[] = { + TP_STATUS_BLK_TMO, + }; } EOF @@ -174,11 +175,16 @@ check_tpacket_v2() #include <stdio.h> #include <linux/if_packet.h> -struct tpacket2_hdr *hdr; - void main(void) { - printf("%d\n", hdr->tp_status); + struct tpacket2_hdr *hdr; + int foo[] = { + TP_STATUS_AVAILABLE, + TP_STATUS_SEND_REQUEST, + TP_STATUS_SENDING, + TP_STATUS_KERNEL, + TP_STATUS_USER, + }; } EOF |