Electroneum
pcplearndscp.h
Go to the documentation of this file.
1
/* $Id: pcplearndscp.h,v 1.2 2013/12/13 15:47:23 nanard Exp $ */
2
/* MiniUPnP project
3
* Website : http://miniupnp.free.fr/
4
* Author : Miroslav Bagljas
5
6
Copyright (c) 2013 by Cisco Systems, Inc.
7
All rights reserved.
8
9
Redistribution and use in source and binary forms, with or without
10
modification, are permitted provided that the following conditions are met:
11
12
* Redistributions of source code must retain the above copyright notice,
13
this list of conditions and the following disclaimer.
14
* Redistributions in binary form must reproduce the above copyright notice,
15
this list of conditions and the following disclaimer in the documentation
16
and/or other materials provided with the distribution.
17
* The name of the author may not be used to endorse or promote products
18
derived from this software without specific prior written permission.
19
20
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
POSSIBILITY OF SUCH DAMAGE.
31
*/
32
33
#ifndef PCPLEARNDSCP_H_INCLUDED
34
#define PCPLEARNDSCP_H_INCLUDED
35
36
struct
dscp_values
{
37
char
*
app_name
;
38
unsigned
int
app_name_len
;
39
unsigned
char
delay
;
40
unsigned
char
loss
;
41
unsigned
char
jitter
;
42
unsigned
char
dscp_value
;
43
};
44
45
46
47
/* #set_learn_dscp "Webex" 1 1 1 34 */
48
int
49
read_learn_dscp_line
(
struct
dscp_values
*dscpvalues,
char
*p);
50
51
#endif
/* PCPLEARNDSCP_H_INCLUDED */
dscp_values
Definition:
pcplearndscp.h:36
dscp_values::app_name_len
unsigned int app_name_len
Definition:
pcplearndscp.h:38
dscp_values::loss
unsigned char loss
Definition:
pcplearndscp.h:40
dscp_values::app_name
char * app_name
Definition:
pcplearndscp.h:37
read_learn_dscp_line
int read_learn_dscp_line(struct dscp_values *dscpvalues, char *p)
dscp_values::delay
unsigned char delay
Definition:
pcplearndscp.h:39
dscp_values::jitter
unsigned char jitter
Definition:
pcplearndscp.h:41
dscp_values::dscp_value
unsigned char dscp_value
Definition:
pcplearndscp.h:42
external
miniupnp
miniupnpd
pcplearndscp.h
Generated on Sun Mar 10 2024 12:00:00 for Electroneum by
1.8.14