From owner-p4-projects@FreeBSD.ORG Wed Oct 1 01:37:12 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B4F12106569D; Wed, 1 Oct 2008 01:37:12 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 797A21065694 for ; Wed, 1 Oct 2008 01:37:12 +0000 (UTC) (envelope-from rfrench@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 684818FC08 for ; Wed, 1 Oct 2008 01:37:12 +0000 (UTC) (envelope-from rfrench@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m911bCe5022803 for ; Wed, 1 Oct 2008 01:37:12 GMT (envelope-from rfrench@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m911bCnu022791 for perforce@freebsd.org; Wed, 1 Oct 2008 01:37:12 GMT (envelope-from rfrench@FreeBSD.org) Date: Wed, 1 Oct 2008 01:37:12 GMT Message-Id: <200810010137.m911bCnu022791@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rfrench@FreeBSD.org using -f From: Ryan French To: Perforce Change Reviews Cc: Subject: PERFORCE change 150736 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 01:37:13 -0000 http://perforce.freebsd.org/chv.cgi?CH=150736 Change 150736 by rfrench@rfrench_mpls on 2008/10/01 01:36:30 Added socket.h so I can add a AF_MPLS family. Added a route structure type to mpls.h. Will probably just add static routes to the initialisation as I have to start writing up a dissertation paper for this in the next 2 weeks. Affected files ... .. //depot/projects/soc2008/rfrench_mpls/netmpls/mpls.h#6 edit .. //depot/projects/soc2008/rfrench_mpls/sys/socket.h#1 add Differences ... ==== //depot/projects/soc2008/rfrench_mpls/netmpls/mpls.h#6 (text+ko) ==== @@ -99,6 +99,11 @@ //#endif }; +struct route_mpls { + struct rtentry *ro_rt; + struct sockaddr_mpls ro_dst; +}; + #define MPLS_OP_POP 1 #define MPLS_OP_PUSH 2 #define MPLS_OP_SWAP 3