11.1Sroy/* $NetBSD: vether_component.c,v 1.1 2020/09/29 18:33:23 roy Exp $ */ 21.1Sroy 31.1Sroy/* 41.1Sroy * Copyright (c) 2020 Roy Marples. All Rights Reserved. 51.1Sroy * 61.1Sroy * Redistribution and use in source and binary forms, with or without 71.1Sroy * modification, are permitted provided that the following conditions 81.1Sroy * are met: 91.1Sroy * 1. Redistributions of source code must retain the above copyright 101.1Sroy * notice, this list of conditions and the following disclaimer. 111.1Sroy * 2. Redistributions in binary form must reproduce the above copyright 121.1Sroy * notice, this list of conditions and the following disclaimer in the 131.1Sroy * documentation and/or other materials provided with the distribution. 141.1Sroy * 151.1Sroy * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 161.1Sroy * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 171.1Sroy * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 181.1Sroy * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 191.1Sroy * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 201.1Sroy * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 211.1Sroy * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 221.1Sroy * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 231.1Sroy * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 241.1Sroy * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 251.1Sroy * SUCH DAMAGE. 261.1Sroy */ 271.1Sroy 281.1Sroy#include <sys/cdefs.h> 291.1Sroy__KERNEL_RCSID(0, "$NetBSD: vether_component.c,v 1.1 2020/09/29 18:33:23 roy Exp $"); 301.1Sroy 311.1Sroy#include <sys/param.h> 321.1Sroy 331.1Sroy#include <rump-sys/kern.h> 341.1Sroy 351.1Sroyvoid vetherattach(int); 361.1Sroy 371.1SroyRUMP_COMPONENT(RUMP_COMPONENT_NET_IF) 381.1Sroy{ 391.1Sroy 401.1Sroy vetherattach(0); 411.1Sroy} 42