mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
net: ipv4: Hook into time based transmission
Add a transmit_time field to struct inet_cork, then copy the timestamp from the CMSG cookie at ip_setup_cork() so we can safely copy it into the skb later during __ip_make_skb(). For the raw fast path, just perform the copy at raw_send_hdrinc(). Signed-off-by: Richard Cochran <[email protected]> Signed-off-by: Jesus Sanchez-Palencia <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
80b14dee2b
commit
bc969a9778
6 changed files with 10 additions and 0 deletions
|
|
@ -148,6 +148,7 @@ struct inet_cork {
|
|||
__s16 tos;
|
||||
char priority;
|
||||
__u16 gso_size;
|
||||
u64 transmit_time;
|
||||
};
|
||||
|
||||
struct inet_cork_full {
|
||||
|
|
|
|||
Loading…
Reference in a new issue