Title: ip_send()


ip_send() sets a few of the outgoing ip packet's ip header fields, checks the ip options of the packet (if there are any), and then either places the packet in the loopback queue of the ip port (if the packet is destined for the loopback address or the ip address of the ip port itself) or sends the packet off to a lower layer by calling its protocol-specific function (e.g., ipeth_send() for the ethernet layer).