Home
last modified time | relevance | path

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

/linux-4.19.296/include/uapi/linux/
Dphonet.h105 __u8 spn_dev; member
140 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()