MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / sendNeighborParamsRequest

Method sendNeighborParamsRequest

Peering/Peering.cpp:288–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286
287
288void PeerInterface::sendNeighborParamsRequest(const struct sockaddr_in* peer)
289{
290 sendMessage(peer,"REQ NEIGHBOR_PARAMS");
291 // Get a string for the sockaddr_in.
292 char addrString[256];
293 const char *ret = inet_ntop(AF_INET,&(peer->sin_addr),addrString,255);
294 if (!ret) {
295 LOG(ALERT) << "cannot parse peer socket address";
296 return;
297 }
298 LOG(DEBUG) << "requested parameters from " << addrString << ":" << ntohs(peer->sin_port);
299}
300
301
302// (pat) This is BS2 which has received a request from BS1 to transfer the MS from BS1 to BS2.

Callers 1

refreshMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected