git: Refactor the source for ipfw2.

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 12 14:34:24 PDT 2015


commit 37cedf0790763bedfa5fe3a4c217f77ec5163593
Author: Bill Yuan <bycn82 at gmail.com>
Date:   Thu Dec 4 22:56:56 2014 +0800

    Refactor the source for ipfw2.

Summary of changes:
 lib/libipfw2/Makefile                                | 10 +++++-----
 lib/libipfw2/basic/Makefile                          |  6 +++---
 lib/libipfw2/basic/{ipfw_basic.c => ipfw2_basic.c}   |  2 +-
 lib/libipfw2/basic/{ipfw_basic.h => ipfw2_basic.h}   |  2 +-
 lib/libipfw2/dummynet/Makefile                       |  6 +++---
 .../dummynet/{ipfw_dummynet.c => ipfw2_dummynet.c}   |  2 +-
 .../dummynet/{ipfw_dummynet.h => ipfw2_dummynet.h}   |  2 +-
 lib/libipfw2/layer2/Makefile                         |  6 +++---
 .../layer2/{ipfw_layer2.c => ipfw2_layer2.c}         |  2 +-
 .../layer2/{ipfw_layer2.h => ipfw2_layer2.h}         |  2 +-
 lib/libipfw2/layer4/Makefile                         |  6 +++---
 .../layer4/{ipfw_layer4.c => ipfw2_layer4.c}         |  2 +-
 .../layer4/{ipfw_layer4.h => ipfw2_layer4.h}         |  2 +-
 lib/libipfw2/nat/Makefile                            |  6 +++---
 lib/libipfw2/nat/{ipfw_nat.c => ipfw2_nat.c}         |  2 +-
 lib/libipfw2/nat/{ipfw_nat.h => ipfw2_nat.h}         |  2 +-
 sbin/ipfw2/ipfw2.c                                   | 11 ++++++-----
 sys/net/dummynet2/Makefile                           |  2 +-
 sys/net/dummynet2/{ip_dummynet.c => ip_dummynet2.c}  | 10 +++++-----
 sys/net/dummynet2/{ip_dummynet.h => ip_dummynet2.h}  |  0
 .../{ip_dummynet_glue.c => ip_dummynet2_glue.c}      |  0
 sys/net/ipfw2/ip_fw.h                                |  2 +-
 sys/net/ipfw2/ip_fw2.c                               |  7 ++++---
 sys/net/ipfw2/ip_fw2.h                               |  4 ++--
 sys/net/ipfw2/ip_fw2_glue.c                          |  8 ++++----
 sys/net/ipfw2_basic/Makefile                         |  4 ++--
 .../ipfw2_basic/{ip_fw_basic.c => ip_fw2_basic.c}    |  2 +-
 .../ipfw2_basic/{ip_fw_basic.h => ip_fw2_basic.h}    |  0
 sys/net/ipfw2_layer2/Makefile                        |  4 ++--
 .../ipfw2_layer2/{ip_fw_layer2.c => ip_fw2_layer2.c} | 10 +++++-----
 .../ipfw2_layer2/{ip_fw_layer2.h => ip_fw2_layer2.h} |  0
 sys/net/ipfw2_layer4/Makefile                        |  4 ++--
 .../ipfw2_layer4/{ip_fw_layer4.c => ip_fw2_layer4.c} | 10 +++++-----
 .../ipfw2_layer4/{ip_fw_layer4.h => ip_fw2_layer4.h} |  0
 sys/net/ipfw2_nat/Makefile                           |  4 ++--
 sys/net/ipfw2_nat/{ip_fw_nat.c => ip_fw2_nat.c}      | 12 ++++++------
 sys/net/ipfw2_nat/{ip_fw_nat.h => ip_fw2_nat.h}      |  0
 sys/netinet/in.h                                     |  1 +
 sys/netinet/raw_ip.c                                 | 20 ++++++++++++++++++--
 39 files changed, 97 insertions(+), 78 deletions(-)
 rename lib/libipfw2/basic/{ipfw_basic.c => ipfw2_basic.c} (99%)
 rename lib/libipfw2/basic/{ipfw_basic.h => ipfw2_basic.h} (96%)
 rename lib/libipfw2/dummynet/{ipfw_dummynet.c => ipfw2_dummynet.c} (99%)
 rename lib/libipfw2/dummynet/{ipfw_dummynet.h => ipfw2_dummynet.h} (96%)
 rename lib/libipfw2/layer2/{ipfw_layer2.c => ipfw2_layer2.c} (99%)
 rename lib/libipfw2/layer2/{ipfw_layer2.h => ipfw2_layer2.h} (96%)
 rename lib/libipfw2/layer4/{ipfw_layer4.c => ipfw2_layer4.c} (99%)
 rename lib/libipfw2/layer4/{ipfw_layer4.h => ipfw2_layer4.h} (96%)
 rename lib/libipfw2/nat/{ipfw_nat.c => ipfw2_nat.c} (99%)
 rename lib/libipfw2/nat/{ipfw_nat.h => ipfw2_nat.h} (97%)
 rename sys/net/dummynet2/{ip_dummynet.c => ip_dummynet2.c} (99%)
 rename sys/net/dummynet2/{ip_dummynet.h => ip_dummynet2.h} (100%)
 rename sys/net/dummynet2/{ip_dummynet_glue.c => ip_dummynet2_glue.c} (100%)
 rename sys/net/ipfw2_basic/{ip_fw_basic.c => ip_fw2_basic.c} (99%)
 rename sys/net/ipfw2_basic/{ip_fw_basic.h => ip_fw2_basic.h} (100%)
 rename sys/net/ipfw2_layer2/{ip_fw_layer2.c => ip_fw2_layer2.c} (94%)
 rename sys/net/ipfw2_layer2/{ip_fw_layer2.h => ip_fw2_layer2.h} (100%)
 rename sys/net/ipfw2_layer4/{ip_fw_layer4.c => ip_fw2_layer4.c} (96%)
 rename sys/net/ipfw2_layer4/{ip_fw_layer4.h => ip_fw2_layer4.h} (100%)
 rename sys/net/ipfw2_nat/{ip_fw_nat.c => ip_fw2_nat.c} (98%)
 rename sys/net/ipfw2_nat/{ip_fw_nat.h => ip_fw2_nat.h} (100%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/37cedf0790763bedfa5fe3a4c217f77ec5163593


-- 
DragonFly BSD source repository



More information about the Commits mailing list