Home
last modified time | relevance | path

Searched refs:cipso (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/net/ipv4/
Dcipso_ipv4.c471 kfree(doi_def->map.std->lvl.cipso); in cipso_v4_doi_free()
473 kfree(doi_def->map.std->cat.cipso); in cipso_v4_doi_free()
649 (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL)) in cipso_v4_map_lvl_valid()
714 map_tbl->lvl.cipso[net_lvl] < CIPSO_V4_INV_LVL) { in cipso_v4_map_lvl_ntoh()
715 *host_lvl = doi_def->map.std->lvl.cipso[net_lvl]; in cipso_v4_map_lvl_ntoh()
750 cipso_array = doi_def->map.std->cat.cipso; in cipso_v4_map_cat_rbm_valid()
859 net_cat_array = doi_def->map.std->cat.cipso; in cipso_v4_map_cat_rbm_ntoh()
1876 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_sock_setattr()
1953 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_req_setattr()
1985 if (!opt || opt->opt.cipso == 0) in cipso_v4_delopt()
[all …]
Dip_options.c175 if (sopt->cipso) { in __ip_options_echo()
176 optlen = sptr[sopt->cipso+1]; in __ip_options_echo()
177 dopt->cipso = dopt->optlen+sizeof(struct iphdr); in __ip_options_echo()
178 memcpy(dptr, sptr+sopt->cipso, optlen); in __ip_options_echo()
431 if ((!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) || opt->cipso) { in __ip_options_compile()
435 opt->cipso = optptr - iph; in __ip_options_compile()
/linux-6.6.21/include/net/
Dcipso_ipv4.h86 u32 *cipso; member
92 u32 *cipso; member
182 int cipso_v4_getattr(const unsigned char *cipso,
209 static inline int cipso_v4_getattr(const unsigned char *cipso, in cipso_v4_getattr() argument
Dinet_sock.h53 unsigned char cipso; member
/linux-6.6.21/net/netlabel/
Dnetlabel_cipso_v4.c195 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()
Dnetlabel_domainhash.c227 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()
Dnetlabel_kapi.c350 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()
Dnetlabel_mgmt.c125 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()
Dnetlabel_domainhash.h39 struct cipso_v4_doi *cipso; member
/linux-6.6.21/Documentation/netlabel/
Ddraft_ietf.rst4 .. include:: draft-ietf-cipso-ipsecurity-01.txt
Dcipso_ipv4.rst15 (draft-ietf-cipso-ipsecurity-01.txt). While the IETF draft never made
Ddraft-ietf-cipso-ipsecurity-01.txt718 Group, send mail to: cipso@wdl1.wdl.loral.com.
732 cipso-request@wdl1.wdl.loral.com.
/linux-6.6.21/Documentation/admin-guide/LSM/
DSmack.rst63 properly formats data for writing to smackfs/cipso
167 cipso
656 /etc/smack/cipso.