Lines Matching defs:cipso

6  * draft-ietf-cipso-ipsecurity-01.txt with additional tag types as found in
13 * https://tools.ietf.org/id/draft-ietf-cipso-ipsecurity-01.txt
471 kfree(doi_def->map.std->lvl.cipso);
473 kfree(doi_def->map.std->cat.cipso);
649 (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL))
714 map_tbl->lvl.cipso[net_lvl] < CIPSO_V4_INV_LVL) {
715 *host_lvl = doi_def->map.std->lvl.cipso[net_lvl];
750 cipso_array = doi_def->map.std->cat.cipso;
859 net_cat_array = doi_def->map.std->cat.cipso;
1897 opt->opt.cipso = sizeof(struct iphdr);
1973 opt->opt.cipso = sizeof(struct iphdr);
2005 if (!opt || opt->opt.cipso == 0)
2013 cipso_off = opt->opt.cipso - sizeof(struct iphdr);
2017 if (opt->opt.srr > opt->opt.cipso)
2019 if (opt->opt.rr > opt->opt.cipso)
2021 if (opt->opt.ts > opt->opt.cipso)
2023 if (opt->opt.router_alert > opt->opt.cipso)
2025 opt->opt.cipso = 0;
2036 /* only the cipso option was present on the socket so we can
2084 * @cipso: the CIPSO v4 option
2088 * Inspect @cipso and return the security attributes in @secattr. Returns zero
2092 int cipso_v4_getattr(const unsigned char *cipso,
2099 if (cipso_v4_cache_check(cipso, cipso[1], secattr) == 0)
2102 doi = get_unaligned_be32(&cipso[2]);
2110 switch (cipso[6]) {
2112 ret_val = cipso_v4_parsetag_rbm(doi_def, &cipso[6], secattr);
2115 ret_val = cipso_v4_parsetag_enum(doi_def, &cipso[6], secattr);
2118 ret_val = cipso_v4_parsetag_rng(doi_def, &cipso[6], secattr);
2121 ret_val = cipso_v4_parsetag_loc(doi_def, &cipso[6], secattr);
2151 if (opt && opt->opt.cipso)
2153 opt->opt.cipso -
2220 opt->cipso = sizeof(struct iphdr);
2257 if (opt->cipso == 0)
2266 cipso_ptr = (unsigned char *)iph + opt->cipso;
2278 new_hdr_len_actual - opt->cipso);
2290 opt->cipso = 0;