diff options
author | bde <bde@FreeBSD.org> | 2002-03-24 10:19:10 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-03-24 10:19:10 +0000 |
commit | 867fc1ed1cceb768a61213161aa1a6ae8b1b4dc7 (patch) | |
tree | d8015d788d425107d8581929edbf851b0947c775 /sys/netinet | |
parent | 3a6e21a3250a1856706318c7ef6ebb85df2332ac (diff) | |
download | FreeBSD-src-867fc1ed1cceb768a61213161aa1a6ae8b1b4dc7.zip FreeBSD-src-867fc1ed1cceb768a61213161aa1a6ae8b1b4dc7.tar.gz |
Fixed some style bugs in the removal of __P(()). Continuation lines
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/if_ether.h | 2 | ||||
-rw-r--r-- | sys/netinet/in_pcb.h | 5 | ||||
-rw-r--r-- | sys/netinet/in_var.h | 2 | ||||
-rw-r--r-- | sys/netinet/ip_mroute.c | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_input.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_reass.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 6 | ||||
-rw-r--r-- | sys/netinet/udp_usrreq.c | 6 |
8 files changed, 14 insertions, 15 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index a61bbee..6b31758 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -115,7 +115,7 @@ extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN]; extern struct ifqueue arpintrq; int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *, - struct sockaddr *, u_char *, struct rtentry *); + struct sockaddr *, u_char *, struct rtentry *); void arp_ifinit(struct ifnet *, struct ifaddr *); #endif diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 36aaa07..74f3a94 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -321,9 +321,8 @@ struct inpcb * in_pcblookup_local(struct inpcbinfo *, struct in_addr, u_int, int); struct inpcb * - in_pcblookup_hash(struct inpcbinfo *, - struct in_addr, u_int, struct in_addr, u_int, - int, struct ifnet *); + in_pcblookup_hash(struct inpcbinfo *, struct in_addr, u_int, + struct in_addr, u_int, int, struct ifnet *); void in_pcbnotifyall(struct inpcbhead *, struct in_addr, int, void (*)(struct inpcb *, int)); void in_pcbrehash(struct inpcb *); diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index 2e17ee3..4ccc4cd 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -226,7 +226,7 @@ struct route; struct in_multi *in_addmulti(struct in_addr *, struct ifnet *); void in_delmulti(struct in_multi *); int in_control(struct socket *, u_long, caddr_t, struct ifnet *, - struct thread *); + struct thread *); void in_rtqdrain(void); void ip_input(struct mbuf *); int in_ifadown(struct ifaddr *ifa, int); diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 4847b6d..f9fa8cd 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -42,8 +42,8 @@ #ifndef MROUTING extern u_long _ip_mcast_src(int vifi); -extern int _ip_mforward(struct ip *ip, struct ifnet *ifp, - struct mbuf *m, struct ip_moptions *imo); +extern int _ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, + struct ip_moptions *imo); extern int _ip_mrouter_done(void); extern int _ip_mrouter_get(struct socket *so, struct sockopt *sopt); extern int _ip_mrouter_set(struct socket *so, struct sockopt *sopt); diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index b1a392f..71684d0 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -134,7 +134,7 @@ static void tcp_dooptions(struct tcpopt *, u_char *, int, int); static void tcp_pulloutofband(struct socket *, struct tcphdr *, struct mbuf *, int); static int tcp_reass(struct tcpcb *, struct tcphdr *, int *, - struct mbuf *); + struct mbuf *); static void tcp_xmit_timer(struct tcpcb *, int); static int tcp_newreno(struct tcpcb *, struct tcphdr *); diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index b1a392f..71684d0 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -134,7 +134,7 @@ static void tcp_dooptions(struct tcpopt *, u_char *, int, int); static void tcp_pulloutofband(struct socket *, struct tcphdr *, struct mbuf *, int); static int tcp_reass(struct tcpcb *, struct tcphdr *, int *, - struct mbuf *); + struct mbuf *); static void tcp_xmit_timer(struct tcpcb *, int); static int tcp_newreno(struct tcpcb *, struct tcphdr *); diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index e95ba64..e1f4c1a 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -89,11 +89,11 @@ extern char *tcpstates[]; /* XXX ??? */ static int tcp_attach(struct socket *, struct thread *td); -static int tcp_connect(struct tcpcb *, struct sockaddr *, - struct thread *td); +static int tcp_connect(struct tcpcb *, struct sockaddr *, + struct thread *td); #ifdef INET6 static int tcp6_connect(struct tcpcb *, struct sockaddr *, - struct thread *td); + struct thread *td); #endif /* INET6 */ static struct tcpcb * tcp_disconnect(struct tcpcb *); diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 6a09dcd..79ada7f 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -126,15 +126,15 @@ struct udp_ip6 { } udp_ip6; #endif /* INET6 */ -static void udp_append(struct inpcb *last, struct ip *ip, - struct mbuf *n, int off); +static void udp_append(struct inpcb *last, struct ip *ip, struct mbuf *n, + int off); #ifdef INET6 static void ip_2_ip6_hdr(struct ip6_hdr *ip6, struct ip *ip); #endif static int udp_detach(struct socket *so); static int udp_output(struct inpcb *, struct mbuf *, struct sockaddr *, - struct mbuf *, struct thread *); + struct mbuf *, struct thread *); void udp_init() |