diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-01 15:45:47 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-05 06:22:42 -0400 |
| commit | 56d51b65bcc7a5780663abd579fb6f039616b347 (patch) | |
| tree | 52db112adafcb4594fd7267fdb87a713366939d2 /include/uapi/linux/dvb | |
| parent | 5176d6eefd5d58fbb787f96c2140cffb2e826b17 (diff) | |
media: net.h: add kernel-doc and use it at Documentation/
As we did with frontend.h, ca.h and dmx.h, move the struct
definition to net.h.
That should help to keep it updated, as more stuff gets
added there.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux/dvb')
| -rw-r--r-- | include/uapi/linux/dvb/net.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/uapi/linux/dvb/net.h b/include/uapi/linux/dvb/net.h index f451e7eb0b0b..89d805f9a5a6 100644 --- a/include/uapi/linux/dvb/net.h +++ b/include/uapi/linux/dvb/net.h | |||
| @@ -26,6 +26,21 @@ | |||
| 26 | 26 | ||
| 27 | #include <linux/types.h> | 27 | #include <linux/types.h> |
| 28 | 28 | ||
| 29 | /** | ||
| 30 | * struct dvb_net_if - describes a DVB network interface | ||
| 31 | * | ||
| 32 | * @pid: Packet ID (PID) of the MPEG-TS that contains data | ||
| 33 | * @if_num: number of the Digital TV interface. | ||
| 34 | * @feedtype: Encapsulation type of the feed. | ||
| 35 | * | ||
| 36 | * A MPEG-TS stream may contain packet IDs with IP packages on it. | ||
| 37 | * This struct describes it, and the type of encoding. | ||
| 38 | * | ||
| 39 | * @feedtype can be: | ||
| 40 | * | ||
| 41 | * - %DVB_NET_FEEDTYPE_MPE for MPE encoding | ||
| 42 | * - %DVB_NET_FEEDTYPE_ULE for ULE encoding. | ||
| 43 | */ | ||
| 29 | struct dvb_net_if { | 44 | struct dvb_net_if { |
| 30 | __u16 pid; | 45 | __u16 pid; |
| 31 | __u16 if_num; | 46 | __u16 if_num; |
