Searched refs:cipso (Results 1 – 7 of 7) sorted by relevance
472 kfree(doi_def->map.std->lvl.cipso); in cipso_v4_doi_free()474 kfree(doi_def->map.std->cat.cipso); in cipso_v4_doi_free()650 (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL)) in cipso_v4_map_lvl_valid()715 map_tbl->lvl.cipso[net_lvl] < CIPSO_V4_INV_LVL) { in cipso_v4_map_lvl_ntoh()716 *host_lvl = doi_def->map.std->lvl.cipso[net_lvl]; in cipso_v4_map_lvl_ntoh()751 cipso_array = doi_def->map.std->cat.cipso; in cipso_v4_map_cat_rbm_valid()860 net_cat_array = doi_def->map.std->cat.cipso; in cipso_v4_map_cat_rbm_ntoh()1877 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_sock_setattr()1954 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_req_setattr()1986 if (!opt || opt->opt.cipso == 0) in cipso_v4_delopt()[all …]
188 if (sopt->cipso) { in __ip_options_echo()189 optlen = sptr[sopt->cipso+1]; in __ip_options_echo()190 dopt->cipso = dopt->optlen+sizeof(struct iphdr); in __ip_options_echo()191 memcpy(dptr, sptr+sopt->cipso, optlen); in __ip_options_echo()444 if ((!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) || opt->cipso) { in __ip_options_compile()448 opt->cipso = optptr - iph; in __ip_options_compile()
195 doi_def->map.std->lvl.cipso = kcalloc(doi_def->map.std->lvl.cipso_size, in netlbl_cipsov4_add_std()198 if (doi_def->map.std->lvl.cipso == NULL) { in netlbl_cipsov4_add_std()205 doi_def->map.std->lvl.cipso[iter] = CIPSO_V4_INV_LVL; in netlbl_cipsov4_add_std()221 doi_def->map.std->lvl.cipso[nla_get_u32(lvl_rem)] = in netlbl_cipsov4_add_std()271 doi_def->map.std->cat.cipso = kcalloc( in netlbl_cipsov4_add_std()275 if (doi_def->map.std->cat.cipso == NULL) { in netlbl_cipsov4_add_std()282 doi_def->map.std->cat.cipso[iter] = CIPSO_V4_INV_CAT; in netlbl_cipsov4_add_std()299 doi_def->map.std->cat.cipso[ in netlbl_cipsov4_add_std()685 entry->def.cipso->doi == cb_arg->doi) in netlbl_cipsov4_remove_cb()
227 cipsov4 = map4->def.cipso; in netlbl_domhsh_audit_add()241 cipsov4 = entry->def.cipso; in netlbl_domhsh_audit_add()293 if (entry->def.cipso != NULL || entry->def.calipso != NULL || in netlbl_domhsh_validate()299 entry->def.cipso == NULL) in netlbl_domhsh_validate()312 if (map4->def.cipso != NULL) in netlbl_domhsh_validate()316 if (map4->def.cipso == NULL) in netlbl_domhsh_validate()624 cipso_v4_doi_putdef(map4->def.cipso); in netlbl_domhsh_remove_entry()634 cipso_v4_doi_putdef(entry->def.cipso); in netlbl_domhsh_remove_entry()706 cipso_v4_doi_putdef(entry->def.cipso); in netlbl_domhsh_remove_af4()
350 entry->def.cipso = doi_def; in netlbl_cfg_cipsov4_map_add()362 addrinfo->def.cipso = doi_def; in netlbl_cfg_cipsov4_map_add()999 dom_entry->def.cipso, in netlbl_sock_setattr()1129 entry->cipso, secattr); in netlbl_conn_setattr()1204 entry->cipso, secattr); in netlbl_req_setattr()1301 ret_val = cipso_v4_skbuff_setattr(skb, entry->cipso, in netlbl_skbuff_setattr()
125 entry->def.cipso = cipsov4; in netlbl_mgmt_add_common()185 map->def.cipso = cipsov4; in netlbl_mgmt_add_common()336 map4->def.cipso->doi); in netlbl_mgmt_listentry()392 entry->def.cipso->doi); in netlbl_mgmt_listentry()
39 struct cipso_v4_doi *cipso; member