aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/protocol/tcp.c
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-04-22 10:44:01 +0200
committerMauro Sardara <msardara@cisco.com>2020-04-22 10:44:01 +0200
commit0296cf30d22918bc5c23e02cf2510fa18dec687e (patch)
tree859b72c6857cd28d08ddc9da45cbc47a11026095 /lib/src/protocol/tcp.c
parent2cc6a4f2c8499a8d7d52c5dd93f610ec8a5f926a (diff)
[HICN-601] Redefine TCP flags with HICN_ prefix
Change-Id: I9263a65f3f151d55cdefcd14d39df4a70df9a83c Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'lib/src/protocol/tcp.c')
-rw-r--r--lib/src/protocol/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/protocol/tcp.c b/lib/src/protocol/tcp.c
index 14e07b091..31c495ff4 100644
--- a/lib/src/protocol/tcp.c
+++ b/lib/src/protocol/tcp.c
@@ -85,14 +85,14 @@ tcp_set_interest_name_suffix (hicn_type_t type, hicn_protocol_t * h,
int
tcp_mark_packet_as_interest (hicn_type_t type, hicn_protocol_t * h)
{
- h->tcp.flags &= ~TCP_FLAG_ECE;
+ h->tcp.flags &= ~HICN_TCP_FLAG_ECE;
return HICN_LIB_ERROR_NONE;
}
int
tcp_mark_packet_as_data (hicn_type_t type, hicn_protocol_t * h)
{
- h->tcp.flags |= TCP_FLAG_ECE;
+ h->tcp.flags |= HICN_TCP_FLAG_ECE;
return HICN_LIB_ERROR_NONE;
}