version 1.311, 2014/05/22 22:01:12 |
version 1.312, 2014/05/23 19:27:48 |
Line 271 struct mowner ip_rx_mowner = MOWNER_INIT |
|
Line 271 struct mowner ip_rx_mowner = MOWNER_INIT |
|
struct mowner ip_tx_mowner = MOWNER_INIT("internet", "tx"); |
struct mowner ip_tx_mowner = MOWNER_INIT("internet", "tx"); |
#endif |
#endif |
|
|
|
static void ip_input(struct mbuf *); |
static bool ip_dooptions(struct mbuf *); |
static bool ip_dooptions(struct mbuf *); |
static struct in_ifaddr *ip_rtaddr(struct in_addr); |
static struct in_ifaddr *ip_rtaddr(struct in_addr); |
static void sysctl_net_inet_ip_setup(struct sysctllog **); |
static void sysctl_net_inet_ip_setup(struct sysctllog **); |
|
|
* Ip input routine. Checksum and byte swap header. If fragmented |
* Ip input routine. Checksum and byte swap header. If fragmented |
* try to reassemble. Process options. Pass to next level. |
* try to reassemble. Process options. Pass to next level. |
*/ |
*/ |
void |
static void |
ip_input(struct mbuf *m) |
ip_input(struct mbuf *m) |
{ |
{ |
struct ip *ip = NULL; |
struct ip *ip = NULL; |