git: Apply netgraph7 megapatch.

Nuno Antunes nant at crater.dragonflybsd.org
Tue Jan 10 06:11:42 PST 2012


commit 0147868ed7917851594b33d2d64fdac33ef85dc6
Author: Nuno Antunes <nuno.antunes at gmail.com>
Date:   Sun Jun 21 13:58:01 2009 +0100

    Apply netgraph7 megapatch.
    
    * Translate objcache calls.
    * Translate uma_zone to objcache.
    * Introduce libnetgraph7 (is compiled when WANT_NETGRAPH7 is defined).
    * Welcome ng_socket.
    * Convert netgraph netisr to a real taskqueue. This fixes a deadlock
      specific to dragonfly.
    * Welcome ng_async.
    * Welcome ng_UI.
    * Welcome ng_ether.
    * Fix mtx_assert translation.
    * Welcome ng_hole.
    * Welcome ng_cisco.
    * Welcome ng_iface.
    * Welcome ng_tee.
    * Welcome ng_atmllc.
    * Welcome ng_bpf.
    * Welcome ng_vjc.

Summary of changes:
 etc/mtree/BSD.include.dist                |   24 +
 include/Makefile                          |    4 +-
 lib/libnetgraph7/Makefile                 |   31 +
 lib/libnetgraph7/debug.c                  |  357 +++
 lib/libnetgraph7/internal.h               |   75 +
 lib/libnetgraph7/msg.c                    |  379 +++
 lib/libnetgraph7/netgraph.3               |  399 +++
 lib/libnetgraph7/netgraph.h               |   70 +
 lib/libnetgraph7/sock.c                   |  300 +++
 sys/Makefile                              |    2 +-
 sys/Makefile.modules                      |    2 +-
 sys/conf/files                            |   31 +-
 sys/net/ethernet.h                        |    3 +-
 sys/net/if_ethersubr.c                    |    5 +-
 sys/netgraph7/Makefile                    |   41 +
 sys/netgraph7/Makefile.inc                |    8 +
 sys/netgraph7/UI/Makefile                 |    9 +
 sys/netgraph7/UI/ng_UI.c                  |  250 ++
 sys/netgraph7/{ => UI}/ng_UI.h            |    0
 sys/netgraph7/async/Makefile              |    9 +
 sys/netgraph7/async/ng_async.c            |  640 +++++
 sys/netgraph7/{ => async}/ng_async.h      |    0
 sys/netgraph7/atmllc/Makefile             |    9 +
 sys/netgraph7/atmllc/ng_atmllc.c          |  284 +++
 sys/netgraph7/{ => atmllc}/ng_atmllc.h    |    0
 sys/netgraph7/bpf/Makefile                |   11 +
 sys/netgraph7/bpf/ng_bpf.c                |  590 +++++
 sys/netgraph7/{ => bpf}/ng_bpf.h          |    0
 sys/netgraph7/cisco/Makefile              |    9 +
 sys/netgraph7/cisco/ng_cisco.c            |  639 +++++
 sys/netgraph7/{ => cisco}/ng_cisco.h      |    0
 sys/netgraph7/dragonfly.c                 |  113 +
 sys/netgraph7/dragonfly.h                 |   50 +-
 sys/netgraph7/ether/Makefile              |    8 +
 sys/netgraph7/ether/ng_ether.c            |  795 ++++++
 sys/netgraph7/{ => ether}/ng_ether.h      |    0
 sys/netgraph7/hole/Makefile               |    9 +
 sys/netgraph7/hole/ng_hole.c              |  228 ++
 sys/netgraph7/{ => hole}/ng_hole.h        |    0
 sys/netgraph7/iface/Makefile              |   23 +
 sys/netgraph7/iface/ng_iface.c            |  883 +++++++
 sys/netgraph7/{ => iface}/ng_iface.h      |    0
 sys/netgraph7/netgraph.h                  |    2 +-
 sys/netgraph7/netgraph/Makefile           |    8 +
 sys/netgraph7/netgraph/ng_base.c          | 3727 +++++++++++++++++++++++++++++
 sys/netgraph7/netgraph/ng_parse.c         | 1916 +++++++++++++++
 sys/netgraph7/ng_UI.c                     |  250 --
 sys/netgraph7/ng_async.c                  |  640 -----
 sys/netgraph7/ng_atmllc.c                 |  275 ---
 sys/netgraph7/ng_base.c                   | 3714 ----------------------------
 sys/netgraph7/ng_bpf.c                    |  592 -----
 sys/netgraph7/ng_cisco.c                  |  639 -----
 sys/netgraph7/ng_ether.c                  |  791 ------
 sys/netgraph7/ng_hole.c                   |  228 --
 sys/netgraph7/ng_iface.c                  |  811 -------
 sys/netgraph7/ng_parse.c                  | 1916 ---------------
 sys/netgraph7/ng_socket.c                 | 1140 ---------
 sys/netgraph7/ng_socket.h                 |   70 -
 sys/netgraph7/ng_tee.c                    |  399 ---
 sys/netgraph7/ng_vjc.c                    |  616 -----
 sys/netgraph7/socket/Makefile             |    9 +
 sys/netgraph7/socket/ng_socket.c          | 1156 +++++++++
 sys/netgraph7/socket/ng_socket.h          |   72 +
 sys/netgraph7/{ => socket}/ng_socketvar.h |    0
 sys/netgraph7/tee/Makefile                |    9 +
 sys/netgraph7/tee/ng_tee.c                |  399 +++
 sys/netgraph7/{ => tee}/ng_tee.h          |    0
 sys/netgraph7/vjc/Makefile                |   11 +
 sys/netgraph7/vjc/ng_vjc.c                |  616 +++++
 sys/netgraph7/{ => vjc}/ng_vjc.h          |    0
 70 files changed, 14188 insertions(+), 12108 deletions(-)
 create mode 100644 lib/libnetgraph7/Makefile
 create mode 100644 lib/libnetgraph7/debug.c
 create mode 100644 lib/libnetgraph7/internal.h
 create mode 100644 lib/libnetgraph7/msg.c
 create mode 100644 lib/libnetgraph7/netgraph.3
 create mode 100644 lib/libnetgraph7/netgraph.h
 create mode 100644 lib/libnetgraph7/sock.c
 create mode 100644 sys/netgraph7/Makefile
 create mode 100644 sys/netgraph7/Makefile.inc
 create mode 100644 sys/netgraph7/UI/Makefile
 create mode 100644 sys/netgraph7/UI/ng_UI.c
 rename sys/netgraph7/{ => UI}/ng_UI.h (100%)
 create mode 100644 sys/netgraph7/async/Makefile
 create mode 100644 sys/netgraph7/async/ng_async.c
 rename sys/netgraph7/{ => async}/ng_async.h (100%)
 create mode 100644 sys/netgraph7/atmllc/Makefile
 create mode 100644 sys/netgraph7/atmllc/ng_atmllc.c
 rename sys/netgraph7/{ => atmllc}/ng_atmllc.h (100%)
 create mode 100644 sys/netgraph7/bpf/Makefile
 create mode 100644 sys/netgraph7/bpf/ng_bpf.c
 rename sys/netgraph7/{ => bpf}/ng_bpf.h (100%)
 create mode 100644 sys/netgraph7/cisco/Makefile
 create mode 100644 sys/netgraph7/cisco/ng_cisco.c
 rename sys/netgraph7/{ => cisco}/ng_cisco.h (100%)
 create mode 100644 sys/netgraph7/dragonfly.c
 create mode 100644 sys/netgraph7/ether/Makefile
 create mode 100644 sys/netgraph7/ether/ng_ether.c
 rename sys/netgraph7/{ => ether}/ng_ether.h (100%)
 create mode 100644 sys/netgraph7/hole/Makefile
 create mode 100644 sys/netgraph7/hole/ng_hole.c
 rename sys/netgraph7/{ => hole}/ng_hole.h (100%)
 create mode 100644 sys/netgraph7/iface/Makefile
 create mode 100644 sys/netgraph7/iface/ng_iface.c
 rename sys/netgraph7/{ => iface}/ng_iface.h (100%)
 create mode 100644 sys/netgraph7/netgraph/Makefile
 create mode 100644 sys/netgraph7/netgraph/ng_base.c
 create mode 100644 sys/netgraph7/netgraph/ng_parse.c
 delete mode 100644 sys/netgraph7/ng_UI.c
 delete mode 100644 sys/netgraph7/ng_async.c
 delete mode 100644 sys/netgraph7/ng_atmllc.c
 delete mode 100644 sys/netgraph7/ng_base.c
 delete mode 100644 sys/netgraph7/ng_bpf.c
 delete mode 100644 sys/netgraph7/ng_cisco.c
 delete mode 100644 sys/netgraph7/ng_ether.c
 delete mode 100644 sys/netgraph7/ng_hole.c
 delete mode 100644 sys/netgraph7/ng_iface.c
 delete mode 100644 sys/netgraph7/ng_parse.c
 delete mode 100644 sys/netgraph7/ng_socket.c
 delete mode 100644 sys/netgraph7/ng_socket.h
 delete mode 100644 sys/netgraph7/ng_tee.c
 delete mode 100644 sys/netgraph7/ng_vjc.c
 create mode 100644 sys/netgraph7/socket/Makefile
 create mode 100644 sys/netgraph7/socket/ng_socket.c
 create mode 100644 sys/netgraph7/socket/ng_socket.h
 rename sys/netgraph7/{ => socket}/ng_socketvar.h (100%)
 create mode 100644 sys/netgraph7/tee/Makefile
 create mode 100644 sys/netgraph7/tee/ng_tee.c
 rename sys/netgraph7/{ => tee}/ng_tee.h (100%)
 create mode 100644 sys/netgraph7/vjc/Makefile
 create mode 100644 sys/netgraph7/vjc/ng_vjc.c
 rename sys/netgraph7/{ => vjc}/ng_vjc.h (100%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0147868ed7917851594b33d2d64fdac33ef85dc6


-- 
DragonFly BSD source repository





More information about the Commits mailing list