Changeset f75c85e in rtems
- Timestamp:
- 04/14/05 14:27:21 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8d740cf1
- Parents:
- 9308d7be
- Location:
- cpukit/libnetworking
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libnetworking/arpa/inet.h
r9308d7be rf75c85e 48 48 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 49 49 * SOFTWARE. 50 * 51 * @(#)inet.h 8.1 (Berkeley) 6/2/93 52 * From: Id: inet.h,v 8.5 1997/01/29 08:48:09 vixie Exp $ 53 * $FreeBSD: src/include/arpa/inet.h,v 1.25 2002/08/21 16:19:56 mike Exp $ 50 54 */ 51 55 52 56 /* 53 * @(#)inet.h 8.1 (Berkeley) 6/2/93 54 * From: Id: inet.h,v 8.5 1997/01/29 08:48:09 vixie Exp $ 55 * $Id$ 57 * $Id$ 56 58 */ 57 59 -
cpukit/libnetworking/net/if_dl.h
r9308d7be rf75c85e 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 32 28 * 33 29 * @(#)if_dl.h 8.1 (Berkeley) 6/10/93 30 * $FreeBSD: src/sys/net/if_dl.h,v 1.14 2005/01/07 01:45:34 imp Exp $ 31 */ 32 33 /* 34 34 * $Id$ 35 35 */ … … 61 61 struct sockaddr_dl { 62 62 u_char sdl_len; /* Total length of sockaddr */ 63 u_char sdl_family; /* AF_ DLI*/63 u_char sdl_family; /* AF_LINK */ 64 64 u_short sdl_index; /* if != 0, system given index for interface */ 65 65 u_char sdl_type; /* interface type */ … … 67 67 u_char sdl_alen; /* link level address length */ 68 68 u_char sdl_slen; /* link layer selector length */ 69 char sdl_data[ 12]; /* minimum work area, can be larger;69 char sdl_data[46]; /* minimum work area, can be larger; 70 70 contains both if name and ll address */ 71 71 }; … … 78 78 79 79 __BEGIN_DECLS 80 void link_addr __P((const char *, struct sockaddr_dl *));81 char *link_ntoa __P((const struct sockaddr_dl *));80 void link_addr(const char *, struct sockaddr_dl *); 81 char *link_ntoa(const struct sockaddr_dl *); 82 82 __END_DECLS 83 83
Note: See TracChangeset
for help on using the changeset viewer.