cvs commit: src/sys/netinet sctp_asconf.c sctp_asconf.h sctp_auth.c sctp_bsd_addr.c sctp_indata.c sctp_input.c sctp_os.h sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_structs.h sctp_timer.c sctp_usrreq.c sctp_var.h sctputil.c src/sys/netinet6 ...

Randall Stewart rrs at FreeBSD.org
Fri Dec 29 12:21:43 PST 2006


rrs         2006-12-29 20:21:42 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          sctp_asconf.c sctp_asconf.h sctp_auth.c 
                         sctp_bsd_addr.c sctp_indata.c 
                         sctp_input.c sctp_os.h sctp_os_bsd.h 
                         sctp_output.c sctp_pcb.c sctp_pcb.h 
                         sctp_structs.h sctp_timer.c sctp_usrreq.c 
                         sctp_var.h sctputil.c 
    sys/netinet6         sctp6_usrreq.c 
  Log:
  a) macro-ization of all mbuf and random number
     access plus timers. This makes the code
     more portable and able to change out the
     mbuf or timer system used more easily ;-)
  b) removal of all use of pkt-hdr's until only
     the places we need them (before ip_output routines).
  c) remove a bunch of code not needed due to <b> aka
     worrying about pkthdr's :-)
  d) There was one last reorder problem it looks where
     if a restart occur's and we release and relock (at
     the point where we setup our alias vtag) we would
     end up possibly getting the wrong TSN in place. The
     code that fixed the TSN's just needed to be shifted
     around BEFORE the release of the lock.. also code that
     set the state (since this also could contribute).
  Approved by:    gnn
  
  Revision  Changes    Path
  1.5       +22 -25    src/sys/netinet/sctp_asconf.c
  1.2       +4 -3      src/sys/netinet/sctp_asconf.h
  1.2       +25 -25    src/sys/netinet/sctp_auth.c
  1.3       +8 -9      src/sys/netinet/sctp_bsd_addr.c
  1.6       +192 -132  src/sys/netinet/sctp_indata.c
  1.10      +64 -107   src/sys/netinet/sctp_input.c
  1.3       +1 -5      src/sys/netinet/sctp_os.h
  1.4       +67 -2     src/sys/netinet/sctp_os_bsd.h
  1.8       +423 -542  src/sys/netinet/sctp_output.c
  1.9       +47 -55    src/sys/netinet/sctp_pcb.c
  1.3       +0 -1      src/sys/netinet/sctp_pcb.h
  1.5       +5 -3      src/sys/netinet/sctp_structs.h
  1.5       +9 -10     src/sys/netinet/sctp_timer.c
  1.8       +120 -127  src/sys/netinet/sctp_usrreq.c
  1.2       +39 -41    src/sys/netinet/sctp_var.h
  1.10      +182 -228  src/sys/netinet/sctputil.c
  1.7       +14 -26    src/sys/netinet6/sctp6_usrreq.c


More information about the cvs-all mailing list