Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
A 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()
/linux/Documentation/networking/
A Dphonet.rst85 uint8_t spn_dev; /* Device ID */
182 spn.spn_dev = ...;

Completed in 5 milliseconds