mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
mctp: Add MCTP base
Add basic Kconfig, an initial (empty) af_mctp source object, and
{AF,PF}_MCTP definitions, and the required definitions for a new
protocol type.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
658e6b1612
commit
bc49d8169a
@@ -223,8 +223,11 @@ struct ucred {
|
||||
* reuses AF_INET address family
|
||||
*/
|
||||
#define AF_XDP 44 /* XDP sockets */
|
||||
#define AF_MCTP 45 /* Management component
|
||||
* transport protocol
|
||||
*/
|
||||
|
||||
#define AF_MAX 45 /* For now.. */
|
||||
#define AF_MAX 46 /* For now.. */
|
||||
|
||||
/* Protocol families, same as address families. */
|
||||
#define PF_UNSPEC AF_UNSPEC
|
||||
@@ -274,6 +277,7 @@ struct ucred {
|
||||
#define PF_QIPCRTR AF_QIPCRTR
|
||||
#define PF_SMC AF_SMC
|
||||
#define PF_XDP AF_XDP
|
||||
#define PF_MCTP AF_MCTP
|
||||
#define PF_MAX AF_MAX
|
||||
|
||||
/* Maximum queue length specifiable by listen. */
|
||||
|
||||
Reference in New Issue
Block a user