summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/sctp6_usrreq.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-07-05 16:23:49 +0000
committerdelphij <delphij@FreeBSD.org>2007-07-05 16:23:49 +0000
commite6f8b0995d59e493018009921005c7f50759dc53 (patch)
tree81174e8101271154426447c99842b2b14728c14e /sys/netinet6/sctp6_usrreq.c
parent181b33ba1c42e4a3281278639aae08ff32ebbc29 (diff)
downloadFreeBSD-src-e6f8b0995d59e493018009921005c7f50759dc53.zip
FreeBSD-src-e6f8b0995d59e493018009921005c7f50759dc53.tar.gz
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)
Diffstat (limited to 'sys/netinet6/sctp6_usrreq.c')
-rw-r--r--sys/netinet6/sctp6_usrreq.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c
index b19236c..0065244 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;
OpenPOWER on IntegriCloud