diff options
author | Randall Stewart <rrs@FreeBSD.org> | 2007-05-08 00:21:05 +0000 |
---|---|---|
committer | Randall Stewart <rrs@FreeBSD.org> | 2007-05-08 00:21:05 +0000 |
commit | 17205ecc85c8bf4b18b926fc6c1bffb28f32168d (patch) | |
tree | 4db56edaf6063ffdff843e7c1228529525ec2e80 /sys/netinet/sctp_indata.h | |
parent | f11825148f22e4e42b2f992278db5773e6a92b34 (diff) | |
download | src-17205ecc85c8bf4b18b926fc6c1bffb28f32168d.tar.gz src-17205ecc85c8bf4b18b926fc6c1bffb28f32168d.zip |
- More macros for OS compatabilty
- PR-SCTP would ignore FWD-TSN's above a rwnd's worth
of TSN's (1 byte msgs).. this left the peer hopelessly
out of sync.. or an attacker. So now we abort the assoc.
- New IFN hash, also rename hashes to match addr/ifn now
that the vrf has multiple.
- Do not enable SCTP_PCB_FLAGS_RECVDATAIOEVNT per default
as defined in the Socket API ID.
- Export MTU information via sysctl.
- Vrf's need table id's. This is default for
BSD, but may be other things later when BSD
fully supports VRFs.
- Additional stream reset bug (caught by cisco dev-test).
- Additional validations for the address in sending a message (socket api).
-------- and -----
- Fix association notifications not to give the active open
side false notifications.
- Fix so sendfile and SENDALL will work properly (missing
flag to say socket sender is done).
- Fix Bug that prevented COOKIES from being retransmitted.
- Break out connectx into helper sub-models so that iox routines can
reuse the helpers.
- When an address is added during system init (non-dynamic mode) make
sure that the "defer use" flag is not set.
** its compiling on XR now :-D **
Reviewed by: gnn
Notes
Notes:
svn path=/head/; revision=169352
Diffstat (limited to 'sys/netinet/sctp_indata.h')
-rw-r--r-- | sys/netinet/sctp_indata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/sctp_indata.h b/sys/netinet/sctp_indata.h index 70ba4777edcb..ad04c5621c6e 100644 --- a/sys/netinet/sctp_indata.h +++ b/sys/netinet/sctp_indata.h @@ -64,6 +64,7 @@ sctp_build_readq_entry(struct sctp_tcb *stcb, (_ctl)->whoFrom = net; \ (_ctl)->data = dm; \ (_ctl)->tail_mbuf = NULL; \ + (_ctl)->aux_data = NULL; \ (_ctl)->stcb = (in_it); \ (_ctl)->port_from = (in_it)->rport; \ (_ctl)->spec_flags = 0; \ @@ -80,6 +81,11 @@ struct mbuf * sctp_build_ctl_nchunk(struct sctp_inpcb *inp, struct sctp_sndrcvinfo *sinfo); +char * +sctp_build_ctl_cchunk(struct sctp_inpcb *inp, + int *control_len, + struct sctp_sndrcvinfo *sinfo); + void sctp_set_rwnd(struct sctp_tcb *, struct sctp_association *); uint32_t |