diff options
author | rrs <rrs@FreeBSD.org> | 2008-05-20 13:47:46 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2008-05-20 13:47:46 +0000 |
commit | 8a663465644dd0d19159348afb69bb2462822ed1 (patch) | |
tree | 2eb09e824f0a51e8694f455f2aa95ba0da7b95d8 /sys/netinet/sctputil.h | |
parent | 2f427637e0af90ccec0c813c87cd3ae5404cedc3 (diff) | |
download | FreeBSD-src-8a663465644dd0d19159348afb69bb2462822ed1.zip FreeBSD-src-8a663465644dd0d19159348afb69bb2462822ed1.tar.gz |
- Adds support for the multi-asconf (From Kozuka-san)
- Adds some prepwork (Not all yet) for vimage in particular
support the delete the sctppcbinfo.xx structs. There is
still a leak in here if it were to be called plus we stil
need the regrouping (From Me and Michael Tuexen)
- Adds support for UDP tunneling. For BSD there is no
socket yet setup so its disabled, but major argument
changes are in here to emcompass the passing of the port
number (zero when you don't have a udp tunnel, the default
for BSD). Will add some hooks in UDP here shortly (discussed
with Robert) that will allow easy tunneling. (Mainly from
Peter Lei and Michael Tuexen with some BSD work from me :-D)
- Some ease for windows, evidently leave is reserved by their
compile move label leave: -> out:
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r-- | sys/netinet/sctputil.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h index ec4631c..3fd384e 100644 --- a/sys/netinet/sctputil.h +++ b/sys/netinet/sctputil.h @@ -178,7 +178,7 @@ sctp_abort_notification(struct sctp_tcb *, int, int /* We abort responding to an IP packet for some reason */ void sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *, - struct mbuf *, int, struct sctphdr *, struct mbuf *, uint32_t); + struct mbuf *, int, struct sctphdr *, struct mbuf *, uint32_t, uint16_t); /* We choose to abort via user input */ @@ -192,7 +192,7 @@ sctp_abort_an_association(struct sctp_inpcb *, struct sctp_tcb *, int, void sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *, - struct sctp_inpcb *, struct mbuf *, uint32_t); + struct sctp_inpcb *, struct mbuf *, uint32_t, uint16_t); int sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr, @@ -314,6 +314,9 @@ do { \ } \ } while (0) +/* new functions to start/stop udp tunneling */ +void sctp_over_udp_stop(void); +int sctp_over_udp_start(void); int sctp_soreceive(struct socket *so, struct sockaddr **psa, |