diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-03 16:27:33 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-03 16:27:33 +0000 |
commit | dff17dbfaf3a4db17a3050046e0cf30ecc6bb481 (patch) | |
tree | f7d9ff7fdadb1d71a9a1b78d7ab61009859afa0b /sys/net/if_var.h | |
parent | 2e0cebfa9ec8d0eeb0b3f46ff26648b7e10e885f (diff) |
Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow to
fallback to a SLIST.
ok dlg@, jasper@
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index d411fec1ef1..f4f7419fa20 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_var.h,v 1.61 2015/12/03 12:22:51 dlg Exp $ */ +/* $OpenBSD: if_var.h,v 1.62 2015/12/03 16:27:32 mpi Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -162,7 +162,7 @@ struct ifnet { /* and the entries */ struct task *if_linkstatetask; /* task to do route updates */ /* procedure handles */ - struct srpl if_inputs; /* input routines (dequeue) */ + SRPL_HEAD(, ifih) if_inputs; /* input routines (dequeue) */ /* output routine (enqueue) */ int (*if_output)(struct ifnet *, struct mbuf *, struct sockaddr *, |