Home
last modified time | relevance | path

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

/linux/net/mctp/
H A Daf_mctp.c57 struct sockaddr_mctp *smctp; in mctp_bind() local
60 if (addrlen < sizeof(*smctp)) in mctp_bind()
70 smctp = (struct sockaddr_mctp *)addr; in mctp_bind()
72 if (!mctp_sockaddr_is_ok(smctp)) in mctp_bind()
82 msk->bind_local_addr = smctp->smctp_addr.s_addr; in mctp_bind()
89 if (smctp->smctp_network == MCTP_NET_ANY && in mctp_bind()
93 msk->bind_net = smctp->smctp_network; in mctp_bind()
97 smctp->smctp_type &= 0x7f; in mctp_bind()
100 if (msk->bind_type != smctp->smctp_type) { in mctp_bind()
117 msk->bind_type = smctp->smctp_type; in mctp_bind()
[all …]