Go to the documentation of this file.
14 #define PDBHMO_ESP_DECAP_SHIFT 12
15 #define PDBHMO_ESP_ENCAP_SHIFT 4
22 #define PDBHMO_ESP_DECAP_DEC_TTL (0x02 << PDBHMO_ESP_DECAP_SHIFT)
23 #define PDBHMO_ESP_ENCAP_DEC_TTL (0x02 << PDBHMO_ESP_ENCAP_SHIFT)
28 #define PDBHMO_ESP_DIFFSERV (0x01 << PDBHMO_ESP_DECAP_SHIFT)
33 #define PDBHMO_ESP_DFBIT (0x04 << PDBHMO_ESP_ENCAP_SHIFT)
38 #define PDBOPTS_ESP_ARSNONE 0x00
39 #define PDBOPTS_ESP_ARS32 0x40
40 #define PDBOPTS_ESP_ARS64 0xc0
41 #define PDBOPTS_ESP_IVSRC 0x20
42 #define PDBOPTS_ESP_ESN 0x10
43 #define PDBOPTS_ESP_OUTFMT 0x08
44 #define PDBOPTS_ESP_IPHDRSRC 0x08
45 #define PDBOPTS_ESP_INCIPHDR 0x04
46 #define PDBOPTS_ESP_IPVSN 0x02
47 #define PDBOPTS_ESP_TUNNEL 0x01
48 #define PDBOPTS_ESP_IPV6 0x02
49 #define PDBOPTS_ESP_DIFFSERV 0x40
50 #define PDBOPTS_ESP_UPDATE_CSUM 0x80
51 #define PDBOPTS_ESP_VERIFY_CSUM 0x20
140 #define IPSEC_ENCAP_DECO_DPOVRD_USE 0x80
150 #define WIFI_PDBOPTS_FCS 0x01
151 #define WIFI_PDBOPTS_AR 0x40
190 #define WIMAX_PDBOPTS_FCS 0x01
191 #define WIMAX_PDBOPTS_AR 0x40
223 #define MACSEC_PDBOPTS_FCS 0x01
224 #define MACSEC_PDBOPTS_AR 0x40
256 #define TLS_PDBOPTS_ARS32 0x40
257 #define TLS_PDBOPTS_ARS64 0xc0
258 #define TLS_PDBOPTS_OUTFMT 0x08
259 #define TLS_PDBOPTS_IV_WRTBK 0x02
260 #define TLS_PDBOPTS_EXP_RND_IV 0x01
317 #define SRTP_PDBOPTS_MKI 0x08
318 #define SRTP_PDBOPTS_AR 0x40
357 #define DSA_PDB_SGF_SHIFT 24
358 #define DSA_PDB_SGF_MASK (0xff << DSA_PDB_SGF_SHIFT)
359 #define DSA_PDB_SGF_Q (0x80 << DSA_PDB_SGF_SHIFT)
360 #define DSA_PDB_SGF_R (0x40 << DSA_PDB_SGF_SHIFT)
361 #define DSA_PDB_SGF_G (0x20 << DSA_PDB_SGF_SHIFT)
362 #define DSA_PDB_SGF_W (0x10 << DSA_PDB_SGF_SHIFT)
363 #define DSA_PDB_SGF_S (0x10 << DSA_PDB_SGF_SHIFT)
364 #define DSA_PDB_SGF_F (0x08 << DSA_PDB_SGF_SHIFT)
365 #define DSA_PDB_SGF_C (0x04 << DSA_PDB_SGF_SHIFT)
366 #define DSA_PDB_SGF_D (0x02 << DSA_PDB_SGF_SHIFT)
367 #define DSA_PDB_SGF_AB_SIGN (0x02 << DSA_PDB_SGF_SHIFT)
368 #define DSA_PDB_SGF_AB_VERIFY (0x01 << DSA_PDB_SGF_SHIFT)
370 #define DSA_PDB_L_SHIFT 7
371 #define DSA_PDB_L_MASK (0x3ff << DSA_PDB_L_SHIFT)
373 #define DSA_PDB_N_MASK 0x7f