From: dlg Date: Thu, 21 Dec 2017 03:59:32 +0000 (+0000) Subject: drivers might want to call ifiq_barrier. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a0b22fd0f115cbc3a6b9266c2f2db59742da3b0f;p=openbsd drivers might want to call ifiq_barrier. --- diff --git a/sys/net/ifq.h b/sys/net/ifq.h index f8f520df4a2..8e0fcd8f01d 100644 --- a/sys/net/ifq.h +++ b/sys/net/ifq.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ifq.h,v 1.17 2017/12/15 01:37:30 dlg Exp $ */ +/* $OpenBSD: ifq.h,v 1.18 2017/12/21 03:59:32 dlg Exp $ */ /* * Copyright (c) 2015 David Gwynne @@ -470,6 +470,7 @@ int ifiq_input(struct ifiqueue *, struct mbuf_list *, unsigned int); int ifiq_enqueue(struct ifiqueue *, struct mbuf *); void ifiq_add_data(struct ifiqueue *, struct if_data *); +void ifiq_barrier(struct ifiqueue *); #define ifiq_len(_ifiq) ml_len(&(_ifiq)->ifiq_ml) #define ifiq_empty(_ifiq) ml_empty(&(_ifiq)->ifiq_ml)