From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id E976A1C52 for ; Mon, 11 Jul 2016 17:19:17 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id f65so67611821wmi.0 for ; Mon, 11 Jul 2016 08:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=bFGZMF0GSaefHpY2Mvz4quU+sA7176dY6tluoUlwplc=; b=hDbwwhYpQ1UAu0vBsj+6cu1cuaff24tcb+LlhUTAPxVVhel+9/iSXCllYLN4TRRm5B T5uQNB8UL2m8zwlYY3W0GbTBdYesnZsSelIcg8v2fJLNfONCjiWsSCnsJ3/u6NF4tUn7 rY2TsrGgWko9N8CChBTwSpKFOgfdT3IkVz1rPJfAiNR2aFQYE+J8f8dMwnA1gSVVZ6ju DofCowupWfNKTLZE0RIYNCRBWoe9n7MhA4syXZ8zCcUu7ZzC+eeUiD6/qUwB48jFpPEc Kf2o4XV9iWomfQU3lghRGxJf6k6MtgVBw/JpaiAqJGfGy5yF8f12R0u9Pgz8s0tFi753 vBfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=bFGZMF0GSaefHpY2Mvz4quU+sA7176dY6tluoUlwplc=; b=KBm2lKlA1yQURQu70ucxHVWiPs6I4r0oIjZyAXqlWPRJcKmKjrvKpya5DzXFu+kerK fx8T+bkC6qi5Yy6+z6WlW8f5QPtfSbjFvwAegFich8WGYjFRO8MeC1pzzb6bBiwFfTq0 LM4yLG8nsRWnze3MxQ4E4D5DD///V1MDn62WusU6RkH1joLs1kS5F3QRRLnn56XNSoFH W0X+JJHnKhr9MOBl5X5gnfZgheb/Cc3YT2MpceXhF9rhw5ZNSiQab9zpVnv4q1hFXinv decTNJIRzmEjfoq4Oe5f1ZKSO0ypCTaSSLAPKGsr70ZzKc165AnfSyzZUD4LWa5u/Mp2 VgRQ== X-Gm-Message-State: ALyK8tLcVFkg8Kcg8/3bYCkHmAbBe79hQFdNuw4eOfNfcs+Or/5CdzIAVrbhoqLUtdKZVo1r X-Received: by 10.194.30.4 with SMTP id o4mr336110wjh.110.1468250357687; Mon, 11 Jul 2016 08:19:17 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id q69sm23628446wmd.4.2016.07.11.08.19.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 08:19:17 -0700 (PDT) From: Thomas Monjalon To: Fan Zhang Cc: dev@dpdk.org, sergio.gonzalez.monroy@intel.com Date: Mon, 11 Jul 2016 17:19:13 +0200 Message-ID: <86368365.uyKVKjXL1q@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1468248213-13100-2-git-send-email-roy.fan.zhang@intel.com> References: <1467891093-41205-1-git-send-email-roy.fan.zhang@intel.com> <1468248213-13100-1-git-send-email-roy.fan.zhang@intel.com> <1468248213-13100-2-git-send-email-roy.fan.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: add configuration file support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2016 15:19:18 -0000 2016-07-11 15:43, Fan Zhang: > This patch adds the configuration file support to ipsec_secgw > sample application. Instead of hard-coded rules, the users can > specify their own SP, SA, and routing rules in the configuration > file. An command line option "-f" is added to pass the > configuration file location to the application. There is a 32-bit compilation error: examples/ipsec-secgw/parser.c:286:10: error: format =E2=80=98%lu=E2=80=99 expects argument of type =E2=80=98long uns= igned int=E2=80=99, but argument 2 has type =E2=80=98size_t {aka unsigned int}=E2=80=99 [-W= error=3Dformat=3D] printf("len error, has %lu, expect %i\n", strlen(ip_str),