net: add rte prefix to IP defines
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 21 May 2019 16:13:11 +0000 (18:13 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 24 May 2019 11:34:46 +0000 (13:34 +0200)
commit24ac604ef7469eb5773c2504b313dd00257f8df3
treea2ee7f8600ab23cd59e47006ca2177f7d0ea6d52
parenta7c528e5d71ff3f569898d268f9de129fdfc152b
net: add rte prefix to IP defines

Add 'RTE_' prefix to defines:
- rename IPv4( as RTE_IPv4(.
- rename IPV4_MAX_PKT_LEN as RTE_IPV4_MAX_PKT_LEN.
- rename IPV4_HDR_IHL_MASK as RTE_IPV4_HDR_IHL_MASK.
- rename IPV4_IHL_MULTIPLIER as RTE_IPV4_IHL_MULTIPLIER.
- rename IPV4_HDR_DF_SHIFT as RTE_IPV4_HDR_DF_SHIFT.
- rename IPV4_HDR_MF_SHIFT as RTE_IPV4_HDR_MF_SHIFT.
- rename IPV4_HDR_FO_SHIFT as RTE_IPV4_HDR_FO_SHIFT.
- rename IPV4_HDR_DF_FLAG as RTE_IPV4_HDR_DF_FLAG.
- rename IPV4_HDR_MF_FLAG as RTE_IPV4_HDR_MF_FLAG.
- rename IPV4_HDR_OFFSET_MASK as RTE_IPV4_HDR_OFFSET_MASK.
- rename IPV4_HDR_OFFSET_UNITS as RTE_IPV4_HDR_OFFSET_UNITS.
- rename IPV4_ANY as RTE_IPV4_ANY.
- rename IPV4_LOOPBACK as RTE_IPV4_LOOPBACK.
- rename IPV4_BROADCAST as RTE_IPV4_BROADCAST.
- rename IPV4_ALLHOSTS_GROUP as RTE_IPV4_ALLHOSTS_GROUP.
- rename IPV4_ALLRTRS_GROUP as RTE_IPV4_ALLRTRS_GROUP.
- rename IPV4_MAX_LOCAL_GROUP as RTE_IPV4_MAX_LOCAL_GROUP.
- rename IPV4_MIN_MCAST as RTE_IPV4_MIN_MCAST.
- rename IPV4_MAX_MCAST as RTE_IPV4_MAX_MCAST.
- rename IS_IPV4_MCAST as RTE_IS_IPV4_MCAST.
- rename IPV6_HDR_FL_SHIFT as RTE_IPV6_HDR_FL_SHIFT.
- rename IPV6_HDR_TC_SHIFT as RTE_IPV6_HDR_TC_SHIFT.
- rename IPV6_HDR_FL_MASK as RTE_IPV6_HDR_FL_MASK.
- rename IPV6_HDR_TC_MASK as RTE_IPV6_HDR_TC_MASK.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
50 files changed:
app/test-acl/main.c
app/test-pmd/cmdline_flow.c
app/test-pmd/flowgen.c
app/test-pmd/testpmd.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_mode4.c
app/test/test_lpm.c
app/test/test_lpm_perf.c
app/test/test_member.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/bonding/rte_eth_bond_pmd.c
drivers/net/ena/ena_ethdev.c
drivers/net/i40e/i40e_flow.c
drivers/net/ixgbe/ixgbe_rxtx.c
drivers/net/mlx5/mlx5_flow_tcf.c
drivers/net/mlx5/mlx5_flow_verbs.c
drivers/net/tap/tap_bpf_program.c
drivers/net/vmxnet3/vmxnet3_rxtx.c
examples/flow_classify/flow_classify.c
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.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
lib/librte_gro/gro_tcp4.c
lib/librte_gro/gro_vxlan_tcp4.c
lib/librte_gso/gso_common.h
lib/librte_ip_frag/rte_ip_frag.h
lib/librte_ip_frag/rte_ipv4_fragmentation.c
lib/librte_ip_frag/rte_ipv4_reassembly.c
lib/librte_net/rte_ip.h
lib/librte_net/rte_net.c
lib/librte_port/rte_port_ras.c