Home
last modified time | relevance | path

Searched refs:calipso (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/net/ipv6/
Dcalipso.c731 unsigned char *calipso; in calipso_genopt() local
754 calipso = buf + start + pad; in calipso_genopt()
756 calipso[0] = IPV6_TLV_CALIPSO; in calipso_genopt()
757 calipso[1] = len - 2; in calipso_genopt()
758 *(__be32 *)(calipso + 2) = htonl(doi_def->doi); in calipso_genopt()
759 calipso[6] = (len - CALIPSO_HDR_LEN) / 4; in calipso_genopt()
760 calipso[7] = secattr->attr.mls.lvl; in calipso_genopt()
761 crc = ~crc_ccitt(0xffff, calipso, len); in calipso_genopt()
762 calipso[8] = crc & 0xff; in calipso_genopt()
763 calipso[9] = (crc >> 8) & 0xff; in calipso_genopt()
[all …]
DMakefile24 ipv6-$(CONFIG_NETLABEL) += calipso.o
/linux-6.1.9/net/netlabel/
Dnetlabel_domainhash.c216 struct calipso_doi *calipso = NULL; in netlbl_domhsh_audit_add() local
235 calipso = map6->def.calipso; in netlbl_domhsh_audit_add()
242 calipso = entry->def.calipso; in netlbl_domhsh_audit_add()
255 BUG_ON(calipso == NULL); in netlbl_domhsh_audit_add()
258 calipso->doi); in netlbl_domhsh_audit_add()
293 if (entry->def.cipso != NULL || entry->def.calipso != NULL || in netlbl_domhsh_validate()
304 entry->def.calipso == NULL) in netlbl_domhsh_validate()
328 if (map6->def.calipso != NULL) in netlbl_domhsh_validate()
332 if (map6->def.calipso == NULL) in netlbl_domhsh_validate()
629 calipso_doi_putdef(map6->def.calipso); in netlbl_domhsh_remove_entry()
[all …]
Dnetlabel_mgmt.c84 struct calipso_doi *calipso = NULL; in netlbl_mgmt_add_common() local
133 calipso = calipso_doi_getdef(tmp_val); in netlbl_mgmt_add_common()
134 if (calipso == NULL) in netlbl_mgmt_add_common()
137 entry->def.calipso = calipso; in netlbl_mgmt_add_common()
235 if (calipso) in netlbl_mgmt_add_common()
236 map->def.calipso = calipso; in netlbl_mgmt_add_common()
261 calipso_doi_putdef(calipso); in netlbl_mgmt_add_common()
370 map6->def.calipso->doi); in netlbl_mgmt_listentry()
400 entry->def.calipso->doi); in netlbl_mgmt_listentry()
Dnetlabel_calipso.c263 entry->def.calipso->doi == cb_arg->doi) in netlbl_calipso_remove_cb()
643 int calipso_getattr(const unsigned char *calipso, in calipso_getattr() argument
650 ret_val = ops->opt_getattr(calipso, secattr); in calipso_getattr()
Dnetlabel_kapi.c476 entry->def.calipso = doi_def; in netlbl_cfg_calipso_map_add()
488 addrinfo->def.calipso = doi_def; in netlbl_cfg_calipso_map_add()
1016 dom_entry->def.calipso, in netlbl_sock_setattr()
1152 entry->calipso, secattr); in netlbl_conn_setattr()
1224 entry->calipso, secattr); in netlbl_req_setattr()
1323 ret_val = calipso_skbuff_setattr(skb, entry->calipso, in netlbl_skbuff_setattr()
Dnetlabel_calipso.h127 int calipso_getattr(const unsigned char *calipso,
Dnetlabel_domainhash.h40 struct calipso_doi *calipso; member
/linux-6.1.9/include/net/
Dnetlabel.h253 int (*opt_getattr)(const unsigned char *calipso,
/linux-6.1.9/
DMAINTAINERS14416 F: include/net/calipso.h
14422 F: net/ipv6/calipso.c