summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-11-13 20:54:06 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-11-13 20:54:06 +0000
commita49dcb067ccc0d0288291f437054538b34b31dcf (patch)
tree0579937c1bf07d3bb795d722753a4f295db15530 /sys/netinet/in_pcb.h
parent750113cd50e6e0756d40eaf9d929ace22ff84a05 (diff)
Extend the protosw pr_ctlinput function to include the rdomain. This is
needed so that the route and inp lookups done in TCP and UDP know where to look. Additionally in_pcbnotifyall() and tcp_respond() got a rdomain argument as well for similar reasons. With this tcp seems to be now fully rdomain save and no longer leaks single packets into the main domain. Looks good markus@, henning@
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r--sys/netinet/in_pcb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index 7e75d8294c6..da1df0acdcc 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.h,v 1.67 2009/06/05 00:05:22 claudio Exp $ */
+/* $OpenBSD: in_pcb.h,v 1.68 2009/11/13 20:54:05 claudio Exp $ */
/* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */
/*
@@ -272,7 +272,7 @@ struct inpcb *
in_pcblookup(struct inpcbtable *, void *, u_int, void *,
u_int, int, u_int);
void in_pcbnotifyall(struct inpcbtable *, struct sockaddr *,
- int, void (*)(struct inpcb *, int));
+ u_int, int, void (*)(struct inpcb *, int));
void in_pcbrehash(struct inpcb *);
void in_rtchange(struct inpcb *, int);
void in_setpeeraddr(struct inpcb *, struct mbuf *);