Lines Matching defs:port
2684 * smk_ipv6_port_label - Smack port access table management
2688 * Create or update the port list entry
2696 unsigned short port = 0;
2701 * on the bound socket. Take the changes to the port
2722 port = ntohs(addr6->sin6_port);
2726 if (port == 0)
2730 * Look for an existing port list entry.
2731 * This is an indication that a port is getting reused.
2735 if (spp->smk_port != port || spp->smk_sock_type != sock->type)
2741 spp->smk_port = port;
2751 * A new port entry is required.
2757 spp->smk_port = port;
2771 * smk_ipv6_port_check - check Smack port access
2776 * Create or update the port list entry
2784 unsigned short port;
2806 * It's remote, so port lookup does no good.
2817 port = ntohs(address->sin6_port);
2820 if (spp->smk_port != port || spp->smk_sock_type != sk->sk_type)
2969 * smack_socket_bind - record port binding information.
2971 * @address: the port address
2974 * Records the label bound to a port.
3821 * For IPv6 this is a check against the label of the port.
5162 pr_info("Smack: IPv6 port labeling enabled.\n");