DragonFly commits List (threaded) for 2009-04
DragonFly BSD
DragonFly commits List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.617.g12b719 master Makefile_upgrade.inc contrib/bind-9.3/lib/bind/inet nsap_addr.c include/arpa inet.h include netdb.h lib/libc/amd64/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/i386/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/net Makefile.inc addr2ascii.3 addr2ascii.c ascii2addr.c byteorder.3 ether_addr.c ethers.3 eui64.3 getaddrinfo.3 getifaddrs.3 getifaddrs.c getipnodebyname.3 getnetent.3 getprotoent.3 getservent.3 if_indextoname.3 if_nametoindex.c inet.3 inet6_option_space.3 inet6_rthdr_space.3 inet_net.3 ip6opt.c iso_addr.3 iso_addr.c linkaddr.3 linkaddr.c map_v4v6.c ns.3 ns_addr.c ns_ntoa.c nsap_addr.c ntoh.c rcmd.3 rcmd.c rcmdsh.3 rcmdsh.c recv.c resolver.3 send.c sockatmark.3 sockatmark.c vars.c sbin/route Makefile show.c share/man/man9 Makefile byteorder.9 sys/net ethernet.h if.c if.h sys/sys sockio.h


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Apr 2009 00:12:26 -0700 (PDT)

commit 12b71966523767edac25f6eae662fc718114c28b
Author: Peter Avalos <pavalos@theshell.com>
Date:   Mon Feb 2 02:19:33 2009 -0500

    Sync lib/net with FreeBSD:
    
    * Add a byteorder.9 manual page.
    * Remove the addr2ascii and ascii2addr functions.  They aren't used in
      the tree, and there's other functions that are more generic and
      appropriate.
    * Fix a few style issues.
    * Add and document ether_ntoa_r() and ether_aton_r() functions, which
      accept passed storage buffers rather than using static storage.
      Reimplement ether_ntoa() and ether_aton() in terms of these functions.
      These variants are thread-safe.
    * Document that AI_ALL and AI_V4MAPPED flags are currently not supported.
    * Add a SIOCGIFINDEX ioctl, which returns the index of a named interface.
      Use this ioctl in if_nametoindex(3) to use network aliases.
    * Add restrict qualifier where needed.
    * Add inet_ntoa_r() - a re-entrant function of inet_ntoa.
    * Note that inet6_option_space.3 and inet6_rthdr_space.3 functions are
      deprecated in favor of inet6_opt_init.3 and inet6_rth_space.3.
    * Remove NS and ISO stuff.
    * Sync map_v4v6.c with BIND9.
    * Instead of re-implementing hton[ls] and friends for each arch, add a
      new MI file, net/ntoh.c, which just implement them using the inline
      functions from <sys/endian.h>.
    * Fix some namespace issues in <netdb.h>.

Summary of changes:
 Makefile_upgrade.inc                       |    4 +
 contrib/bind-9.3/lib/bind/inet/nsap_addr.c |    2 +-
 include/arpa/inet.h                        |    4 +-
 include/netdb.h                            |   86 +++----
 lib/libc/amd64/net/Makefile.inc            |    5 -
 lib/libc/amd64/net/htonl.S                 |   50 ----
 lib/libc/amd64/net/htons.S                 |   50 ----
 lib/libc/amd64/net/ntohl.S                 |   50 ----
 lib/libc/amd64/net/ntohs.S                 |   52 ----
 lib/libc/i386/net/Makefile.inc             |    5 -
 lib/libc/i386/net/htonl.S                  |   49 ----
 lib/libc/i386/net/htons.S                  |   47 ----
 lib/libc/i386/net/ntohl.S                  |   49 ----
 lib/libc/i386/net/ntohs.S                  |   47 ----
 lib/libc/net/Makefile.inc                  |   43 +--
 lib/libc/net/addr2ascii.3                  |  223 ---------------
 lib/libc/net/addr2ascii.c                  |   92 -------
 lib/libc/net/ascii2addr.c                  |   70 -----
 lib/libc/net/byteorder.3                   |   23 +-
 lib/libc/net/ether_addr.c                  |  120 +++++----
 lib/libc/net/ethers.3                      |   86 +++++--
 lib/libc/net/eui64.3                       |    2 +-
 lib/libc/net/getaddrinfo.3                 |   59 +----
 lib/libc/net/getifaddrs.3                  |    9 +-
 lib/libc/net/getifaddrs.c                  |    2 +-
 lib/libc/net/getipnodebyname.3             |  105 ++++----
 lib/libc/net/getnetent.3                   |   23 +-
 lib/libc/net/getprotoent.3                 |   11 +-
 lib/libc/net/getservent.3                  |   11 +-
 lib/libc/net/if_indextoname.3              |   62 +++--
 lib/libc/net/if_nametoindex.c              |   19 ++-
 lib/libc/net/inet.3                        |   88 +++++--
 lib/libc/net/inet6_option_space.3          |  401 +---------------------------
 lib/libc/net/inet6_rthdr_space.3           |  272 +------------------
 lib/libc/net/inet_net.3                    |   24 +-
 lib/libc/net/ip6opt.c                      |   72 +++---
 lib/libc/net/iso_addr.3                    |  114 --------
 lib/libc/net/iso_addr.c                    |  112 --------
 lib/libc/net/linkaddr.3                    |   22 +-
 lib/libc/net/linkaddr.c                    |    1 +
 lib/libc/net/map_v4v6.c                    |   22 +-
 lib/libc/net/ns.3                          |  134 ---------
 lib/libc/net/ns_addr.c                     |  215 ---------------
 lib/libc/net/ns_ntoa.c                     |  104 -------
 lib/libc/net/nsap_addr.c                   |  106 --------
 lib/libc/net/ntoh.c                        |   53 ++++
 lib/libc/net/rcmd.3                        |   29 ++-
 lib/libc/net/rcmd.c                        |   55 ++---
 lib/libc/net/rcmdsh.3                      |   14 +-
 lib/libc/net/rcmdsh.c                      |    5 +-
 lib/libc/net/recv.c                        |    5 +-
 lib/libc/net/resolver.3                    |  115 +++++++--
 lib/libc/net/send.c                        |    5 +-
 lib/libc/net/sockatmark.3                  |  124 +++++++++
 lib/libc/net/sockatmark.c                  |   37 +++
 lib/libc/net/vars.c                        |    2 +-
 sbin/route/Makefile                        |    2 +-
 sbin/route/show.c                          |    2 +
 share/man/man9/Makefile                    |   28 ++
 share/man/man9/byteorder.9                 |  169 ++++++++++++
 sys/net/ethernet.h                         |    2 +
 sys/net/if.c                               |    4 +
 sys/net/if.h                               |    2 +
 sys/sys/sockio.h                           |    1 +
 64 files changed, 1067 insertions(+), 2734 deletions(-)
 delete mode 100644 lib/libc/amd64/net/Makefile.inc
 delete mode 100644 lib/libc/amd64/net/htonl.S
 delete mode 100644 lib/libc/amd64/net/htons.S
 delete mode 100644 lib/libc/amd64/net/ntohl.S
 delete mode 100644 lib/libc/amd64/net/ntohs.S
 delete mode 100644 lib/libc/i386/net/Makefile.inc
 delete mode 100644 lib/libc/i386/net/htonl.S
 delete mode 100644 lib/libc/i386/net/htons.S
 delete mode 100644 lib/libc/i386/net/ntohl.S
 delete mode 100644 lib/libc/i386/net/ntohs.S
 delete mode 100644 lib/libc/net/addr2ascii.3
 delete mode 100644 lib/libc/net/addr2ascii.c
 delete mode 100644 lib/libc/net/ascii2addr.c
 delete mode 100644 lib/libc/net/iso_addr.3
 delete mode 100644 lib/libc/net/iso_addr.c
 delete mode 100644 lib/libc/net/ns.3
 delete mode 100644 lib/libc/net/ns_addr.c
 delete mode 100644 lib/libc/net/ns_ntoa.c
 delete mode 100644 lib/libc/net/nsap_addr.c
 create mode 100644 lib/libc/net/ntoh.c
 create mode 100644 lib/libc/net/sockatmark.3
 create mode 100644 lib/libc/net/sockatmark.c
 create mode 100644 share/man/man9/byteorder.9

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12b71966523767edac25f6eae662fc718114c28b


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]