Searched refs:ip (Results 1 – 4 of 4) sorted by relevance
| /security/tomoyo/ |
| A D | network.c | 53 u8 * const min = ptr->ip[0].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union() 54 u8 * const max = ptr->ip[1].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union() 62 ptr->ip[1].s6_addr32[0] = ptr->ip[0].s6_addr32[0]; in tomoyo_parse_ipaddr_union() 128 tomoyo_print_ipv6(buf, size, &ptr->ip[0], &ptr->ip[1]); in tomoyo_print_ip() 130 tomoyo_print_ipv4(buf, size, &ptr->ip[0].s6_addr32[0], in tomoyo_print_ip() 131 &ptr->ip[1].s6_addr32[0]); in tomoyo_print_ip() 435 memcmp(&acl->address.ip[0], in tomoyo_check_inet_acl() 438 &acl->address.ip[1], size) <= 0; in tomoyo_check_inet_acl()
|
| A D | group.c | 202 if (memcmp(&member->address.ip[0], address, size) > 0 || in tomoyo_address_matches_group() 203 memcmp(address, &member->address.ip[1], size) > 0) in tomoyo_address_matches_group()
|
| A D | common.h | 535 struct in6_addr ip[2]; /* Big endian. */ member 1263 return !memcmp(a->ip, b->ip, sizeof(a->ip)) && a->group == b->group && in tomoyo_same_ipaddr_union()
|
| /security/smack/ |
| A D | smack_lsm.c | 275 static struct smack_known *smk_fetch(const char *name, struct inode *ip, in smk_fetch() argument 282 if (!(ip->i_opflags & IOP_XATTR)) in smk_fetch() 289 rc = __vfs_getxattr(dp, ip, name, buffer, SMK_LONGLABEL); in smk_fetch() 1089 struct inode *ip = d_backing_inode(dentry); in smack_inode_unlink() local 1099 rc = smk_curacc(smk_of_inode(ip), MAY_WRITE, &ad); in smack_inode_unlink() 1100 rc = smk_bu_inode(ip, MAY_WRITE, rc); in smack_inode_unlink() 1566 struct inode *ip = inode; in smack_inode_getsecurity() local 1584 sbp = ip->i_sb; in smack_inode_getsecurity() 1588 sock = SOCKET_I(ip); in smack_inode_getsecurity()
|
Completed in 651 milliseconds