mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-31 12:13:10 +00:00
whitespace fixes.
This commit is contained in:
parent
f8b6a631a2
commit
effa274e9e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87914
@ -213,8 +213,8 @@ iso88025_output(ifp, m, dst, rt0)
|
|||||||
struct rtentry *rt0;
|
struct rtentry *rt0;
|
||||||
{
|
{
|
||||||
u_int16_t snap_type = 0;
|
u_int16_t snap_type = 0;
|
||||||
int loop_copy = 0, error = 0, rif_len = 0;
|
int loop_copy = 0, error = 0, rif_len = 0;
|
||||||
u_char edst[ISO88025_ADDR_LEN];
|
u_char edst[ISO88025_ADDR_LEN];
|
||||||
struct iso88025_header *th;
|
struct iso88025_header *th;
|
||||||
struct iso88025_header gen_th;
|
struct iso88025_header gen_th;
|
||||||
struct sockaddr_dl *sdl = NULL;
|
struct sockaddr_dl *sdl = NULL;
|
||||||
|
@ -110,7 +110,7 @@ static MALLOC_DEFINE(M_LO, "lo", "Loopback Interface");
|
|||||||
|
|
||||||
struct lo_softc {
|
struct lo_softc {
|
||||||
struct ifnet sc_if; /* network-visible interface */
|
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;
|
static LIST_HEAD(lo_list, lo_softc) lo_list;
|
||||||
|
|
||||||
|
@ -454,7 +454,7 @@ tapclose(dev, foo, bar, td)
|
|||||||
struct tap_softc *tp = dev->si_drv1;
|
struct tap_softc *tp = dev->si_drv1;
|
||||||
struct ifnet *ifp = &tp->tap_if;
|
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));
|
("%s%d is not open", ifp->if_name, ifp->if_unit));
|
||||||
|
|
||||||
/* junk all pending output */
|
/* junk all pending output */
|
||||||
|
@ -390,7 +390,7 @@ struct ifmultiaddr {
|
|||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
struct ifindex_entry {
|
struct ifindex_entry {
|
||||||
struct ifnet *ife_ifnet;
|
struct ifnet *ife_ifnet;
|
||||||
struct ifaddr *ife_ifnet_addr;
|
struct ifaddr *ife_ifnet_addr;
|
||||||
dev_t ife_dev;
|
dev_t ife_dev;
|
||||||
};
|
};
|
||||||
|
@ -81,7 +81,7 @@ SYSCTL_DECL(_net_inet_icmp);
|
|||||||
extern int badport_bandlim __P((int));
|
extern int badport_bandlim __P((int));
|
||||||
#define BANDLIM_UNLIMITED -1
|
#define BANDLIM_UNLIMITED -1
|
||||||
#define BANDLIM_ICMP_UNREACH 0
|
#define BANDLIM_ICMP_UNREACH 0
|
||||||
#define BANDLIM_ICMP_ECHO 1
|
#define BANDLIM_ICMP_ECHO 1
|
||||||
#define BANDLIM_ICMP_TSTAMP 2
|
#define BANDLIM_ICMP_TSTAMP 2
|
||||||
#define BANDLIM_RST_CLOSEDPORT 3 /* No connection, and no listeners */
|
#define BANDLIM_RST_CLOSEDPORT 3 /* No connection, and no listeners */
|
||||||
#define BANDLIM_RST_OPENPORT 4 /* No connection, listener */
|
#define BANDLIM_RST_OPENPORT 4 /* No connection, listener */
|
||||||
|
@ -614,12 +614,12 @@ icmp_reflect(m)
|
|||||||
TAILQ_FOREACH(ifa, &m->m_pkthdr.rcvif->if_addrhead, ifa_link) {
|
TAILQ_FOREACH(ifa, &m->m_pkthdr.rcvif->if_addrhead, ifa_link) {
|
||||||
if (ifa->ifa_addr->sa_family != AF_INET)
|
if (ifa->ifa_addr->sa_family != AF_INET)
|
||||||
continue;
|
continue;
|
||||||
ia = ifatoia(ifa);
|
ia = ifatoia(ifa);
|
||||||
if (satosin(&ia->ia_broadaddr)->sin_addr.s_addr ==
|
if (satosin(&ia->ia_broadaddr)->sin_addr.s_addr ==
|
||||||
t.s_addr)
|
t.s_addr)
|
||||||
goto match;
|
goto match;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ro = &rt;
|
ro = &rt;
|
||||||
bzero(ro, sizeof(*ro));
|
bzero(ro, sizeof(*ro));
|
||||||
ia = ip_rtaddr(ip->ip_dst, ro);
|
ia = ip_rtaddr(ip->ip_dst, ro);
|
||||||
|
Loading…
Reference in New Issue
Block a user