net: add rte prefix to ip defines
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 26 Oct 2018 07:04:05 +0000 (09:04 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Fri, 26 Oct 2018 07:04:05 +0000 (09:04 +0200)
commitd105e30ac1f27a90cdb01c5ea6cfbd8473b641a0
treebb32c54e2570606b1841d0542c64708e982429f2
parent37ed914a5d5b6e2d00f8022b721c9dacd22bdfec
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>
46 files changed:
app/test-pmd/flowgen.c
app/test-pmd/testpmd.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_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/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
test/test-acl/main.c
test/test/test_acl.c
test/test/test_acl.h
test/test/test_efd.c
test/test/test_flow_classify.c
test/test/test_hash.c
test/test/test_link_bonding_mode4.c
test/test/test_lpm.c
test/test/test_lpm_perf.c
test/test/test_member.c
test/test/test_sched.c
test/test/test_table_acl.c
test/test/test_thash.c