FD.io VPP
v19.08-24-ge6a5712
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
http_static.h
Go to the documentation of this file.
1
2
/*
3
* http_static.h - skeleton vpp engine plug-in header file
4
*
5
* Copyright (c) <current-year> <your-organization>
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at:
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*/
18
#ifndef __included_http_static_h__
19
#define __included_http_static_h__
20
21
#include <
vnet/vnet.h
>
22
#include <
vnet/ip/ip.h
>
23
#include <
vnet/ethernet/ethernet.h
>
24
25
#include <
vppinfra/hash.h
>
26
#include <
vppinfra/error.h
>
27
#include <
vppinfra/time_range.h
>
28
29
typedef
struct
30
{
31
/* API message ID base */
32
u16
msg_id_base
;
33
34
/* convenience */
35
vlib_main_t
*
vlib_main
;
36
vnet_main_t
*
vnet_main
;
37
}
http_static_main_t
;
38
39
extern
http_static_main_t
http_static_main
;
40
41
int
http_static_server_enable_api
(
u32
fifo_size,
u32
cache_limit,
42
u32
prealloc_fifos,
43
u32
private_segment_size,
44
u8
* www_root,
u8
* uri);
45
46
#endif
/* __included_http_static_h__ */
47
48
/*
49
* fd.io coding-style-patch-verification: ON
50
*
51
* Local Variables:
52
* eval: (c-set-style "gnu")
53
* End:
54
*/
http_static_main
http_static_main_t http_static_main
Definition:
http_static.c:55
ip.h
u8
unsigned char u8
Definition:
types.h:56
hash.h
http_static_main_t::vnet_main
vnet_main_t * vnet_main
Definition:
http_static.h:36
u32
unsigned int u32
Definition:
types.h:88
http_static_main_t::vlib_main
vlib_main_t * vlib_main
Definition:
http_static.h:35
http_static_main_t::msg_id_base
u16 msg_id_base
Definition:
http_static.h:32
ethernet.h
u16
unsigned short u16
Definition:
types.h:57
time_range.h
http_static_server_enable_api
int http_static_server_enable_api(u32 fifo_size, u32 cache_limit, u32 prealloc_fifos, u32 private_segment_size, u8 *www_root, u8 *uri)
API helper function for vl_api_http_static_enable_t messages.
Definition:
static_server.c:1371
vnet.h
http_static_main_t
Definition:
http_static.h:29
vnet_main_t
Definition:
vnet.h:51
vlib_main_t
Definition:
main.h:68
error.h
src
plugins
http_static
http_static.h
Generated on Wed Sep 18 2019 11:41:24 for FD.io VPP by
1.8.11