version 1.312, 2014/05/23 19:27:48 |
version 1.313, 2014/05/23 19:35:24 |
Line 272 struct mowner ip_tx_mowner = MOWNER_INIT |
|
Line 272 struct mowner ip_tx_mowner = MOWNER_INIT |
|
#endif |
#endif |
|
|
static void ip_input(struct mbuf *); |
static void ip_input(struct mbuf *); |
|
static void ip_forward(struct mbuf *, int); |
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 **); |
Line 1167 ip_drainstub(void) |
|
Line 1168 ip_drainstub(void) |
|
* The srcrt parameter indicates whether the packet is being forwarded |
* The srcrt parameter indicates whether the packet is being forwarded |
* via a source route. |
* via a source route. |
*/ |
*/ |
void |
static void |
ip_forward(struct mbuf *m, int srcrt) |
ip_forward(struct mbuf *m, int srcrt) |
{ |
{ |
struct ip *ip = mtod(m, struct ip *); |
struct ip *ip = mtod(m, struct ip *); |