Jonathan Lemon
df5e198723
Lock down the network interface queues. The queue mutex must be obtained
...
before adding/removing packets from the queue. Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.
IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue. An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.
Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
2000-11-25 07:35:38 +00:00
..
2000-11-22 08:47:35 +00:00
2000-10-07 23:15:17 +00:00
2000-10-29 13:57:19 +00:00
2000-10-29 07:53:05 +00:00
2000-07-04 16:35:15 +00:00
2000-05-22 16:12:28 +00:00
1999-12-07 17:39:16 +00:00
2000-05-01 20:32:07 +00:00
2000-11-25 07:35:38 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
2000-05-06 18:19:58 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2000-10-27 11:45:49 +00:00
2000-07-04 16:35:15 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-09-17 13:35:42 +00:00
2000-05-26 02:09:24 +00:00
2000-08-03 14:09:52 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-05-26 02:09:24 +00:00
2000-10-29 16:06:56 +00:00
2000-07-04 16:35:15 +00:00
2000-07-12 16:39:13 +00:00
2000-11-25 07:35:38 +00:00
2000-10-26 12:33:42 +00:00
2000-10-27 12:53:31 +00:00
2000-10-29 16:06:56 +00:00
2000-11-23 22:25:03 +00:00
2000-06-08 09:45:23 +00:00
2000-07-04 16:35:15 +00:00
2000-07-04 16:35:15 +00:00
2000-07-04 16:35:15 +00:00
2000-07-04 16:35:15 +00:00
2000-11-11 23:05:59 +00:00
2000-07-31 13:11:42 +00:00
2000-05-26 02:09:24 +00:00
2000-05-26 02:09:24 +00:00
2000-10-26 12:33:42 +00:00
2000-10-26 12:33:42 +00:00
2000-10-29 07:53:05 +00:00
2000-11-07 09:20:32 +00:00
2000-10-02 03:03:31 +00:00
2000-11-02 09:46:23 +00:00
1999-12-29 04:46:21 +00:00
2000-11-25 07:35:38 +00:00
2000-08-13 04:31:06 +00:00
2000-11-25 07:35:38 +00:00
1999-12-29 04:46:21 +00:00
2000-10-29 07:53:05 +00:00
2000-10-29 07:53:05 +00:00
2000-11-01 01:59:28 +00:00
2000-05-24 04:21:35 +00:00
2000-05-24 04:21:35 +00:00
2000-10-29 07:53:05 +00:00
2000-10-29 07:53:05 +00:00
2000-10-29 07:53:05 +00:00
2000-10-26 12:33:42 +00:00
2000-07-04 16:35:15 +00:00
1999-12-22 19:13:38 +00:00
2000-10-29 07:53:05 +00:00
2000-07-31 13:11:42 +00:00
2000-10-26 12:33:42 +00:00
2000-10-29 16:06:56 +00:00
2000-07-04 16:35:15 +00:00
2000-01-29 11:49:07 +00:00
1999-11-07 04:18:30 +00:00
2000-11-04 15:59:39 +00:00
2000-10-27 11:45:49 +00:00
2000-11-04 15:59:39 +00:00
2000-09-29 01:37:19 +00:00
2000-11-25 06:22:16 +00:00
2000-10-02 15:00:13 +00:00
1999-12-29 04:46:21 +00:00
2000-11-25 06:22:16 +00:00
2000-04-01 22:35:47 +00:00
2000-07-21 23:26:37 +00:00
2000-05-06 03:31:09 +00:00
1999-08-28 01:08:13 +00:00
2000-11-01 16:56:33 +00:00
1999-12-29 04:46:21 +00:00
1999-08-28 01:08:13 +00:00