History

tun: Support software transmit time stamping.

This patch adds transmit time stamping to the tun/tap driver. Similar support already exists for UDP, can, and raw packets.

Richard Cochran committed 13 years ago

Commit eda29771 parent cb820f82 files · +15 −2Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/if_tun.h+3−0
@@ -71,6 +71,9 @@ · 70 unmodified lines
7171 /* read-only flag */
7272 #define IFF_PERSIST 0x0800
7373
74+/* Socket options */
75+#define TUN_TX_TIMESTAMP 1
76+
7477 /* Features for GSO (TUNSETOFFLOAD). */
7578 #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */
7679 #define TUN_F_TSO4 0x02 /* I can handle TSO for IPv4 packets */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t