From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by dpdk.org (Postfix) with ESMTP id 4645091CC for ; Mon, 14 Dec 2015 18:30:51 +0100 (CET) Received: by padhk6 with SMTP id hk6so66860057pad.2 for ; Mon, 14 Dec 2015 09:30:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=YVwR1KOSZRSKf6dSpv6OghpMqv+EZyHh/xZhv5r6Ua4=; b=k9QKTMQ+zsFINuLHof5Xjypfd4gyvoveFYKLm1jPASnoIoTyDxQPRc6mT2pW9Pphr/ byI7OtiUkpjtxzVGpRJm1sV+qxZI+fQVSwbChgVXV3e7yj/iE21S67i2rTzoJBl8qEbV TMqDqkZAXSNIKAVc4iRhaTUgsmlZZ0h9si36HyLnB6e76cBZiOFbE9P2aEDQ1rlngSEL J0I3LAsq8TngjCbipvfgkswXne6YhCknIcMgf1kBsQa1aMCCJ6Vs8KNR2IH/8TC28mRx 984vMH57N7Mf/4QLpbGx2DbT5t20SxKlg5Yrt1DCYfxyGIfMM9xHdOVLv20PUYH6fzif RewQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=YVwR1KOSZRSKf6dSpv6OghpMqv+EZyHh/xZhv5r6Ua4=; b=ZiO4gtWDOZEEucOHRccRNq1ksajWoabvSo0HhnTTIdo0uIyDX94b6OaMoMMl1hyPho GwANQtbOBisLu7UPlPzLJ8pQEVY20i+kjJL43EDdCmrt31asKEAxDgttl8D+yUjRo944 b0HDwtBR2ysB1jbqOmp4qwLeIdRQHbzPIYRyHXl0nHRy9/ulJ0Y2p6w66lGL9+yaolNX VHXIYsaZTDsgwvZCiEOtZPfHs2PjUvOLb0DiJm/DHWAlI/er8a2KjZvhVk+OZzNSsztK fGLvgRBjxaCy7JOAyEezWTjCUVe8DVYr4pYo8mkVU8437esuAvVdnGZkyI0lYt40Hu8L NPEQ== X-Gm-Message-State: ALoCoQlGnuPEH1lF5O1tcGkpHnJ/QhFHvK1oQ9FHR1CJj2CUX8E8lx5Y0j2Ns+Jc5qY3IjcntfaHZbJ21v1MLt9Lri8z9qb5oA== X-Received: by 10.66.190.98 with SMTP id gp2mr26073043pac.64.1450114250489; Mon, 14 Dec 2015 09:30:50 -0800 (PST) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id qz2sm44210025pab.14.2015.12.14.09.30.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Dec 2015 09:30:50 -0800 (PST) Date: Mon, 14 Dec 2015 09:30:58 -0800 From: Stephen Hemminger To: Bruce Richardson Message-ID: <20151214093058.2207f569@xeon-e3> In-Reply-To: <20151214160025.GA37212@bricha3-MOBL3> References: <1449790022-24126-1-git-send-email-stephen@networkplumber.org> <2618453.kF8WIUB5uB@xps13> <20151214153055.GA37304@bricha3-MOBL3> <3122170.KpSg9jKaig@xps13> <20151214160025.GA37212@bricha3-MOBL3> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] doc: announce API change for rte_ether.h 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, 14 Dec 2015 17:30:51 -0000 > > FreeBSD > > ------- > > > > struct ether_addr { > > u_char octet[ETHER_ADDR_LEN]; > > } __packed; > > > > struct ether_header { > > u_char ether_dhost[ETHER_ADDR_LEN]; > > u_char ether_shost[ETHER_ADDR_LEN]; > > u_short ether_type; > > } __packed; > > > > Unfortunate. While the idea seems good, I think the structures being different > on the different OS's is a problem that need to be solved before we make such > a change. The different BSD variants have different definitions (ie NetBSD different than FreeBSD) Since the data structures are conformant, the other possiblity is adding ether_ntoa family prototypes to rte_ether.h