Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b1b28e47
Commit
b1b28e47
authored
Sep 12, 2002
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[LLC] remove unsupported flowcontrol prim bits
parent
8447eb90
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
19 deletions
+2
-19
include/net/llc_if.h
include/net/llc_if.h
+1
-8
net/llc/llc_if.c
net/llc/llc_if.c
+1
-10
net/llc/llc_sock.c
net/llc/llc_sock.c
+0
-1
No files found.
include/net/llc_if.h
View file @
b1b28e47
...
...
@@ -20,7 +20,7 @@
#define LLC_DATA_PRIM 2
#define LLC_DISC_PRIM 3
#define LLC_RESET_PRIM 4
#define LLC_FLOWCONTROL_PRIM 5
#define LLC_FLOWCONTROL_PRIM 5
/* Not supported at this time */
#define LLC_DISABLE_PRIM 6
#define LLC_XID_PRIM 7
#define LLC_TEST_PRIM 8
...
...
@@ -71,12 +71,6 @@ struct llc_prim_reset {
u8
reason
;
/* used only by indicate */
};
struct
llc_prim_flow_ctrl
{
struct
sock
*
sk
;
u16
link
;
u32
amount
;
};
/* Sending data in conection-less mode */
struct
llc_prim_unit_data
{
struct
llc_addr
saddr
;
...
...
@@ -102,7 +96,6 @@ struct llc_prim_test {
union
llc_u_prim_data
{
struct
llc_prim_reset
res
;
struct
llc_prim_flow_ctrl
fc
;
struct
llc_prim_unit_data
udata
;
/* unit data */
struct
llc_prim_xid
xid
;
struct
llc_prim_test
test
;
...
...
net/llc/llc_if.c
View file @
b1b28e47
...
...
@@ -33,7 +33,6 @@ static int llc_unitdata_req_handler(struct llc_prim_if_block *prim);
static
int
llc_test_req_handler
(
struct
llc_prim_if_block
*
prim
);
static
int
llc_xid_req_handler
(
struct
llc_prim_if_block
*
prim
);
static
int
llc_rst_req_handler
(
struct
llc_prim_if_block
*
prim
);
static
int
llc_flowcontrol_req_handler
(
struct
llc_prim_if_block
*
prim
);
/* table of request handler functions */
static
llc_prim_call_t
llc_req_prim
[
LLC_NBR_PRIMITIVES
]
=
{
...
...
@@ -42,7 +41,7 @@ static llc_prim_call_t llc_req_prim[LLC_NBR_PRIMITIVES] = {
[
LLC_DATA_PRIM
]
=
NULL
,
/* replaced by llc_build_and_send_pkt */
[
LLC_DISC_PRIM
]
=
NULL
,
/* replaced by llc_send_disc */
[
LLC_RESET_PRIM
]
=
llc_rst_req_handler
,
[
LLC_FLOWCONTROL_PRIM
]
=
llc_flowcontrol_req_handler
,
[
LLC_FLOWCONTROL_PRIM
]
=
NULL
,
/* Not supported at this time */
[
LLC_XID_PRIM
]
=
llc_xid_req_handler
,
[
LLC_TEST_PRIM
]
=
llc_test_req_handler
,
};
...
...
@@ -372,13 +371,5 @@ static int llc_rst_req_handler(struct llc_prim_if_block *prim)
return
rc
;
}
/* We don't support flow control. The original code from procom has
* some bits, but for now I'm cleaning this
*/
static
int
llc_flowcontrol_req_handler
(
struct
llc_prim_if_block
*
prim
)
{
return
1
;
}
EXPORT_SYMBOL
(
llc_sap_open
);
EXPORT_SYMBOL
(
llc_sap_close
);
net/llc/llc_sock.c
View file @
b1b28e47
...
...
@@ -1348,7 +1348,6 @@ static int llc_ui_indicate(struct llc_prim_if_block *prim)
"is gone for ->ind()...
\n
"
,
__FUNCTION__
);
break
;
case
LLC_RESET_PRIM
:
case
LLC_FLOWCONTROL_PRIM
:
default:
break
;
}
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment