From f9ebb230ca1b1ab7963cd38728716b73299417dc Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 7 Aug 2008 09:06:04 +0000 Subject: Minor white space tweaks. MFC after: 1 week --- sys/netinet/in_pcb.c | 6 +++--- sys/netinet/in_pcb.h | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index c06c67f..88f86fb 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -221,7 +221,7 @@ in_pcballoc(struct socket *so, struct inpcbinfo *pcbinfo) #endif INP_WLOCK(inp); inp->inp_gencnt = ++pcbinfo->ipi_gencnt; - + #if defined(IPSEC) || defined(MAC) out: if (error != 0) @@ -610,7 +610,7 @@ in_pcbconnect_setup(struct inpcb *inp, struct sockaddr *nam, /* * If we found a route, use the address corresponding to * the outgoing interface. - * + * * Otherwise assume faddr is reachable on a directly connected * network and try to find a corresponding interface to take * the source address from. @@ -718,7 +718,7 @@ in_pcbfree(struct inpcb *inp) if (inp->inp_moptions != NULL) inp_freemoptions(inp->inp_moptions); inp->inp_vflag = 0; - + #ifdef MAC mac_inpcb_destroy(inp); #endif diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 1f57c7f..598f843 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -307,7 +307,7 @@ struct inpcbinfo { * vimage 1 * general use 1 */ - void *ipi_pspare[2]; + void *ipi_pspare[2]; }; #define INP_LOCK_INIT(inp, d, t) \ @@ -326,7 +326,7 @@ struct inpcbinfo { #ifdef _KERNEL /* - * These locking functions are for inpcb consumers outside of sys/netinet, + * These locking functions are for inpcb consumers outside of sys/netinet, * more specifically, they were added for the benefit of TOE drivers. The * macros are reserved for use by the stack. */ @@ -358,12 +358,11 @@ struct socket * inp_inpcbtosocket(struct inpcb *inp); struct tcpcb * inp_inpcbtotcpcb(struct inpcb *inp); -void inp_4tuple_get(struct inpcb *inp, uint32_t *laddr, uint16_t *lp, +void inp_4tuple_get(struct inpcb *inp, uint32_t *laddr, uint16_t *lp, uint32_t *faddr, uint16_t *fp); #endif /* _KERNEL */ - #define INP_INFO_LOCK_INIT(ipi, d) \ rw_init_flags(&(ipi)->ipi_lock, (d), RW_RECURSE) #define INP_INFO_LOCK_DESTROY(ipi) rw_destroy(&(ipi)->ipi_lock) -- cgit v1.1