Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
pdb.h File Reference

Go to the source code of this file.

Data Structures

struct  ipsec_encap_cbc
 
struct  ipsec_encap_ctr
 
struct  ipsec_encap_ccm
 
struct  ipsec_encap_gcm
 
struct  ipsec_encap_pdb
 
struct  ipsec_decap_cbc
 
struct  ipsec_decap_ctr
 
struct  ipsec_decap_ccm
 
struct  ipsec_decap_gcm
 
struct  ipsec_decap_pdb
 
struct  ipsec_deco_dpovrd
 
struct  wifi_encap_pdb
 
struct  wifi_decap_pdb
 
struct  wimax_encap_pdb
 
struct  wimax_decap_pdb
 
struct  macsec_encap_pdb
 
struct  macsec_decap_pdb
 
struct  tls_block_encap_pdb
 
struct  tls_stream_encap_pdb
 
struct  dtls_block_encap_pdb
 
struct  tls_block_decap_pdb
 
struct  tls_stream_decap_pdb
 
struct  dtls_block_decap_pdb
 
struct  srtp_encap_pdb
 
struct  srtp_decap_pdb
 
struct  dsa_sign_pdb
 
struct  dsa_verify_pdb
 

Macros

#define PDBHMO_ESP_DECAP_SHIFT   12
 
#define PDBHMO_ESP_ENCAP_SHIFT   4
 
#define PDBHMO_ESP_DECAP_DEC_TTL   (0x02 << PDBHMO_ESP_DECAP_SHIFT)
 
#define PDBHMO_ESP_ENCAP_DEC_TTL   (0x02 << PDBHMO_ESP_ENCAP_SHIFT)
 
#define PDBHMO_ESP_DIFFSERV   (0x01 << PDBHMO_ESP_DECAP_SHIFT)
 
#define PDBHMO_ESP_DFBIT   (0x04 << PDBHMO_ESP_ENCAP_SHIFT)
 
#define PDBOPTS_ESP_ARSNONE   0x00 /* no antireplay window */
 
#define PDBOPTS_ESP_ARS32   0x40 /* 32-entry antireplay window */
 
#define PDBOPTS_ESP_ARS64   0xc0 /* 64-entry antireplay window */
 
#define PDBOPTS_ESP_IVSRC   0x20 /* IV comes from internal random gen */
 
#define PDBOPTS_ESP_ESN   0x10 /* extended sequence included */
 
#define PDBOPTS_ESP_OUTFMT   0x08 /* output only decapsulation (decap) */
 
#define PDBOPTS_ESP_IPHDRSRC   0x08 /* IP header comes from PDB (encap) */
 
#define PDBOPTS_ESP_INCIPHDR   0x04 /* Prepend IP header to output frame */
 
#define PDBOPTS_ESP_IPVSN   0x02 /* process IPv6 header */
 
#define PDBOPTS_ESP_TUNNEL   0x01 /* tunnel mode next-header byte */
 
#define PDBOPTS_ESP_IPV6   0x02 /* ip header version is V6 */
 
#define PDBOPTS_ESP_DIFFSERV   0x40 /* copy TOS/TC from inner iphdr */
 
#define PDBOPTS_ESP_UPDATE_CSUM   0x80 /* encap-update ip header checksum */
 
#define PDBOPTS_ESP_VERIFY_CSUM   0x20 /* decap-validate ip header checksum */
 
#define IPSEC_ENCAP_DECO_DPOVRD_USE   0x80
 
#define WIFI_PDBOPTS_FCS   0x01
 
#define WIFI_PDBOPTS_AR   0x40
 
#define WIMAX_PDBOPTS_FCS   0x01
 
#define WIMAX_PDBOPTS_AR   0x40 /* decap only */
 
#define MACSEC_PDBOPTS_FCS   0x01
 
#define MACSEC_PDBOPTS_AR   0x40 /* used in decap only */
 
#define TLS_PDBOPTS_ARS32   0x40
 
#define TLS_PDBOPTS_ARS64   0xc0
 
#define TLS_PDBOPTS_OUTFMT   0x08
 
#define TLS_PDBOPTS_IV_WRTBK   0x02 /* 1.1/1.2/DTLS only */
 
#define TLS_PDBOPTS_EXP_RND_IV   0x01 /* 1.1/1.2/DTLS only */
 
#define SRTP_PDBOPTS_MKI   0x08
 
#define SRTP_PDBOPTS_AR   0x40
 
#define DSA_PDB_SGF_SHIFT   24
 
#define DSA_PDB_SGF_MASK   (0xff << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_Q   (0x80 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_R   (0x40 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_G   (0x20 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_W   (0x10 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_S   (0x10 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_F   (0x08 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_C   (0x04 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_D   (0x02 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_AB_SIGN   (0x02 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_SGF_AB_VERIFY   (0x01 << DSA_PDB_SGF_SHIFT)
 
#define DSA_PDB_L_SHIFT   7
 
#define DSA_PDB_L_MASK   (0x3ff << DSA_PDB_L_SHIFT)
 
#define DSA_PDB_N_MASK   0x7f
 

Macro Definition Documentation

#define DSA_PDB_L_MASK   (0x3ff << DSA_PDB_L_SHIFT)

Definition at line 371 of file pdb.h.

#define DSA_PDB_L_SHIFT   7

Definition at line 370 of file pdb.h.

#define DSA_PDB_N_MASK   0x7f

Definition at line 373 of file pdb.h.

#define DSA_PDB_SGF_AB_SIGN   (0x02 << DSA_PDB_SGF_SHIFT)

Definition at line 367 of file pdb.h.

#define DSA_PDB_SGF_AB_VERIFY   (0x01 << DSA_PDB_SGF_SHIFT)

Definition at line 368 of file pdb.h.

#define DSA_PDB_SGF_C   (0x04 << DSA_PDB_SGF_SHIFT)

Definition at line 365 of file pdb.h.

#define DSA_PDB_SGF_D   (0x02 << DSA_PDB_SGF_SHIFT)

Definition at line 366 of file pdb.h.

#define DSA_PDB_SGF_F   (0x08 << DSA_PDB_SGF_SHIFT)

Definition at line 364 of file pdb.h.

#define DSA_PDB_SGF_G   (0x20 << DSA_PDB_SGF_SHIFT)

Definition at line 361 of file pdb.h.

#define DSA_PDB_SGF_MASK   (0xff << DSA_PDB_SGF_SHIFT)

Definition at line 358 of file pdb.h.

#define DSA_PDB_SGF_Q   (0x80 << DSA_PDB_SGF_SHIFT)

Definition at line 359 of file pdb.h.

#define DSA_PDB_SGF_R   (0x40 << DSA_PDB_SGF_SHIFT)

Definition at line 360 of file pdb.h.

#define DSA_PDB_SGF_S   (0x10 << DSA_PDB_SGF_SHIFT)

Definition at line 363 of file pdb.h.

#define DSA_PDB_SGF_SHIFT   24

Definition at line 357 of file pdb.h.

#define DSA_PDB_SGF_W   (0x10 << DSA_PDB_SGF_SHIFT)

Definition at line 362 of file pdb.h.

#define IPSEC_ENCAP_DECO_DPOVRD_USE   0x80

Definition at line 140 of file pdb.h.

#define MACSEC_PDBOPTS_AR   0x40 /* used in decap only */

Definition at line 224 of file pdb.h.

#define MACSEC_PDBOPTS_FCS   0x01

Definition at line 223 of file pdb.h.

#define PDBHMO_ESP_DECAP_DEC_TTL   (0x02 << PDBHMO_ESP_DECAP_SHIFT)

Definition at line 22 of file pdb.h.

#define PDBHMO_ESP_DECAP_SHIFT   12

Definition at line 14 of file pdb.h.

#define PDBHMO_ESP_DFBIT   (0x04 << PDBHMO_ESP_ENCAP_SHIFT)

Definition at line 33 of file pdb.h.

#define PDBHMO_ESP_DIFFSERV   (0x01 << PDBHMO_ESP_DECAP_SHIFT)

Definition at line 28 of file pdb.h.

#define PDBHMO_ESP_ENCAP_DEC_TTL   (0x02 << PDBHMO_ESP_ENCAP_SHIFT)

Definition at line 23 of file pdb.h.

#define PDBHMO_ESP_ENCAP_SHIFT   4

Definition at line 15 of file pdb.h.

#define PDBOPTS_ESP_ARS32   0x40 /* 32-entry antireplay window */

Definition at line 39 of file pdb.h.

#define PDBOPTS_ESP_ARS64   0xc0 /* 64-entry antireplay window */

Definition at line 40 of file pdb.h.

#define PDBOPTS_ESP_ARSNONE   0x00 /* no antireplay window */

Definition at line 38 of file pdb.h.

#define PDBOPTS_ESP_DIFFSERV   0x40 /* copy TOS/TC from inner iphdr */

Definition at line 49 of file pdb.h.

#define PDBOPTS_ESP_ESN   0x10 /* extended sequence included */

Definition at line 42 of file pdb.h.

#define PDBOPTS_ESP_INCIPHDR   0x04 /* Prepend IP header to output frame */

Definition at line 45 of file pdb.h.

#define PDBOPTS_ESP_IPHDRSRC   0x08 /* IP header comes from PDB (encap) */

Definition at line 44 of file pdb.h.

#define PDBOPTS_ESP_IPV6   0x02 /* ip header version is V6 */

Definition at line 48 of file pdb.h.

#define PDBOPTS_ESP_IPVSN   0x02 /* process IPv6 header */

Definition at line 46 of file pdb.h.

#define PDBOPTS_ESP_IVSRC   0x20 /* IV comes from internal random gen */

Definition at line 41 of file pdb.h.

#define PDBOPTS_ESP_OUTFMT   0x08 /* output only decapsulation (decap) */

Definition at line 43 of file pdb.h.

#define PDBOPTS_ESP_TUNNEL   0x01 /* tunnel mode next-header byte */

Definition at line 47 of file pdb.h.

#define PDBOPTS_ESP_UPDATE_CSUM   0x80 /* encap-update ip header checksum */

Definition at line 50 of file pdb.h.

#define PDBOPTS_ESP_VERIFY_CSUM   0x20 /* decap-validate ip header checksum */

Definition at line 51 of file pdb.h.

#define SRTP_PDBOPTS_AR   0x40

Definition at line 318 of file pdb.h.

#define SRTP_PDBOPTS_MKI   0x08

Definition at line 317 of file pdb.h.

#define TLS_PDBOPTS_ARS32   0x40

Definition at line 256 of file pdb.h.

#define TLS_PDBOPTS_ARS64   0xc0

Definition at line 257 of file pdb.h.

#define TLS_PDBOPTS_EXP_RND_IV   0x01 /* 1.1/1.2/DTLS only */

Definition at line 260 of file pdb.h.

#define TLS_PDBOPTS_IV_WRTBK   0x02 /* 1.1/1.2/DTLS only */

Definition at line 259 of file pdb.h.

#define TLS_PDBOPTS_OUTFMT   0x08

Definition at line 258 of file pdb.h.

#define WIFI_PDBOPTS_AR   0x40

Definition at line 151 of file pdb.h.

#define WIFI_PDBOPTS_FCS   0x01

Definition at line 150 of file pdb.h.

#define WIMAX_PDBOPTS_AR   0x40 /* decap only */

Definition at line 191 of file pdb.h.

#define WIMAX_PDBOPTS_FCS   0x01

Definition at line 190 of file pdb.h.