version 1.1.1.2, 2013/07/22 08:44:29
|
version 1.1.1.3, 2016/11/01 09:56:12
|
Line 11
|
Line 11
|
#define _UTIL_H_ |
#define _UTIL_H_ |
|
|
#include "ip.h" |
#include "ip.h" |
| #include <net/ethernet.h> |
| #include <osreldate.h> |
/*- |
/*- |
* The following macro is used to update an |
* The following macro is used to update an |
* internet checksum. "acc" is a 32-bit |
* internet checksum. "acc" is a 32-bit |
Line 97
|
Line 98
|
extern int GetPeerEther(struct u_addr *addr, struct sockaddr_dl *hwaddr); |
extern int GetPeerEther(struct u_addr *addr, struct sockaddr_dl *hwaddr); |
extern void ppp_util_ascify(char *buf, size_t max, |
extern void ppp_util_ascify(char *buf, size_t max, |
const char *bytes, size_t len); |
const char *bytes, size_t len); |
|
#ifndef HAVE_NTOA_R |
|
extern char *ether_ntoa_r(const struct ether_addr *n, char *a); |
|
#endif |
|
|
#endif |
#endif |