if_dl.h (57637) | if_dl.h (92725) |
---|---|
1/* 2 * Copyright (c) 1990, 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)if_dl.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1990, 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)if_dl.h 8.1 (Berkeley) 6/10/93 |
34 * $FreeBSD: head/sys/net/if_dl.h 57637 2000-03-01 02:46:25Z archie $ | 34 * $FreeBSD: head/sys/net/if_dl.h 92725 2002-03-19 21:54:18Z alfred $ |
35 */ 36 37#ifndef _NET_IF_DL_H_ 38#define _NET_IF_DL_H_ 39 40/* 41 * A Link-Level Sockaddr may specify the interface in one of two 42 * ways: either by means of a system-provided index number (computed --- 31 unchanged lines hidden (view full) --- 74 75#define LLADDR(s) ((caddr_t)((s)->sdl_data + (s)->sdl_nlen)) 76 77#ifndef _KERNEL 78 79#include <sys/cdefs.h> 80 81__BEGIN_DECLS | 35 */ 36 37#ifndef _NET_IF_DL_H_ 38#define _NET_IF_DL_H_ 39 40/* 41 * A Link-Level Sockaddr may specify the interface in one of two 42 * ways: either by means of a system-provided index number (computed --- 31 unchanged lines hidden (view full) --- 74 75#define LLADDR(s) ((caddr_t)((s)->sdl_data + (s)->sdl_nlen)) 76 77#ifndef _KERNEL 78 79#include <sys/cdefs.h> 80 81__BEGIN_DECLS |
82void link_addr __P((const char *, struct sockaddr_dl *)); 83char *link_ntoa __P((const struct sockaddr_dl *)); | 82void link_addr(const char *, struct sockaddr_dl *); 83char *link_ntoa(const struct sockaddr_dl *); |
84__END_DECLS 85 86#endif /* !_KERNEL */ 87 88#endif | 84__END_DECLS 85 86#endif /* !_KERNEL */ 87 88#endif |