Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux/dvb
File: net.h
/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* net.h
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright (C) 2000 Marcus Metzler <marcus@convergence.de>
[4] Fix | Delete
* & Ralph Metzler <ralph@convergence.de>
[5] Fix | Delete
* for convergence integrated media GmbH
[6] Fix | Delete
*
[7] Fix | Delete
* This program is free software; you can redistribute it and/or
[8] Fix | Delete
* modify it under the terms of the GNU Lesser General Public License
[9] Fix | Delete
* as published by the Free Software Foundation; either version 2.1
[10] Fix | Delete
* of the License, or (at your option) any later version.
[11] Fix | Delete
*
[12] Fix | Delete
* This program is distributed in the hope that it will be useful,
[13] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[14] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[15] Fix | Delete
* GNU General Public License for more details.
[16] Fix | Delete
*
[17] Fix | Delete
* You should have received a copy of the GNU Lesser General Public License
[18] Fix | Delete
* along with this program; if not, write to the Free Software
[19] Fix | Delete
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
[20] Fix | Delete
*
[21] Fix | Delete
*/
[22] Fix | Delete
[23] Fix | Delete
#ifndef _DVBNET_H_
[24] Fix | Delete
#define _DVBNET_H_
[25] Fix | Delete
[26] Fix | Delete
#include <linux/types.h>
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* struct dvb_net_if - describes a DVB network interface
[30] Fix | Delete
*
[31] Fix | Delete
* @pid: Packet ID (PID) of the MPEG-TS that contains data
[32] Fix | Delete
* @if_num: number of the Digital TV interface.
[33] Fix | Delete
* @feedtype: Encapsulation type of the feed.
[34] Fix | Delete
*
[35] Fix | Delete
* A MPEG-TS stream may contain packet IDs with IP packages on it.
[36] Fix | Delete
* This struct describes it, and the type of encoding.
[37] Fix | Delete
*
[38] Fix | Delete
* @feedtype can be:
[39] Fix | Delete
*
[40] Fix | Delete
* - %DVB_NET_FEEDTYPE_MPE for MPE encoding
[41] Fix | Delete
* - %DVB_NET_FEEDTYPE_ULE for ULE encoding.
[42] Fix | Delete
*/
[43] Fix | Delete
struct dvb_net_if {
[44] Fix | Delete
__u16 pid;
[45] Fix | Delete
__u16 if_num;
[46] Fix | Delete
__u8 feedtype;
[47] Fix | Delete
#define DVB_NET_FEEDTYPE_MPE 0 /* multi protocol encapsulation */
[48] Fix | Delete
#define DVB_NET_FEEDTYPE_ULE 1 /* ultra lightweight encapsulation */
[49] Fix | Delete
};
[50] Fix | Delete
[51] Fix | Delete
[52] Fix | Delete
#define NET_ADD_IF _IOWR('o', 52, struct dvb_net_if)
[53] Fix | Delete
#define NET_REMOVE_IF _IO('o', 53)
[54] Fix | Delete
#define NET_GET_IF _IOWR('o', 54, struct dvb_net_if)
[55] Fix | Delete
[56] Fix | Delete
[57] Fix | Delete
/* binary compatibility cruft: */
[58] Fix | Delete
struct __dvb_net_if_old {
[59] Fix | Delete
__u16 pid;
[60] Fix | Delete
__u16 if_num;
[61] Fix | Delete
};
[62] Fix | Delete
#define __NET_ADD_IF_OLD _IOWR('o', 52, struct __dvb_net_if_old)
[63] Fix | Delete
#define __NET_GET_IF_OLD _IOWR('o', 54, struct __dvb_net_if_old)
[64] Fix | Delete
[65] Fix | Delete
[66] Fix | Delete
#endif /*_DVBNET_H_*/
[67] Fix | Delete
[68] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function