| > [DCCP]: Cheaper & smaller timestamping
| A couple of comments though:
| - this is how I had the code originally in many cases and Arnaldo
| changed - can't remember why.
Arnaldo's code uses a reference point, the skb_get_timestamp() also did
that. May be useful against old incarnations across reboots.
| - we should be looking at using the new ktime as monotonic but that
| can be a task for another time.
Excellent idea, this may allow to make CCID3 more precise.
By sheer magic, skb_get_timestamp does this already, as I just saw:
static inline void skb_get_timestamp(const struct sk_buff *skb, struct timeval
*stamp)
{
*stamp = ktime_to_timeval(skb->tstamp);
}
so we only need to replace the do_gettimeofday() at some time.
I have another idea with regard to timestamps: the field
dccp_inetconnection.icsk_ack.lrcvtime
takes an __u32 timestamp - we could use this for the DCCP timestamp/timestamp
echos,
which are 4 bytes (currently this is done for initial SYN RTT).
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html