summaryrefslogtreecommitdiffstats
path: root/include/net/llc_if.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-12 17:58:37 +0200
committerJakub Kicinski <kuba@kernel.org>2021-10-13 18:40:46 +0200
commit2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (patch)
treef91f8d6188a7b4ef0546b89cdcfd671674cce181 /include/net/llc_if.h
parentrose: constify dev_addr passing (diff)
downloadlinux-2ef6db76bac0f3006daceb9eeeaf5f09820b1caf.tar.xz
linux-2ef6db76bac0f3006daceb9eeeaf5f09820b1caf.zip
llc/snap: constify dev_addr passing
In preparation for netdev->dev_addr being constant make all relevant arguments in LLC and SNAP constant. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/llc_if.h')
-rw-r--r--include/net/llc_if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/llc_if.h b/include/net/llc_if.h
index 8d5c543cd620..c72570a21a4f 100644
--- a/include/net/llc_if.h
+++ b/include/net/llc_if.h
@@ -62,7 +62,8 @@
#define LLC_STATUS_CONFLICT 7 /* disconnect conn */
#define LLC_STATUS_RESET_DONE 8 /* */
-int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap);
+int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac,
+ u8 dsap);
int llc_build_and_send_pkt(struct sock *sk, struct sk_buff *skb);
int llc_send_disc(struct sock *sk);
#endif /* LLC_IF_H */