Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/if_media.c
/* $NetBSD: if_media.c,v 1.1 1997/03/17 02:55:15 thorpej Exp $ */ | /* $NetBSD: if_media.c,v 1.1 1997/03/17 02:55:15 thorpej Exp $ */ | ||||
/* $FreeBSD$ */ | |||||
/*- | /*- | ||||
* SPDX-License-Identifier: BSD-4-Clause | * SPDX-License-Identifier: BSD-4-Clause | ||||
* | * | ||||
* Copyright (c) 1997 | * Copyright (c) 1997 | ||||
* Jonathan Stone and Jason R. Thorpe. All rights reserved. | * Jonathan Stone and Jason R. Thorpe. All rights reserved. | ||||
* | * | ||||
* This software is derived from information provided by Matt Thomas. | * This software is derived from information provided by Matt Thomas. | ||||
Show All 31 Lines | |||||
* | * | ||||
* Where it is safe to do so, this code strays slightly from the BSD/OS | * Where it is safe to do so, this code strays slightly from the BSD/OS | ||||
* design. Software which uses the API (device drivers, basically) | * design. Software which uses the API (device drivers, basically) | ||||
* shouldn't notice any difference. | * shouldn't notice any difference. | ||||
* | * | ||||
* Many thanks to Matt Thomas for providing the information necessary | * Many thanks to Matt Thomas for providing the information necessary | ||||
* to implement this interface. | * to implement this interface. | ||||
*/ | */ | ||||
#include <sys/cdefs.h> | |||||
__FBSDID("$FreeBSD$"); | |||||
#include "opt_ifmedia.h" | #include "opt_ifmedia.h" | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/socket.h> | #include <sys/socket.h> | ||||
#include <sys/sockio.h> | #include <sys/sockio.h> | ||||
#include <sys/malloc.h> | #include <sys/malloc.h> | ||||
▲ Show 20 Lines • Show All 467 Lines • Show Last 20 Lines |