Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
demo-exe committed Dec 22, 2023
1 parent 9492f0a commit 394baf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upf/pfcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ format_pfcp_msg_hdr (u8 *s, va_list *args)
#define put_ie_vendor_hdr(V, TYPE, VEND, LEN, P) \
do \
{ \
set_ie_vendor_hdr_type ((V), (TYPE) & 0x8000, (P)); \
set_ie_vendor_hdr_type ((V), (TYPE) &0x8000, (P)); \
set_ie_vendor_hdr_length ((V), (LEN), (P)); \
set_ie_vendor_hdr_vendor ((V), (VEND), (P)); \
(P) += sizeof (pfcp_ie_vendor_t); \
Expand Down Expand Up @@ -300,7 +300,7 @@ format_pfcp_msg_hdr (u8 *s, va_list *args)
{ \
(V)[_vec_len ((V))] = (I) >> 16; \
(V)[_vec_len ((V)) + 1] = ((I) >> 8) & 0xff; \
(V)[_vec_len ((V)) + 2] = (I) & 0xff; \
(V)[_vec_len ((V)) + 2] = (I) &0xff; \
_vec_find ((V))->len += 3; \
} \
while (0)
Expand Down Expand Up @@ -334,7 +334,7 @@ format_pfcp_msg_hdr (u8 *s, va_list *args)
(V)[_vec_len ((V)) + 1] = ((I) >> 24) & 0xff; \
(V)[_vec_len ((V)) + 2] = ((I) >> 16) & 0xff; \
(V)[_vec_len ((V)) + 3] = ((I) >> 8) & 0xff; \
(V)[_vec_len ((V)) + 4] = (I) & 0xff; \
(V)[_vec_len ((V)) + 4] = (I) &0xff; \
_vec_find ((V))->len += 5; \
} \
while (0)
Expand Down

0 comments on commit 394baf5

Please sign in to comment.