Searched refs:spn (Results 1 – 2 of 2) sorted by relevance
138 static inline void pn_sockaddr_set_addr(struct sockaddr_pn *spn, __u8 addr) in pn_sockaddr_set_addr() argument140 spn->spn_dev &= 0x03; in pn_sockaddr_set_addr()141 spn->spn_dev |= addr & 0xfc; in pn_sockaddr_set_addr()144 static inline void pn_sockaddr_set_port(struct sockaddr_pn *spn, __u16 port) in pn_sockaddr_set_port() argument146 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()151 static inline void pn_sockaddr_set_object(struct sockaddr_pn *spn, in pn_sockaddr_set_object() argument154 spn->spn_dev = pn_dev(handle); in pn_sockaddr_set_object()155 spn->spn_obj = pn_obj(handle); in pn_sockaddr_set_object()[all …]
46 struct fc_ns_rspn spn; member182 hton24(ct->payload.spn.fr_fid.fp_fid, lport->port_id); in fc_ct_ns_fill()183 strncpy(ct->payload.spn.fr_name, in fc_ct_ns_fill()185 ct->payload.spn.fr_name_len = len; in fc_ct_ns_fill()