Osmocom's Base Station Controller for 2G mobile networks
https://osmocom.org/projects/osmobsc
62d97986a3
Right now the memcpy with the data will copy data to itself as the new_msg->data and msg->data are the same due the previous copying of the header which included copying the list entry.. We allocate a message as big as the current one, then we have to set all pointers by looking of how far they are away from the msg->_data and add that to the new pointers. Also copy the OpenBSC/GPRS specific CB data, also do the same for calculating the offset to the data... At the end we should end up with a copy... |
||
---|---|---|
hlrsync | ||
linux-kernel | ||
openbsc | ||
rrlp-ephemeris | ||
wireshark |