From 47bb83cad45eb7ce194a8ffd18f73c98edb46aec Mon Sep 17 00:00:00 2001 From: Cédric Le Goater Date: Fri, 14 Apr 2017 10:35:03 +0200 Subject: slirp: add a fake NC-SI backend NC-SI (Network Controller Sideband Interface) enables a BMC to manage a set of NICs on a system. This model takes the simplest approach and reverses the NC-SI packets to pretend a NIC is present and exercise the Linux driver. The NCSI header file comes from mainline Linux and was untabified. Signed-off-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Acked-by: Samuel Thibault Signed-off-by: Jason Wang --- include/net/eth.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/net') diff --git a/include/net/eth.h b/include/net/eth.h index afeb45be34..09054a506d 100644 --- a/include/net/eth.h +++ b/include/net/eth.h @@ -209,6 +209,7 @@ struct tcp_hdr { #define ETH_P_IPV6 (0x86dd) #define ETH_P_VLAN (0x8100) #define ETH_P_DVLAN (0x88a8) +#define ETH_P_NCSI (0x88f8) #define ETH_P_UNKNOWN (0xffff) #define VLAN_VID_MASK 0x0fff #define IP_HEADER_VERSION_4 (4) -- cgit v1.2.3-55-g7522