Deleted Added
full compact
ip_input.c (1542) ip_input.c (1549)
1/*
2 * Copyright (c) 1982, 1986, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 984 unchanged lines hidden (view full) ---

993void
994ip_forward(m, srcrt)
995 struct mbuf *m;
996 int srcrt;
997{
998 register struct ip *ip = mtod(m, struct ip *);
999 register struct sockaddr_in *sin;
1000 register struct rtentry *rt;
1/*
2 * Copyright (c) 1982, 1986, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 984 unchanged lines hidden (view full) ---

993void
994ip_forward(m, srcrt)
995 struct mbuf *m;
996 int srcrt;
997{
998 register struct ip *ip = mtod(m, struct ip *);
999 register struct sockaddr_in *sin;
1000 register struct rtentry *rt;
1001 int error, type = 0, code;
1001 int error, type = 0, code = 0;
1002 struct mbuf *mcopy;
1003 n_long dest;
1004 struct ifnet *destifp;
1005
1006 dest = 0;
1007#ifdef DIAGNOSTIC
1008 if (ipprintfs)
1009 printf("forward: src %x dst %x ttl %x\n", ip->ip_src,

--- 157 unchanged lines hidden ---
1002 struct mbuf *mcopy;
1003 n_long dest;
1004 struct ifnet *destifp;
1005
1006 dest = 0;
1007#ifdef DIAGNOSTIC
1008 if (ipprintfs)
1009 printf("forward: src %x dst %x ttl %x\n", ip->ip_src,

--- 157 unchanged lines hidden ---