git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: add rte prefix to IP structure
[dpdk.git]
/
lib
/
librte_ipsec
/
iph.h
diff --git
a/lib/librte_ipsec/iph.h
b/lib/librte_ipsec/iph.h
index
58930cf
..
a0ca41d
100644
(file)
--- a/
lib/librte_ipsec/iph.h
+++ b/
lib/librte_ipsec/iph.h
@@
-40,8
+40,8
@@
static inline int
update_trs_l3hdr(const struct rte_ipsec_sa *sa, void *p, uint32_t plen,
uint32_t l2len, uint32_t l3len, uint8_t proto)
{
update_trs_l3hdr(const struct rte_ipsec_sa *sa, void *p, uint32_t plen,
uint32_t l2len, uint32_t l3len, uint8_t proto)
{
- struct ipv4_hdr *v4h;
- struct ipv6_hdr *v6h;
+ struct
rte_
ipv4_hdr *v4h;
+ struct
rte_
ipv6_hdr *v6h;
int32_t rc;
if ((sa->type & RTE_IPSEC_SATP_IPV_MASK) == RTE_IPSEC_SATP_IPV4) {
int32_t rc;
if ((sa->type & RTE_IPSEC_SATP_IPV_MASK) == RTE_IPSEC_SATP_IPV4) {
@@
-67,8
+67,8
@@
static inline void
update_tun_l3hdr(const struct rte_ipsec_sa *sa, void *p, uint32_t plen,
uint32_t l2len, rte_be16_t pid)
{
update_tun_l3hdr(const struct rte_ipsec_sa *sa, void *p, uint32_t plen,
uint32_t l2len, rte_be16_t pid)
{
- struct ipv4_hdr *v4h;
- struct ipv6_hdr *v6h;
+ struct
rte_
ipv4_hdr *v4h;
+ struct
rte_
ipv6_hdr *v6h;
if (sa->type & RTE_IPSEC_SATP_MODE_TUNLV4) {
v4h = p;
if (sa->type & RTE_IPSEC_SATP_MODE_TUNLV4) {
v4h = p;