Webserver+3d print

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

discard.h File Reference

discard.h File Reference

Discard protocol. More...

Go to the source code of this file.

Data Structures

struct  DiscardServiceContext
 Discard service context. More...

Functions

error_t tcpDiscardStart (void)
 Start TCP discard service.
void tcpDiscardListenerTask (void *param)
 Task handling connection requests.
void tcpDiscardConnectionTask (void *param)
 TCP discard service implementation.
error_t udpDiscardStart (void)
 Start UDP discard service.
void udpDiscardTask (void *param)
 UDP discard service implementation.

Detailed Description

Discard protocol.

License

Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author:
Oryx Embedded SARL (www.oryx-embedded.com)
Version:
1.7.6

Definition in file discard.h.


Function Documentation

void tcpDiscardConnectionTask ( void *  param )

TCP discard service implementation.

Parameters:
[in]paramPointer to the discard service context

Definition at line 183 of file discard.c.

void tcpDiscardListenerTask ( void *  param )

Task handling connection requests.

Parameters:
[in]paramPointer to the discard service context

Definition at line 110 of file discard.c.

error_t tcpDiscardStart ( void   )

Start TCP discard service.

Returns:
Error code

Definition at line 48 of file discard.c.

error_t udpDiscardStart ( void   )

Start UDP discard service.

Returns:
Error code

Definition at line 240 of file discard.c.

void udpDiscardTask ( void *  param )

UDP discard service implementation.

Parameters:
[in]paramPointer to the discard service context

Definition at line 309 of file discard.c.