Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/netecone...
File: ec.h
/* Definitions for use with Linux AF_ECONET sockets.
[0] Fix | Delete
Copyright (C) 1998-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _NETECONET_EC_H
[18] Fix | Delete
#define _NETECONET_EC_H 1
[19] Fix | Delete
[20] Fix | Delete
#include <features.h>
[21] Fix | Delete
#include <bits/sockaddr.h>
[22] Fix | Delete
[23] Fix | Delete
struct ec_addr
[24] Fix | Delete
{
[25] Fix | Delete
unsigned char station; /* Station number. */
[26] Fix | Delete
unsigned char net; /* Network number. */
[27] Fix | Delete
};
[28] Fix | Delete
[29] Fix | Delete
struct sockaddr_ec
[30] Fix | Delete
{
[31] Fix | Delete
__SOCKADDR_COMMON (sec_);
[32] Fix | Delete
unsigned char port; /* Port number. */
[33] Fix | Delete
unsigned char cb; /* Control/flag byte. */
[34] Fix | Delete
unsigned char type; /* Type of message. */
[35] Fix | Delete
struct ec_addr addr;
[36] Fix | Delete
unsigned long cookie;
[37] Fix | Delete
};
[38] Fix | Delete
[39] Fix | Delete
#define ECTYPE_PACKET_RECEIVED 0 /* Packet received */
[40] Fix | Delete
#define ECTYPE_TRANSMIT_STATUS 0x10 /* Transmit completed */
[41] Fix | Delete
[42] Fix | Delete
#define ECTYPE_TRANSMIT_OK 1
[43] Fix | Delete
#define ECTYPE_TRANSMIT_NOT_LISTENING 2
[44] Fix | Delete
#define ECTYPE_TRANSMIT_NET_ERROR 3
[45] Fix | Delete
#define ECTYPE_TRANSMIT_NO_CLOCK 4
[46] Fix | Delete
#define ECTYPE_TRANSMIT_LINE_JAMMED 5
[47] Fix | Delete
#define ECTYPE_TRANSMIT_NOT_PRESENT 6
[48] Fix | Delete
[49] Fix | Delete
#endif
[50] Fix | Delete
[51] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function