if_ethersubr.c (131856) | if_ethersubr.c (132712) |
---|---|
1/* 2 * Copyright (c) 1982, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1982, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93 |
30 * $FreeBSD: head/sys/net/if_ethersubr.c 131856 2004-07-09 05:26:27Z bms $ | 30 * $FreeBSD: head/sys/net/if_ethersubr.c 132712 2004-07-27 23:20:45Z rwatson $ |
31 */ 32 33#include "opt_atalk.h" 34#include "opt_inet.h" 35#include "opt_inet6.h" 36#include "opt_ipx.h" 37#include "opt_bdg.h" 38#include "opt_mac.h" --- 844 unchanged lines hidden (view full) --- 883 bdgtakeifaces_ptr(); 884 885 /* Announce Ethernet MAC address if non-zero. */ 886 for (i = 0; i < ifp->if_addrlen; i++) 887 if (llc[i] != 0) 888 break; 889 if (i != ifp->if_addrlen) 890 if_printf(ifp, "Ethernet address: %6D\n", llc, ":"); | 31 */ 32 33#include "opt_atalk.h" 34#include "opt_inet.h" 35#include "opt_inet6.h" 36#include "opt_ipx.h" 37#include "opt_bdg.h" 38#include "opt_mac.h" --- 844 unchanged lines hidden (view full) --- 883 bdgtakeifaces_ptr(); 884 885 /* Announce Ethernet MAC address if non-zero. */ 886 for (i = 0; i < ifp->if_addrlen; i++) 887 if (llc[i] != 0) 888 break; 889 if (i != ifp->if_addrlen) 890 if_printf(ifp, "Ethernet address: %6D\n", llc, ":"); |
891 if (debug_mpsafenet && (ifp->if_flags & IFF_NEEDSGIANT) != 0) 892 if_printf(ifp, "if_start running deferred for Giant\n"); |
|
891} 892 893/* 894 * Perform common duties while detaching an Ethernet interface 895 */ 896void 897ether_ifdetach(struct ifnet *ifp) 898{ --- 252 unchanged lines hidden --- | 893} 894 895/* 896 * Perform common duties while detaching an Ethernet interface 897 */ 898void 899ether_ifdetach(struct ifnet *ifp) 900{ --- 252 unchanged lines hidden --- |