From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 12 21:56:30 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88EC1CF9 for ; Wed, 12 Mar 2014 21:56:30 +0000 (UTC) Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com [IPv6:2607:f8b0:4003:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 54E378F7 for ; Wed, 12 Mar 2014 21:56:30 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id l6so156650oag.39 for ; Wed, 12 Mar 2014 14:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=A42/kUOhBVg36bg32BwkNOciW0BmssCjlctoTgWSU7Q=; b=tfCGS+6Hh/iZ75iRjSswc84L8HiOoBMu6PPEETQPoBCgQ5+5tbWrg/1ze4WY3onhb2 pJDGS3vW76912AFR25K56aeYfo6sz/GWB5H4EXeDwbAR/IsET2l7GSbQ6+yPz2Ea01GM L/HhwLp7kmWfpaBcnN3NYYW+9i/N7GFq3dUAejPdIwHSGWiSwYbZzikg3ffX5mbQm6lH 5+xsgClZypSASnRUVwTJZGeI2U479/BZcBOKNQ9//sSp4rJsETLlh6R2QYdXouKNuHDZ Kx7DIyFDxbANVC5POvOAD+VsIPtO2ozgLdp5qO+4oWX79xJvpBUcDM1nLI+CIAL0a7Yx EWEQ== MIME-Version: 1.0 X-Received: by 10.60.62.146 with SMTP id y18mr36454338oer.24.1394661389532; Wed, 12 Mar 2014 14:56:29 -0700 (PDT) Received: by 10.182.76.201 with HTTP; Wed, 12 Mar 2014 14:56:29 -0700 (PDT) Date: Wed, 12 Mar 2014 17:56:29 -0400 Message-ID: Subject: Question on struct and int within From: Joe Nosay To: FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2014 21:56:30 -0000 Okay, I decided to rebuild the kernel with vimage and mrouting. New error is: /usr/src/sys/netinet/udp_usrreq.c:1701:18: error: too few arguments to function call, expected 2, have 1 udp_discardcb(up); ~~~~~~~~~~~~~ ^ /usr/src/sys/netinet/udp_usrreq.c:274:1: note: 'udp_discardcb' declared here void Below I can see where the up value comes in and also in the file. The int value seems to be what is missing. I was studying C but never made it that far. >From the file in question: udp_discardcb(struct udpcb *up, int isudp)