hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/sunrpc/msg_prot.h
....@@ -8,8 +8,6 @@
88 #ifndef _LINUX_SUNRPC_MSGPROT_H_
99 #define _LINUX_SUNRPC_MSGPROT_H_
1010
11
-#ifdef __KERNEL__ /* user programs should get these from the rpc header files */
12
-
1311 #define RPC_VERSION 2
1412
1513 /* size of an XDR encoding unit in bytes, i.e. 32bit */
....@@ -145,7 +143,7 @@
145143 /*
146144 * Well-known netids. See:
147145 *
148
- * http://www.iana.org/assignments/rpc-netids/rpc-netids.xhtml
146
+ * https://www.iana.org/assignments/rpc-netids/rpc-netids.xhtml
149147 */
150148 #define RPCBIND_NETID_UDP "udp"
151149 #define RPCBIND_NETID_TCP "tcp"
....@@ -217,5 +215,4 @@
217215 /* Assume INET6_ADDRSTRLEN will always be larger than INET_ADDRSTRLEN... */
218216 #define RPCBIND_MAXUADDRLEN RPCBIND_MAXUADDR6LEN
219217
220
-#endif /* __KERNEL__ */
221218 #endif /* _LINUX_SUNRPC_MSGPROT_H_ */