ipsec.h (125098) | ipsec.h (125680) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipsec.h 125098 2004-01-27 17:42:57Z sam $ */ | 1/* $FreeBSD: head/sys/netipsec/ipsec.h 125680 2004-02-11 04:26:04Z bms $ */ |
2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 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 --- 146 unchanged lines hidden (view full) --- 156#define IPSEC_ULPROTO_ANY 255 157#define IPSEC_PROTO_ANY 255 158 159/* mode of security protocol */ 160/* NOTE: DON'T use IPSEC_MODE_ANY at SPD. It's only use in SAD */ 161#define IPSEC_MODE_ANY 0 /* i.e. wildcard. */ 162#define IPSEC_MODE_TRANSPORT 1 163#define IPSEC_MODE_TUNNEL 2 | 2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 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 --- 146 unchanged lines hidden (view full) --- 156#define IPSEC_ULPROTO_ANY 255 157#define IPSEC_PROTO_ANY 255 158 159/* mode of security protocol */ 160/* NOTE: DON'T use IPSEC_MODE_ANY at SPD. It's only use in SAD */ 161#define IPSEC_MODE_ANY 0 /* i.e. wildcard. */ 162#define IPSEC_MODE_TRANSPORT 1 163#define IPSEC_MODE_TUNNEL 2 |
164#define IPSEC_MODE_TCPMD5 3 /* TCP MD5 mode */ |
|
164 165/* 166 * Direction of security policy. 167 * NOTE: Since INVALID is used just as flag. 168 * The other are used for loop counter too. 169 */ 170#define IPSEC_DIR_ANY 0 171#define IPSEC_DIR_INBOUND 1 --- 255 unchanged lines hidden --- | 165 166/* 167 * Direction of security policy. 168 * NOTE: Since INVALID is used just as flag. 169 * The other are used for loop counter too. 170 */ 171#define IPSEC_DIR_ANY 0 172#define IPSEC_DIR_INBOUND 1 --- 255 unchanged lines hidden --- |