Home
last modified time | relevance | path

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

/Linux-v5.10/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()
657 (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL)) in cipso_v4_map_lvl_valid()
722 map_tbl->lvl.cipso[net_lvl] < CIPSO_V4_INV_LVL) { in cipso_v4_map_lvl_ntoh()
723 *host_lvl = doi_def->map.std->lvl.cipso[net_lvl]; in cipso_v4_map_lvl_ntoh()
758 cipso_array = doi_def->map.std->cat.cipso; in cipso_v4_map_cat_rbm_valid()
867 net_cat_array = doi_def->map.std->cat.cipso; in cipso_v4_map_cat_rbm_ntoh()
1883 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_sock_setattr()
1960 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_req_setattr()
1992 if (!opt || opt->opt.cipso == 0) in cipso_v4_delopt()
[all …]
Dip_options.c188 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()
/Linux-v5.10/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-v5.10/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()
682 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()
996 dom_entry->def.cipso, in netlbl_sock_setattr()
1126 entry->cipso, secattr); in netlbl_conn_setattr()
1201 entry->cipso, secattr); in netlbl_req_setattr()
1298 ret_val = cipso_v4_skbuff_setattr(skb, entry->cipso, in netlbl_skbuff_setattr()
Dnetlabel_mgmt.c124 entry->def.cipso = cipsov4; in netlbl_mgmt_add_common()
183 map->def.cipso = cipsov4; in netlbl_mgmt_add_common()
335 map4->def.cipso->doi); in netlbl_mgmt_listentry()
391 entry->def.cipso->doi); in netlbl_mgmt_listentry()
Dnetlabel_domainhash.h39 struct cipso_v4_doi *cipso; member
/Linux-v5.10/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-v5.10/Documentation/admin-guide/LSM/
DSmack.rst63 properly formats data for writing to smackfs/cipso
167 cipso
656 /etc/smack/cipso.