Searched refs:spn_dev (Results 1 – 1 of 1) sorted by relevance
105 __u8 spn_dev; member140 spn->spn_dev &= 0x03; in pn_sockaddr_set_addr()141 spn->spn_dev |= addr & 0xfc; in pn_sockaddr_set_addr()146 spn->spn_dev &= 0xfc; in pn_sockaddr_set_port()147 spn->spn_dev |= (port >> 8) & 0x03; in pn_sockaddr_set_port()154 spn->spn_dev = pn_dev(handle); in pn_sockaddr_set_object()166 return spn->spn_dev & 0xfc; in pn_sockaddr_get_addr()171 return ((spn->spn_dev & 0x03) << 8) | spn->spn_obj; in pn_sockaddr_get_port()176 return pn_object(spn->spn_dev, spn->spn_obj); in pn_sockaddr_get_object()