diff options
author | Xin LI <delphij@FreeBSD.org> | 2007-07-05 16:23:49 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2007-07-05 16:23:49 +0000 |
commit | 1272577e22d8f1c1c5b5e88f2624836e93aecb17 (patch) | |
tree | 81174e8101271154426447c99842b2b14728c14e /sys/netinet6/sctp6_usrreq.c | |
parent | a22fb0da421fbd311de78b9204fd9e58e18b2d1d (diff) | |
download | src-1272577e22d8f1c1c5b5e88f2624836e93aecb17.tar.gz src-1272577e22d8f1c1c5b5e88f2624836e93aecb17.zip |
ANSIfy[1] plus some style cleanup nearby.
Discussed with: gnn, rwatson
Submitted by: Karl Sj?dahl - dunceor <dunceor gmail com> [1]
Approved by: re (rwatson)
Notes
Notes:
svn path=/head/; revision=171259
Diffstat (limited to 'sys/netinet6/sctp6_usrreq.c')
-rw-r--r-- | sys/netinet6/sctp6_usrreq.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c index b19236c90994..0065244de1e0 100644 --- a/sys/netinet6/sctp6_usrreq.c +++ b/sys/netinet6/sctp6_usrreq.c @@ -61,14 +61,8 @@ __FBSDID("$FreeBSD$"); extern struct protosw inetsw[]; - - - int -sctp6_input(i_pak, offp, proto) - struct mbuf **i_pak; - int *offp; - int proto; +sctp6_input(struct mbuf **i_pak, int *offp, int proto) { struct mbuf *m; struct ip6_hdr *ip6; @@ -259,11 +253,8 @@ bad: static void -sctp6_notify_mbuf(struct sctp_inpcb *inp, - struct icmp6_hdr *icmp6, - struct sctphdr *sh, - struct sctp_tcb *stcb, - struct sctp_nets *net) +sctp6_notify_mbuf(struct sctp_inpcb *inp, struct icmp6_hdr *icmp6, + struct sctphdr *sh, struct sctp_tcb *stcb, struct sctp_nets *net) { uint32_t nxtsz; @@ -336,10 +327,7 @@ out: void -sctp6_ctlinput(cmd, pktdst, d) - int cmd; - struct sockaddr *pktdst; - void *d; +sctp6_ctlinput(int cmd, struct sockaddr *pktdst, void *d) { struct sctphdr sh; struct ip6ctlparam *ip6cp = NULL; |