From owner-freebsd-net@freebsd.org Wed Apr 25 14:09:18 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C04A7FA6F4A for ; Wed, 25 Apr 2018 14:09:18 +0000 (UTC) (envelope-from srs0=rhof=ho=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CEF66F427 for ; Wed, 25 Apr 2018 14:09:17 +0000 (UTC) (envelope-from srs0=rhof=ho=sigsegv.be=kristof@codepro.be) Received: from [172.28.128.1] (ptr-8ripyyeo30l1ufg7nwu.18120a2.ip6.access.telenet.be [IPv6:2a02:1811:2419:4e02:11cf:31d3:8a76:40ce]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 677FD2E821; Wed, 25 Apr 2018 16:09:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1524665356; bh=jA8L26ZHhO/HdYNxqUXuxKPXMyrGXpf0ls5yFAdtkXE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=fpULC2uwIhHP5g3VK0dR4y3iaQVYZwCFjEQbwgqFt7yo2Hj3D/1w7T5+UIdWpFb9p fnZWI98uxTyytaPQ3K0bPl1qxJKMFgpRXjn97HHibEDLqU+bO2RPoPS0AWG9fk6cLI 0VaPyKWfQTGQfP1QnKhzl2ztQ8UYIbxF+lHEq5eo= From: "Kristof Provost" To: "Nick Wolff" Cc: "Lee Brown" , freebsd-net Subject: Re: QOS/TOS in carp/freebsd in general Date: Wed, 25 Apr 2018 16:09:14 +0200 X-Mailer: MailMate (2.0BETAr6110) Message-ID: <30947CBE-7931-4F8D-9C78-98D9624712EA@sigsegv.be> In-Reply-To: References: <20180416082736.GB48822@tom-desk.erg.abdn.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 14:09:19 -0000 On 25 Apr 2018, at 15:53, Nick Wolff wrote: > On Mon, Apr 16, 2018, 6:55 PM Lee Brown wrote: >> setdscp cs7 from me to 224.0.0.18 >> > > You can do this in ipfw but not in pf as far as I'm aware. You can do this in pf too. set-tos ⟨string⟩ | ⟨number⟩ Enforces a TOS for matching IP packets. TOS may be given as one of critical, inetcontrol, lowdelay, netcontrol, throughput, reliability, or one of the DiffServ Code Points: ef, af11 ... af43, cs0 ... cs7; or as either hex or decimal. (Although right now only for IPv4. I’ll hopefully commit the v6 bits soon.) Regards, Kristof From owner-freebsd-net@freebsd.org Wed Apr 25 14:12:24 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC660FA7159 for ; Wed, 25 Apr 2018 14:12:24 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6529A6FDA8 for ; Wed, 25 Apr 2018 14:12:24 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (220-253-154-11.dyn.iinet.net.au [220.253.154.11]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w3PECEWJ071168 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 25 Apr 2018 07:12:18 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1 To: Hans Petter Selasky , "Somayajulu, David" , "freebsd-net@freebsd.org" References: <53cea7bc-c3e5-26c3-30d8-42438e67f19f@selasky.org> From: Julian Elischer Message-ID: <32be98b1-4abe-3de4-ec62-c3282bc3cad2@freebsd.org> Date: Wed, 25 Apr 2018 22:12:09 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <53cea7bc-c3e5-26c3-30d8-42438e67f19f@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 14:12:25 -0000 On 24/4/18 3:15 pm, Hans Petter Selasky wrote: > On 04/24/18 01:33, Somayajulu, David wrote: >> Hi All, >> kldload ibcore.ko >> fails in the above snapshot with the following error. >> >> # kldload -v /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko >> kldload: an error occurred while loading module >> /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko. Please >> check dmesg(8) for more details. >> >> /var/log/messages indicates the following. >> >> Apr 23 16:28:07 bsd25_12 kernel: link_elf_obj: symbol if_index >> undefined >> Apr 23 16:28:07 bsd25_12 kernel: linker_load_file: >> /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko - >> unsupported file type >> >> What am I missing? >> > > Hi, > > It looks like ibcore.ko was built w/o DEBUG_FLAGS="-DVIMAGE=1" that shouldn't be in debug flags..   Not sure WHERE it should be, but I think that isn't it. (may work though) > > --HPS > > _______________________________________________ > 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" >