1TRANSPORT_CLASS_REGI(9)  Device drivers infrastructure TRANSPORT_CLASS_REGI(9)
2
3
4

NAME

6       transport_class_register - register an initial transport class
7

SYNOPSIS

9       int transport_class_register(struct transport_class * tclass);
10

ARGUMENTS

12       tclass
13           a pointer to the transport class structure to be initialised
14

DESCRIPTION

16       The transport class contains an embedded class which is used to
17       identify it. The caller should initialise this structure with zeros and
18       then generic class must have been initialised with the actual transport
19       class unique name. There's a macro DECLARE_TRANSPORT_CLASS to do this
20       (declared classes still must be registered).
21
22       Returns 0 on success or error on failure.
23
25Kernel Hackers Manual 3.10         June 2019           TRANSPORT_CLASS_REGI(9)
Impressum