diff options
Diffstat (limited to 'net/sctp/debug.c')
-rw-r--r-- | net/sctp/debug.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/net/sctp/debug.c b/net/sctp/debug.c index aa8340373af7..5f5ab28977c9 100644 --- a/net/sctp/debug.c +++ b/net/sctp/debug.c | |||
@@ -3,48 +3,48 @@ | |||
3 | * Copyright (c) 1999-2000 Cisco, Inc. | 3 | * Copyright (c) 1999-2000 Cisco, Inc. |
4 | * Copyright (c) 1999-2001 Motorola, Inc. | 4 | * Copyright (c) 1999-2001 Motorola, Inc. |
5 | * Copyright (c) 2001 Intel Corp. | 5 | * Copyright (c) 2001 Intel Corp. |
6 | * | 6 | * |
7 | * This file is part of the SCTP kernel reference Implementation | 7 | * This file is part of the SCTP kernel reference Implementation |
8 | * | 8 | * |
9 | * This file is part of the implementation of the add-IP extension, | 9 | * This file is part of the implementation of the add-IP extension, |
10 | * based on <draft-ietf-tsvwg-addip-sctp-02.txt> June 29, 2001, | 10 | * based on <draft-ietf-tsvwg-addip-sctp-02.txt> June 29, 2001, |
11 | * for the SCTP kernel reference Implementation. | 11 | * for the SCTP kernel reference Implementation. |
12 | * | 12 | * |
13 | * This file converts numerical ID value to alphabetical names for SCTP | 13 | * This file converts numerical ID value to alphabetical names for SCTP |
14 | * terms such as chunk type, parameter time, event type, etc. | 14 | * terms such as chunk type, parameter time, event type, etc. |
15 | * | 15 | * |
16 | * The SCTP reference implementation is free software; | 16 | * The SCTP reference implementation is free software; |
17 | * you can redistribute it and/or modify it under the terms of | 17 | * you can redistribute it and/or modify it under the terms of |
18 | * the GNU General Public License as published by | 18 | * the GNU General Public License as published by |
19 | * the Free Software Foundation; either version 2, or (at your option) | 19 | * the Free Software Foundation; either version 2, or (at your option) |
20 | * any later version. | 20 | * any later version. |
21 | * | 21 | * |
22 | * The SCTP reference implementation is distributed in the hope that it | 22 | * The SCTP reference implementation is distributed in the hope that it |
23 | * will be useful, but WITHOUT ANY WARRANTY; without even the implied | 23 | * will be useful, but WITHOUT ANY WARRANTY; without even the implied |
24 | * ************************ | 24 | * ************************ |
25 | * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 25 | * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
26 | * See the GNU General Public License for more details. | 26 | * See the GNU General Public License for more details. |
27 | * | 27 | * |
28 | * You should have received a copy of the GNU General Public License | 28 | * You should have received a copy of the GNU General Public License |
29 | * along with GNU CC; see the file COPYING. If not, write to | 29 | * along with GNU CC; see the file COPYING. If not, write to |
30 | * the Free Software Foundation, 59 Temple Place - Suite 330, | 30 | * the Free Software Foundation, 59 Temple Place - Suite 330, |
31 | * Boston, MA 02111-1307, USA. | 31 | * Boston, MA 02111-1307, USA. |
32 | * | 32 | * |
33 | * Please send any bug reports or fixes you make to the | 33 | * Please send any bug reports or fixes you make to the |
34 | * email address(es): | 34 | * email address(es): |
35 | * lksctp developers <lksctp-developers@lists.sourceforge.net> | 35 | * lksctp developers <lksctp-developers@lists.sourceforge.net> |
36 | * | 36 | * |
37 | * Or submit a bug report through the following website: | 37 | * Or submit a bug report through the following website: |
38 | * http://www.sf.net/projects/lksctp | 38 | * http://www.sf.net/projects/lksctp |
39 | * | 39 | * |
40 | * Written or modified by: | 40 | * Written or modified by: |
41 | * La Monte H.P. Yarroll <piggy@acm.org> | 41 | * La Monte H.P. Yarroll <piggy@acm.org> |
42 | * Karl Knutson <karl@athena.chicago.il.us> | 42 | * Karl Knutson <karl@athena.chicago.il.us> |
43 | * Xingang Guo <xingang.guo@intel.com> | 43 | * Xingang Guo <xingang.guo@intel.com> |
44 | * Jon Grimm <jgrimm@us.ibm.com> | 44 | * Jon Grimm <jgrimm@us.ibm.com> |
45 | * Daisy Chang <daisyc@us.ibm.com> | 45 | * Daisy Chang <daisyc@us.ibm.com> |
46 | * Sridhar Samudrala <sri@us.ibm.com> | 46 | * Sridhar Samudrala <sri@us.ibm.com> |
47 | * | 47 | * |
48 | * Any bugs reported given to us we will try to fix... any fixes shared will | 48 | * Any bugs reported given to us we will try to fix... any fixes shared will |
49 | * be incorporated into the next SCTP release. | 49 | * be incorporated into the next SCTP release. |
50 | */ | 50 | */ |
@@ -81,7 +81,7 @@ const char *sctp_cname(const sctp_subtype_t cid) | |||
81 | return "illegal chunk id"; | 81 | return "illegal chunk id"; |
82 | if (cid.chunk <= SCTP_CID_BASE_MAX) | 82 | if (cid.chunk <= SCTP_CID_BASE_MAX) |
83 | return sctp_cid_tbl[cid.chunk]; | 83 | return sctp_cid_tbl[cid.chunk]; |
84 | 84 | ||
85 | switch (cid.chunk) { | 85 | switch (cid.chunk) { |
86 | case SCTP_CID_ASCONF: | 86 | case SCTP_CID_ASCONF: |
87 | return "ASCONF"; | 87 | return "ASCONF"; |
@@ -154,7 +154,7 @@ const char *sctp_pname(const sctp_subtype_t id) | |||
154 | 154 | ||
155 | static const char *sctp_other_tbl[] = { | 155 | static const char *sctp_other_tbl[] = { |
156 | "NO_PENDING_TSN", | 156 | "NO_PENDING_TSN", |
157 | "ICMP_PROTO_UNREACH", | 157 | "ICMP_PROTO_UNREACH", |
158 | }; | 158 | }; |
159 | 159 | ||
160 | /* Lookup "other" debug name. */ | 160 | /* Lookup "other" debug name. */ |