Diff for /libelwix/src/net.c between versions 1.1.1.1 and 1.1.1.1.6.1

version 1.1.1.1, 2013/01/17 10:05:35 version 1.1.1.1.6.1, 2013/05/26 20:03:19
Line 54  SUCH DAMAGE. Line 54  SUCH DAMAGE.
  * @len = string length   * @len = string length
  * return: NULL error or !=NULL string a   * return: NULL error or !=NULL string a
  */   */
inline char *char *
 e_ether_ntoa(const struct e_ether_addr *n, char * __restrict a, int len)  e_ether_ntoa(const struct e_ether_addr *n, char * __restrict a, int len)
 {  {
         if (!n || !a)          if (!n || !a)
Line 77  e_ether_ntoa(const struct e_ether_addr *n, char * __re Line 77  e_ether_ntoa(const struct e_ether_addr *n, char * __re
  * @e = ethernet address structure, like struct ether_addr   * @e = ethernet address structure, like struct ether_addr
  * return: NULL error or !=NULL ethernet address structure   * return: NULL error or !=NULL ethernet address structure
  */   */
inline struct e_ether_addr *struct e_ether_addr *
 e_ether_aton(const char *a, struct e_ether_addr *e)  e_ether_aton(const char *a, struct e_ether_addr *e)
 {                         {                       
         int i;          int i;
Line 106  e_ether_aton(const char *a, struct e_ether_addr *e) Line 106  e_ether_aton(const char *a, struct e_ether_addr *e)
  * @addr = Address   * @addr = Address
  * return: 0 not supported family type or port number   * return: 0 not supported family type or port number
  */   */
inline u_shortu_short
 e_n2port(sockaddr_t * __restrict addr)  e_n2port(sockaddr_t * __restrict addr)
 {  {
         u_short port = 0;          u_short port = 0;
Line 274  e_addrcmp(sockaddr_t * __restrict a, sockaddr_t * __re Line 274  e_addrcmp(sockaddr_t * __restrict a, sockaddr_t * __re
  * @usec = microseconds for sleep   * @usec = microseconds for sleep
  * return: -1 interrupted by signal or 0 ok   * return: -1 interrupted by signal or 0 ok
  */   */
inline intint
 e_usleep(u_int usec)  e_usleep(u_int usec)
 {  {
         struct timeval tv = { (time_t) (usec / 1000000), (long) (usec % 1000000) };          struct timeval tv = { (time_t) (usec / 1000000), (long) (usec % 1000000) };

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.6.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>