diff options
author | Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com> | 2018-07-03 15:42:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 22:30:27 +0900 |
commit | a818f75e311c23cdac528888c60ae6e43a8958d0 (patch) | |
tree | 86aee5a99c979324a59233d0cb7445fcb933ce4a /net/key | |
parent | bc969a977880511057053642a81371196303ca01 (diff) | |
download | linux-a818f75e311c23cdac528888c60ae6e43a8958d0.tar.bz2 |
net: ipv6: Hook into time based transmission
Add a struct sockcm_cookie parameter to ip6_setup_cork() so
we can easily re-use the transmit_time field from struct inet_cork
for most paths, by copying the timestamp from the CMSG cookie.
This is later copied into the skb during __ip6_make_skb().
For the raw fast path, also pass the sockcm_cookie as a parameter
so we can just perform the copy at rawv6_send_hdrinc() directly.
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions