Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet expose the pcb queue structure for convenience



details:   https://anonhg.NetBSD.org/src/rev/f3ab6659e067
branches:  trunk
changeset: 791572:f3ab6659e067
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 23 22:23:26 2013 +0000

description:
expose the pcb queue structure for convenience

diffstat:

 sys/netinet/in_pcb_hdr.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e4fa6f0a923e -r f3ab6659e067 sys/netinet/in_pcb_hdr.h
--- a/sys/netinet/in_pcb_hdr.h  Sat Nov 23 22:15:16 2013 +0000
+++ b/sys/netinet/in_pcb_hdr.h  Sat Nov 23 22:23:26 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_pcb_hdr.h,v 1.9 2013/11/23 14:20:21 christos Exp $  */
+/*     $NetBSD: in_pcb_hdr.h,v 1.10 2013/11/23 22:23:26 christos Exp $ */
 
 /*
  * Copyright (C) 2003 WIDE Project.
@@ -110,8 +110,10 @@
                           struct vestigial_inpcb *);
 } vestigial_hooks_t;
 
+TAILQ_HEAD(inpcbqueue, inpcb_hdr);
+
 struct inpcbtable {
-       TAILQ_HEAD(, inpcb_hdr) inpt_queue;
+       struct    inpcbqueue inpt_queue;
        struct    inpcbhead *inpt_porthashtbl;
        struct    inpcbhead *inpt_bindhashtbl;
        struct    inpcbhead *inpt_connecthashtbl;



Home | Main Index | Thread Index | Old Index