From owner-freebsd-net@freebsd.org Mon Oct 19 22:50:42 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41319A183F0 for ; Mon, 19 Oct 2015 22:50:42 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09551D4D for ; Mon, 19 Oct 2015 22:50:42 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by oiao187 with SMTP id o187so50601958oia.3 for ; Mon, 19 Oct 2015 15:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1sfc1JfWMRTEjb5NyuP3+TiNmzL3Mar+7nFwjNUgxPA=; b=U5lLVb300nj8wcfEsqOj1sSaRNliC2pPUGhJ8EtdC8WZR53q1AJSgyXpPy6FWh5/Hb 64IfWrjrCzWJkl/TfPn/Gf89atGmYrT6xfeJJVyQjUuGhtoEOdnJfk+/BEwDNeTpZ5Kk qM3G53B1/mBZlA+0OlgSuOxs9rDFCbitp3U+GMkP7l+Qb2Hci7FkvvVuxQ4QAOMyrEW1 jhlbFgtGFGhsUnyUtHyl8zXj1V3YLk+jsO7QdsY1rPKZm4Ek/eLxajM5IlO9WE3uyHQq LSS2I9qhrfklPwEAnaFieEZYz390VRaV8ZdWXiPqHSehj9vZ95udzUqZex59P+KmWc5j 5Njw== X-Received: by 10.202.87.76 with SMTP id l73mr18084561oib.33.1445295041345; Mon, 19 Oct 2015 15:50:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.107.84 with HTTP; Mon, 19 Oct 2015 15:50:01 -0700 (PDT) In-Reply-To: <562466AA.7020707@swin.edu.au> References: <562466AA.7020707@swin.edu.au> From: Outback Dingo Date: Tue, 20 Oct 2015 08:50:01 +1000 Message-ID: Subject: Re: MPTCP for FreeBSD repository on BitBucket/v0.51 update To: Nigel Williams Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 22:50:42 -0000 Nigel... seriously... /*-^M * Copyright (c) 2012-2015^M * Swinburne University of Technology, Melbourne, Australia.^M * All rights reserved.^M *^M * This software was developed at the Centre for Advanced Internet^M * Architectures, Swinburne University of Technology, by Nigel Williams and^M * Lawrence Stewart, made possible in part by a gift from the FreeBSD^M * Foundation and The Cisco University Research Program Fund, a corporate^M * advised fund of Silicon Valley Community Foundation.^M *^M * Redistribution and use in source and binary forms, with or without^M * modification, are permitted provided that the following conditions^M * are met:^M * 1. Redistributions of source code must retain the above copyright^M * notice, this list of conditions and the following disclaimer.^M * 2. Redistributions in binary form must reproduce the above copyright^M * notice, this list of conditions and the following disclaimer in the^M * documentation and/or other materials provided with the distribution.^M *^M * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND^M * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE^M * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE^M * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE^M * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL^M * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS^M * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)^M * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT^M * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY^M * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF^M * SUCH DAMAGE.^M */^M ^M /*^M * mptcp.h^M *^M * Created on: 15/05/2012^M * Author: nwilliams^M */^M ^M #ifndef MPTCP_H_^M #define MPTCP_H_^M ^M ^M #include ^M ^M #define MPTCP_64BIT_KEY 8^M ^M typedef u_int64_t mptcp_seq;^M ^M /* MPTCP subtypes */^M #define MPTCP_SUBTYPE_MP_CAPABLE 0^M #define MPTCP_SUBLEN_MP_CAPABLE_SYN 12^M #define MPTCP_SUBLEN_MP_CAPABLE_ACK 20^M ^M #define MPTCP_SUBTYPE_MP_JOIN 1^M #define MPTCP_SUBLEN_MP_JOIN_SYN 12^M #define MPTCP_SUBLEN_MP_JOIN_SYNACK 16 // should be 16, but run out of option space^M #define MPTCP_SUBLEN_MP_JOIN_ACK 24 // should be 24, but run out of option space^M ^M #define MPTCP_SUBTYPE_DSS 2^M #define MPTCP_SUBLEN_DSS_DATA_ACK XX^M #define MPTCP_SUBLEN_DSS_DATA_DSN XX^M ^M #define MPTCP_SUBTYPE_ADD_ADDR 3^M #define MPTCP_SUBLEN_ADD_ADDRV4 8^M #define MPTCP_SUBLEN_ADD_ADDRV6 20^M ^M #define MPTCP_SUBTYPE_REMOVE_ADDR 4^M #define MPTCP_SUBLEN_REMOVE_ADDR 4^M ^M #define MPTCP_SUBTYPE_MP_PRIO 5^M ^M #define MPTCP_SUBTYPE_MP_FAIL 6^M #define MPTCP_SUBTYPELEN_MP_FAIL 12^M ^M #define MPTCP_SUBTYPE_MP_FASTCLOSE 7^M #define MPTCP_SUBTYPELEN_MP_FASTCLOSE 12^M ^M #define MAX_MP_OPLEN 28^M ^M /* mptcp errors */^M ^M #define EMAXSUBFLOWSREACHED 01^M #define ENOMPCB 02^M #define ENOTCPCB 03^M ^M /* mptcp funcs */^M ^M ^M #define MPTCP_SA_NAME_MAX 16 /* max scheduler discipline name length */^M ^M #endif /* MPTCP_H_ */^M On Mon, Oct 19, 2015 at 1:42 PM, Nigel Williams wrote: > Hi, > > The MPTCP code is now available as a mercurial repository: > - Repository: https://bitbucket.org/nw-swin/caia-mptcp-freebsd > - Wiki: https://bitbucket.org/nw-swin/caia-mptcp-freebsd/wiki/ > > For those interested in trying the implementation/looking at the code, > this should hopefully make the process a little easier (and save having to > patch in updates). It should also make it possible to contribute code for > those wishing to do so. > > Some details: > - Has been branched off 'freebsd-head' at 'http://hg-beta.freebsd.org/base', > and will be merged on a weekly basis. > - I will be working off this repository so it will be up-to-date with > recent changes. > - In place of patch releases, release versions will now be tagged. > - I'll also start to populate the 'Issues' section so that there is a > better picture of current bugs/things TBD. > > The version has also been updated to v0.51. See: > - http://caia.swin.edu.au/newtcp/mptcp/tools.html > - OR https://bitbucket.org/nw-swin/caia-mptcp-freebsd/wiki/Home > > Functionally-wise this hasn't changed from the previous version, but has > been merged with a recent revision of head. > > cheers, > nigel > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >