net: replace IPv4/v6 constants with uppercase name
authorDavid Marchand <david.marchand@redhat.com>
Wed, 29 May 2019 11:29:16 +0000 (13:29 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jun 2019 14:54:54 +0000 (16:54 +0200)
commit0c9da7555da8c8373dfd69f798f832723ae6de71
tree8f3265d9a34b302e2a69af1ec256f382fce26614
parentaa5d6a72de4a7454a6142e5f5b032c35dbd165ff
net: replace IPv4/v6 constants with uppercase name

Since we change these macros, we might as well avoid triggering complaints
from checkpatch because of mixed case.

old=RTE_IPv4
new=RTE_IPV4
git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"

old=RTE_ETHER_TYPE_IPv4
new=RTE_ETHER_TYPE_IPV4
git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"

old=RTE_ETHER_TYPE_IPv6
new=RTE_ETHER_TYPE_IPV6
git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
68 files changed:
app/test-acl/main.c
app/test-pmd/cmdline_flow.c
app/test-pmd/csumonly.c
app/test-pmd/flowgen.c
app/test-pmd/icmpecho.c
app/test-pmd/testpmd.c
app/test-pmd/txonly.c
app/test/packet_burst_generator.c
app/test/test_acl.c
app/test/test_acl.h
app/test/test_efd.c
app/test/test_flow_classify.c
app/test/test_hash.c
app/test/test_ipsec.c
app/test/test_link_bonding.c
app/test/test_link_bonding_mode4.c
app/test/test_lpm.c
app/test/test_lpm_perf.c
app/test/test_member.c
app/test/test_pmd_perf.c
app/test/test_sched.c
app/test/test_table_acl.c
app/test/test_thash.c
doc/guides/prog_guide/packet_classif_access_ctrl.rst
doc/guides/sample_app_ug/ip_frag.rst
doc/guides/sample_app_ug/ip_reassembly.rst
doc/guides/sample_app_ug/ipv4_multicast.rst
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bonding/rte_eth_bond_alb.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/cxgbe/cxgbe_flow.c
drivers/net/dpaa/dpaa_rxtx.c
drivers/net/e1000/igb_ethdev.c
drivers/net/e1000/igb_flow.c
drivers/net/enic/enic_flow.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_fdir.c
drivers/net/i40e/i40e_flow.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_flow.c
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/qede/qede_filter.c
drivers/net/qede/qede_rxtx.c
drivers/net/tap/rte_eth_tap.c
examples/bond/main.c
examples/flow_classify/flow_classify.c
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipsec-secgw/sa.c
examples/ipv4_multicast/main.c
examples/l2fwd-crypto/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/l3fwd_em.c
examples/l3fwd/l3fwd_lpm.c
examples/performance-thread/l3fwd-thread/main.c
examples/tep_termination/vxlan.c
examples/tep_termination/vxlan_setup.c
examples/vhost/main.c
lib/librte_eventdev/rte_event_eth_rx_adapter.c
lib/librte_net/rte_arp.c
lib/librte_net/rte_ether.h
lib/librte_net/rte_ip.h
lib/librte_net/rte_net.c
lib/librte_pipeline/rte_table_action.c
lib/librte_vhost/virtio_net.c