FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
sctp_format.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 SUSE LLC.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <sctp/sctp.h>
17 
18 /* Format SCTP header. */
19 u8 *
20 format_sctp_header (u8 * s, va_list * args)
21 {
22  return NULL;
23 }
24 
25 u8 *
26 format_sctp_tx_trace (u8 * s, va_list * args)
27 {
28  CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *);
29  CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *);
30 
31  return NULL;
32 }
33 
34 /*
35  * fd.io coding-style-patch-verification: ON
36  *
37  * Local Variables:
38  * eval: (c-set-style "gnu")
39  * End:
40  */
#define CLIB_UNUSED(x)
Definition: clib.h:82
#define NULL
Definition: clib.h:58
unsigned char u8
Definition: types.h:56
vlib_main_t * vm
Definition: in2out_ed.c:1810
u8 * format_sctp_header(u8 *s, va_list *args)
Definition: sctp_format.c:20
vlib_main_t vlib_node_runtime_t * node
Definition: in2out_ed.c:1810
u8 * format_sctp_tx_trace(u8 *s, va_list *args)
Definition: sctp_format.c:26