mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
can: raw: convert block comments to network style comments
This patch converts all block comments to network subsystem style block comments. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
97c3349351
commit
d6ada83bba
1 changed files with 4 additions and 8 deletions
|
@ -1,6 +1,5 @@
|
||||||
// SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
|
// SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
|
||||||
/*
|
/* raw.c - Raw sockets for protocol family CAN
|
||||||
* raw.c - Raw sockets for protocol family CAN
|
|
||||||
*
|
*
|
||||||
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
|
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -65,8 +64,7 @@ MODULE_ALIAS("can-proto-1");
|
||||||
|
|
||||||
#define MASK_ALL 0
|
#define MASK_ALL 0
|
||||||
|
|
||||||
/*
|
/* A raw socket has a list of can_filters attached to it, each receiving
|
||||||
* A raw socket has a list of can_filters attached to it, each receiving
|
|
||||||
* the CAN frames matching that filter. If the filter list is empty,
|
* the CAN frames matching that filter. If the filter list is empty,
|
||||||
* no CAN frames will be received by the socket. The default after
|
* no CAN frames will be received by the socket. The default after
|
||||||
* opening the socket, is to have one filter which receives all frames.
|
* opening the socket, is to have one filter which receives all frames.
|
||||||
|
@ -97,8 +95,7 @@ struct raw_sock {
|
||||||
struct uniqframe __percpu *uniq;
|
struct uniqframe __percpu *uniq;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/* Return pointer to store the extra msg flags for raw_recvmsg().
|
||||||
* Return pointer to store the extra msg flags for raw_recvmsg().
|
|
||||||
* We use the space of one unsigned int beyond the 'struct sockaddr_can'
|
* We use the space of one unsigned int beyond the 'struct sockaddr_can'
|
||||||
* in skb->cb.
|
* in skb->cb.
|
||||||
*/
|
*/
|
||||||
|
@ -157,8 +154,7 @@ static void raw_rcv(struct sk_buff *oskb, void *data)
|
||||||
if (!skb)
|
if (!skb)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/*
|
/* Put the datagram to the queue so that raw_recvmsg() can
|
||||||
* Put the datagram to the queue so that raw_recvmsg() can
|
|
||||||
* get it from there. We need to pass the interface index to
|
* get it from there. We need to pass the interface index to
|
||||||
* raw_recvmsg(). We pass a whole struct sockaddr_can in skb->cb
|
* raw_recvmsg(). We pass a whole struct sockaddr_can in skb->cb
|
||||||
* containing the interface index.
|
* containing the interface index.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue