FreeBSD kernel IPv4 code
|
Go to the source code of this file.
Macros | |
#define | ECN_ALLOWED 1 /* ECN allowed */ |
#define | ECN_FORBIDDEN 0 /* ECN forbidden */ |
#define | ECN_NOCARE (-1) /* no consideration to ECN */ |
Functions | |
void | ip_ecn_ingress (int, u_int8_t *, const u_int8_t *) |
int | ip_ecn_egress (int, const u_int8_t *, u_int8_t *) |
int ip_ecn_egress | ( | int | mode, |
const u_int8_t * | outer, | ||
u_int8_t * | inner | ||
) |
Definition at line 129 of file ip_ecn.c.
References ECN_ALLOWED, ECN_FORBIDDEN, ECN_NOCARE, IPTOS_ECN_CE, IPTOS_ECN_MASK, and IPTOS_ECN_NOTECT.
void ip_ecn_ingress | ( | int | mode, |
u_int8_t * | outer, | ||
const u_int8_t * | inner | ||
) |
Definition at line 97 of file ip_ecn.c.
References ECN_ALLOWED, ECN_FORBIDDEN, ECN_NOCARE, IPTOS_ECN_CE, and IPTOS_ECN_MASK.