wiki:Developer

Developer Notes

Developer Mailing List

There is a developer mailing list:  tcpreplay-devel@lists.sourceforge.net which is open for anyone to subscribe to. In order to prevent spam, posting to this list is limited to subscribed members only.

Please do not use tcpreplay-devel for end user requests, questions, comments or bug reports. There is the  tcpreplay-users@lists.sourceforge.net list for that purpose.

Release Checks

  1. svn update
  2. make version
  3. ./configure --enable-local-libopts
  4. make
  5. make dist-gzip
  6. PGP sign tarball
  7. Upload to  SourceForge upload page
  8. Create new release on  SourceForge
  9. Update  http://freshmeat.net/
  10. Add version to Trac
  11. Email focus-ids

Coding Standards

  1. 4 spaces, no tabs
  2. Use C style /* */ comments and be sure to comment your code
  3. When defining a function, use the format of:
    /**
     * \brief One liner about this function
     *
     * More details here.  Use as many lines as you'd like
     */
    int
    main(int argc, char *argv[])
    {
        /* stuff goes here */
    }
    
  4. Loops and control statements should be in the format of:
    while (i > 100) {
        /* stuff goes here */
    }
    
    if ((i == 0) && (j > 100)) {
        /* stuff */
    } 
    /* you can put a comment here if you'd like */
    else if ((i == 0) && (j <= 100)) {
        /* other stuff */
    } else {
        /* this is fine too */
    }