1 /******************************************************************************
2 * Copyright (c) 2004, 2008 IBM Corporation
4 * This program and the accompanying materials
5 * are made available under the terms of the BSD License
6 * which accompanies this distribution, and is available at
7 * http://www.opensource.org/licenses/bsd-license.php
10 * IBM Corporation - initial implementation
11 *****************************************************************************/
27 #define INADDR_ANY 0xFFFFFFFF
31 #define ETH_ALEN 6 /**< HW address length */
39 // protocol field is only used by "connect"-handler
41 uint8_t mac_addr[ETH_ALEN];
44 int socket(int, int, int, char *);
45 int sendto(int, const void *, int, int, const void *, int);
46 int send(int, const void *, int, int);
47 int recv(int, void *, int, int);