mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ip: support for TX timestamps on UDP and RAW sockets
Instructions for time stamping outgoing packets are take from the socket layer and later copied into the new skb. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
20d4947353
commit
51f31cabe3
7 changed files with 19 additions and 0 deletions
|
@ -55,6 +55,7 @@ struct ipcm_cookie
|
|||
__be32 addr;
|
||||
int oif;
|
||||
struct ip_options *opt;
|
||||
union skb_shared_tx shtx;
|
||||
};
|
||||
|
||||
#define IPCB(skb) ((struct inet_skb_parm*)((skb)->cb))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue