Lines Matching +full:0 +full:xfc
31 #define PN_PROTO_TRANSPORT 0
44 #define PNADDR_ANY 0
45 #define PNADDR_BROADCAST 0xFC
46 #define PNPORT_RESOURCE_ROUTING 0
49 #define PNPIPE_ENCAP_NONE 0
53 #define SIOCPNGETOBJECT (SIOCPROTOPRIVATE + 0)
84 #define PN_COMMON_MESSAGE 0xF0
85 #define PN_COMMGR 0x10
86 #define PN_PREFIX 0xE0 /* resource for extended messages */
94 #define PN_COMM_SERVICE_NOT_IDENTIFIED_RESP 0x01
95 #define PN_COMM_ISA_ENTITY_NOT_REACHABLE_RESP 0x14
96 #define pn_orig_msg_id pn_data[0]
98 #define pn_e_orig_msg_id pn_e_data[0]
111 #define PN_DEV_PC 0x10
115 return (addr << 8) | (port & 0x3ff); in pn_object()
120 return handle & 0xff; in pn_obj()
130 return handle & 0x3ff; in pn_port()
135 return (handle >> 8) & 0xfc; in pn_addr()
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()
148 spn->spn_obj = port & 0xff; in pn_sockaddr_set_port()
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()