Lines Matching refs:msg

59 			LMS_OPEN_CONNECTION_EX_MESSAGE *msg =  in _LmeReceiveCompat()  local
63 switch (msg->Protocol) { in _LmeReceiveCompat()
73 if ((msg->Flags & HOSTNAME_BIT) != 0) { in _LmeReceiveCompat()
75 msg->ConnectionId, in _LmeReceiveCompat()
76 msg->Host, in _LmeReceiveCompat()
77 ntohs(msg->HostPort)); in _LmeReceiveCompat()
80 (const char *)msg->Host, in _LmeReceiveCompat()
81 ntohs(msg->HostPort), in _LmeReceiveCompat()
85 msg->ConnectionId, in _LmeReceiveCompat()
86 inet_ntoa(*((struct in_addr *)msg->Host)), in _LmeReceiveCompat()
87 ntohs(msg->HostPort)); in _LmeReceiveCompat()
90 inet_ntoa(*((struct in_addr *)msg->Host)), in _LmeReceiveCompat()
91 ntohs(msg->HostPort), in _LmeReceiveCompat()
101 c->SetRecipientChannel(msg->ConnectionId); in _LmeReceiveCompat()
106 _openChannels[msg->ConnectionId] = c; in _LmeReceiveCompat()
115 LMS_CLOSE_CONNECTION_MESSAGE *msg = in _LmeReceiveCompat() local
118 PRINT("[Compat]received close connection msg from HECI for connection %d\n", msg->ConnectionId); in _LmeReceiveCompat()
122 ChannelMap::iterator it = _openChannels.find(msg->ConnectionId); in _LmeReceiveCompat()
132 LMS_SEND_DATA_MESSAGE *msg = in _LmeReceiveCompat() local
137 ChannelMap::iterator it = _openChannels.find(msg->ConnectionId); in _LmeReceiveCompat()
139 …t]sending %d bytes from HECI connection %d to socket %d\n", ntohs(msg->DataLength), msg->Connectio… in _LmeReceiveCompat()
140 if (-1 == _send(it->second->GetSocket(), (char *)msg->Data, ntohs(msg->DataLength), error)) { in _LmeReceiveCompat()