diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-02-26 21:19:47 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-02-26 21:19:47 +0000 |
commit | 8260da124e28847c02e67eab46bceb9d967f5c75 (patch) | |
tree | e17c4e12ab9c3bba893e6f4dfb3a55c84246653b /sys/netinet/in_pcb.h | |
parent | 557ae4bca715c5216bd3762ee29c0025d80f9435 (diff) | |
download | FreeBSD-src-8260da124e28847c02e67eab46bceb9d967f5c75.zip FreeBSD-src-8260da124e28847c02e67eab46bceb9d967f5c75.tar.gz |
Remove in_pcbnotify and use in_pcblookup_hash to find the cb directly.
For TCP, verify that the sequence number in the ICMP packet falls within
the tcp receive window before performing any actions indicated by the
icmp packet.
Clean up some layering violations (access to tcp internals from in_pcb)
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r-- | sys/netinet/in_pcb.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 7e4cfbe..f4abb4d 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -290,10 +290,7 @@ struct inpcb * in_pcblookup_hash __P((struct inpcbinfo *, struct in_addr, u_int, struct in_addr, u_int, int, struct ifnet *)); -void in_pcbnotify __P((struct inpcbhead *, struct sockaddr *, - u_int, struct in_addr, u_int, int, void (*)(struct inpcb *, int), - u_int32_t, int)); -void in_pcbnotifyall __P((struct inpcbhead *, struct sockaddr *, +void in_pcbnotifyall __P((struct inpcbhead *, struct in_addr, int, void (*)(struct inpcb *, int))); void in_pcbrehash __P((struct inpcb *)); int in_setpeeraddr __P((struct socket *so, struct sockaddr **nam)); |