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
nexedi
linux
Commits
a5ea51da
Commit
a5ea51da
authored
Aug 12, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/acme/BK/newdatalink-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents
7e73d6ff
b4878edb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/net/appletalk/cops.c
drivers/net/appletalk/cops.c
+3
-3
drivers/net/appletalk/ipddp.c
drivers/net/appletalk/ipddp.c
+1
-1
drivers/net/appletalk/ipddp.h
drivers/net/appletalk/ipddp.h
+1
-1
drivers/net/appletalk/ltpc.c
drivers/net/appletalk/ltpc.c
+2
-2
No files found.
drivers/net/appletalk/cops.c
View file @
a5ea51da
...
@@ -181,7 +181,7 @@ struct cops_local
...
@@ -181,7 +181,7 @@ struct cops_local
int
board
;
/* Holds what board type is. */
int
board
;
/* Holds what board type is. */
int
nodeid
;
/* Set to 1 once have nodeid. */
int
nodeid
;
/* Set to 1 once have nodeid. */
unsigned
char
node_acquire
;
/* Node ID when acquired. */
unsigned
char
node_acquire
;
/* Node ID when acquired. */
struct
at_addr
node_addr
;
/* Full node address */
struct
at
alk
_addr
node_addr
;
/* Full node address */
};
};
/* Index to functions, as function prototypes. */
/* Index to functions, as function prototypes. */
...
@@ -955,8 +955,8 @@ static int cops_hard_header(struct sk_buff *skb, struct net_device *dev,
...
@@ -955,8 +955,8 @@ static int cops_hard_header(struct sk_buff *skb, struct net_device *dev,
static
int
cops_ioctl
(
struct
net_device
*
dev
,
struct
ifreq
*
ifr
,
int
cmd
)
static
int
cops_ioctl
(
struct
net_device
*
dev
,
struct
ifreq
*
ifr
,
int
cmd
)
{
{
struct
cops_local
*
lp
=
(
struct
cops_local
*
)
dev
->
priv
;
struct
cops_local
*
lp
=
(
struct
cops_local
*
)
dev
->
priv
;
struct
sockaddr_at
*
sa
=
(
struct
sockaddr_at
*
)
&
ifr
->
ifr_addr
;
struct
sockaddr_at
*
sa
=
(
struct
sockaddr_at
*
)
&
ifr
->
ifr_addr
;
struct
at
_addr
*
aa
=
(
struct
at
_addr
*
)
&
lp
->
node_addr
;
struct
at
alk_addr
*
aa
=
(
struct
atalk
_addr
*
)
&
lp
->
node_addr
;
switch
(
cmd
)
switch
(
cmd
)
{
{
...
...
drivers/net/appletalk/ipddp.c
View file @
a5ea51da
...
@@ -116,7 +116,7 @@ static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev)
...
@@ -116,7 +116,7 @@ static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev)
u32
paddr
=
((
struct
rtable
*
)
skb
->
dst
)
->
rt_gateway
;
u32
paddr
=
((
struct
rtable
*
)
skb
->
dst
)
->
rt_gateway
;
struct
ddpehdr
*
ddp
;
struct
ddpehdr
*
ddp
;
struct
ipddp_route
*
rt
;
struct
ipddp_route
*
rt
;
struct
at_addr
*
our_addr
;
struct
at
alk
_addr
*
our_addr
;
/*
/*
* Find appropriate route to use, based only on IP number.
* Find appropriate route to use, based only on IP number.
...
...
drivers/net/appletalk/ipddp.h
View file @
a5ea51da
...
@@ -15,7 +15,7 @@ struct ipddp_route
...
@@ -15,7 +15,7 @@ struct ipddp_route
{
{
struct
net_device
*
dev
;
/* Carrier device */
struct
net_device
*
dev
;
/* Carrier device */
__u32
ip
;
/* IP address */
__u32
ip
;
/* IP address */
struct
at_addr
at
;
/* Gateway appletalk address */
struct
at
alk
_addr
at
;
/* Gateway appletalk address */
int
flags
;
int
flags
;
struct
ipddp_route
*
next
;
struct
ipddp_route
*
next
;
};
};
...
...
drivers/net/appletalk/ltpc.c
View file @
a5ea51da
...
@@ -262,7 +262,7 @@ static unsigned char *ltdmacbuf;
...
@@ -262,7 +262,7 @@ static unsigned char *ltdmacbuf;
struct
ltpc_private
struct
ltpc_private
{
{
struct
net_device_stats
stats
;
struct
net_device_stats
stats
;
struct
at_addr
my_addr
;
struct
at
alk
_addr
my_addr
;
};
};
/* transmit queue element struct */
/* transmit queue element struct */
...
@@ -826,7 +826,7 @@ static int ltpc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
...
@@ -826,7 +826,7 @@ static int ltpc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
{
struct
sockaddr_at
*
sa
=
(
struct
sockaddr_at
*
)
&
ifr
->
ifr_addr
;
struct
sockaddr_at
*
sa
=
(
struct
sockaddr_at
*
)
&
ifr
->
ifr_addr
;
/* we'll keep the localtalk node address in dev->pa_addr */
/* we'll keep the localtalk node address in dev->pa_addr */
struct
at_addr
*
aa
=
&
((
struct
ltpc_private
*
)
dev
->
priv
)
->
my_addr
;
struct
at
alk
_addr
*
aa
=
&
((
struct
ltpc_private
*
)
dev
->
priv
)
->
my_addr
;
struct
lt_init
c
;
struct
lt_init
c
;
int
ltflags
;
int
ltflags
;
...
...
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