From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1025 invoked by alias); 23 Oct 2012 16:27:07 -0000 Received: (qmail 1015 invoked by uid 22791); 23 Oct 2012 16:27:07 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_05,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vb0-f47.google.com (HELO mail-vb0-f47.google.com) (209.85.212.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Oct 2012 16:27:04 +0000 Received: by mail-vb0-f47.google.com with SMTP id ez10so4599409vbb.20 for ; Tue, 23 Oct 2012 09:27:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=7oTQRlCzGYNcuQ3b8tNZN9u6E9H+SoNftG8vZas0z8s=; b=c9hlqwVWBgFs2wKtwSp1oScuH+PgXJbEOzLz10eCMjHB1MivFJKIdh7/Y7xXxarr3U JiRdff5WexmLWwS2DpCLrT9Ew2Gh33+XHasJeQ3lnh3B2JOEp6Hw4ho1IHAma31coMre LRvvEAICd3cKp9lKY0bsJIFYam/YmPG/EkuPmq89GH8ST2mkrBXhl2yIw9ybqrBtynbA x2cI8G4DfLYFuJ539xMr6vUtqrfITwk0KcM+7ZWzCigRIlFsdTTgSgF7C6K7KYLnjzd/ gG2y0tD9DZkfq0MbSrHctm4jx4do/COdHVtg//KdNyEu5N74S+Ww9LiyWFcDmdQxHTEv 5cbg== MIME-Version: 1.0 Received: by 10.220.153.15 with SMTP id i15mr20867639vcw.6.1351009623312; Tue, 23 Oct 2012 09:27:03 -0700 (PDT) Received: by 10.58.69.75 with HTTP; Tue, 23 Oct 2012 09:27:03 -0700 (PDT) Date: Tue, 23 Oct 2012 16:27:00 -0000 Message-ID: From: Allan Nielsen To: ecos-discuss@sources.redhat.com Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkExW54xJ9HIPC6RzOYK2eIkczn9Q+FKHhSVkPGyrOJC+GM4neYRkFES8fH4N83XFYI2PVK X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] SO_BINDTODEVICE for eCos? X-SW-Source: 2012-10/txt/msg00016.txt.bz2 Hi, When transmitting an packet on a socket, how can I then explicit define which interface to transmit the packet on? This is in linux done by using the SO_BINDTODEVICE option, but this options does not seem to be available in eCos (i'm using the bsd IP stack). I would expect that the DHCP server need to do this, but I can not figure out how it is done. Best regards Allan W. Nielsen -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss