diff options
Diffstat (limited to 'platform/linux-generic/odp_ipsec_events.c')
-rw-r--r-- | platform/linux-generic/odp_ipsec_events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/odp_ipsec_events.c b/platform/linux-generic/odp_ipsec_events.c index a199ffdf3..f229a5cf2 100644 --- a/platform/linux-generic/odp_ipsec_events.c +++ b/platform/linux-generic/odp_ipsec_events.c @@ -93,7 +93,7 @@ static odp_event_t ipsec_status_to_event(ipsec_status_t status) static ipsec_status_hdr_t *ipsec_status_hdr_from_buf(odp_buffer_t buf) { - return (ipsec_status_hdr_t *)(void *)buf_hdl_to_hdr(buf); + return (ipsec_status_hdr_t *)(void *)_odp_buf_hdr(buf); } static ipsec_status_hdr_t *ipsec_status_hdr(ipsec_status_t status) @@ -110,7 +110,7 @@ static ipsec_status_t odp_ipsec_status_alloc(void) if (odp_unlikely(buf == ODP_BUFFER_INVALID)) return ODP_IPSEC_STATUS_INVALID; - _odp_buffer_event_type_set(buf, ODP_EVENT_IPSEC_STATUS); + _odp_event_type_set(odp_buffer_to_event(buf), ODP_EVENT_IPSEC_STATUS); return _odp_ipsec_status_from_event(odp_buffer_to_event(buf)); } |