net: add rte prefix to ip defines
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 18 Mar 2019 17:07:33 +0000 (18:07 +0100)
committerOlivier Matz <olivier.matz@6wind.com>
Mon, 18 Mar 2019 17:12:52 +0000 (18:12 +0100)
commit4b5a4c29fe123ca2aa5b0a86eba4eeb22e640211
tree8f9852e21d5fedfd873fdf257620062a106a1008
parent8f46975ce065e298eb3f7d3334c41ff8b29344b2
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>
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