Added the IP allocate and IP transmit functions.
TODO: add the ip_data to the CB.