FreeBSD kernel IPv4 code
|
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/errno.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip_ecn.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
void | ip_ecn_ingress (int mode, u_int8_t *outer, const u_int8_t *inner) |
int | ip_ecn_egress (int mode, const u_int8_t *outer, u_int8_t *inner) |
__FBSDID | ( | "$FreeBSD$" | ) |
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.