whitespace fixes.

This commit is contained in:
Jonathan Lemon 2001-12-14 19:32:47 +00:00
parent f8b6a631a2
commit effa274e9e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87914
6 changed files with 12 additions and 12 deletions

View File

@ -213,8 +213,8 @@ iso88025_output(ifp, m, dst, rt0)
struct rtentry *rt0;
{
u_int16_t snap_type = 0;
int loop_copy = 0, error = 0, rif_len = 0;
u_char edst[ISO88025_ADDR_LEN];
int loop_copy = 0, error = 0, rif_len = 0;
u_char edst[ISO88025_ADDR_LEN];
struct iso88025_header *th;
struct iso88025_header gen_th;
struct sockaddr_dl *sdl = NULL;

View File

@ -110,7 +110,7 @@ static MALLOC_DEFINE(M_LO, "lo", "Loopback Interface");
struct lo_softc {
struct ifnet sc_if; /* network-visible interface */
LIST_ENTRY(lo_softc) sc_next;
LIST_ENTRY(lo_softc) sc_next;
};
static LIST_HEAD(lo_list, lo_softc) lo_list;

View File

@ -454,7 +454,7 @@ tapclose(dev, foo, bar, td)
struct tap_softc *tp = dev->si_drv1;
struct ifnet *ifp = &tp->tap_if;
KASSERT((tp->tap_unit != NULL),
KASSERT((tp->tap_unit != NULL),
("%s%d is not open", ifp->if_name, ifp->if_unit));
/* junk all pending output */

View File

@ -390,7 +390,7 @@ struct ifmultiaddr {
} while (0)
struct ifindex_entry {
struct ifnet *ife_ifnet;
struct ifnet *ife_ifnet;
struct ifaddr *ife_ifnet_addr;
dev_t ife_dev;
};

View File

@ -81,7 +81,7 @@ SYSCTL_DECL(_net_inet_icmp);
extern int badport_bandlim __P((int));
#define BANDLIM_UNLIMITED -1
#define BANDLIM_ICMP_UNREACH 0
#define BANDLIM_ICMP_ECHO 1
#define BANDLIM_ICMP_ECHO 1
#define BANDLIM_ICMP_TSTAMP 2
#define BANDLIM_RST_CLOSEDPORT 3 /* No connection, and no listeners */
#define BANDLIM_RST_OPENPORT 4 /* No connection, listener */

View File

@ -614,12 +614,12 @@ icmp_reflect(m)
TAILQ_FOREACH(ifa, &m->m_pkthdr.rcvif->if_addrhead, ifa_link) {
if (ifa->ifa_addr->sa_family != AF_INET)
continue;
ia = ifatoia(ifa);
if (satosin(&ia->ia_broadaddr)->sin_addr.s_addr ==
t.s_addr)
goto match;
}
}
ia = ifatoia(ifa);
if (satosin(&ia->ia_broadaddr)->sin_addr.s_addr ==
t.s_addr)
goto match;
}
}
ro = &rt;
bzero(ro, sizeof(*ro));
ia = ip_rtaddr(ip->ip_dst, ro);