ip_ecn.h (62587) | ip_ecn.h (78064) |
---|---|
1/* $FreeBSD: head/sys/netinet/ip_ecn.h 62587 2000-07-04 16:35:15Z itojun $ */ 2/* $KAME: ip_ecn.h,v 1.5 2000/03/27 04:58:38 sumikawa Exp $ */ | 1/* $FreeBSD: head/sys/netinet/ip_ecn.h 78064 2001-06-11 12:39:29Z ume $ */ 2/* $KAME: ip_ecn.h,v 1.6 2001/05/03 14:51:48 itojun Exp $ */ |
3 4/* 5 * Copyright (C) 1999 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: --- 19 unchanged lines hidden (view full) --- 30 * SUCH DAMAGE. 31 * 32 */ 33/* 34 * ECN consideration on tunnel ingress/egress operation. 35 * http://www.aciri.org/floyd/papers/draft-ipsec-ecn-00.txt 36 */ 37 | 3 4/* 5 * Copyright (C) 1999 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: --- 19 unchanged lines hidden (view full) --- 30 * SUCH DAMAGE. 31 * 32 */ 33/* 34 * ECN consideration on tunnel ingress/egress operation. 35 * http://www.aciri.org/floyd/papers/draft-ipsec-ecn-00.txt 36 */ 37 |
38#if defined(_KERNEL) && !defined(_LKM) 39#include "opt_inet.h" 40#endif 41 |
|
38#define ECN_ALLOWED 1 /* ECN allowed */ 39#define ECN_FORBIDDEN 0 /* ECN forbidden */ 40#define ECN_NOCARE (-1) /* no consideration to ECN */ 41 42#ifdef _KERNEL | 42#define ECN_ALLOWED 1 /* ECN allowed */ 43#define ECN_FORBIDDEN 0 /* ECN forbidden */ 44#define ECN_NOCARE (-1) /* no consideration to ECN */ 45 46#ifdef _KERNEL |
43extern void ip_ecn_ingress __P((int, u_int8_t *, u_int8_t *)); 44extern void ip_ecn_egress __P((int, u_int8_t *, u_int8_t *)); | 47extern void ip_ecn_ingress __P((int, u_int8_t *, const u_int8_t *)); 48extern void ip_ecn_egress __P((int, const u_int8_t *, u_int8_t *)); |
45#endif | 49#endif |