-/*
- * If we've lost frames since the last time we queued one to the
- * sk_receive_queue, we need to record it here.
- * This must be called under the protection of the socket lock
- * to prevent racing with other softirqs and user space
- */
-static inline void record_packet_gap(struct sk_buff *skb,
- struct packet_sock *po)
-{
- /*
- * We overload the mark field here, since we're about
- * to enqueue to a receive queue and no body else will
- * use this field at this point
- */
- skb->mark = po->stats.tp_gap;
- po->stats.tp_gap = 0;
- return;
-
-}
-
-static inline __u32 check_packet_gap(struct sk_buff *skb)
-{
- return skb->mark;
-}
-