Helper functions for DHCPv6 relay agent. More...
Go to the source code of this file.
Functions | |
| error_t | dhcpv6RelayOpenClientSocket (Dhcpv6RelayContext *context, uint_t index) |
| Open client-facing socket. More... | |
| error_t | dhcpv6RelayOpenServerSocket (Dhcpv6RelayContext *context) |
| Open server-facing socket. More... | |
| error_t | dhcpv6ForwardClientMessage (Dhcpv6RelayContext *context, uint_t index) |
| Forward client message. More... | |
| error_t | dhcpv6ForwardRelayReplyMessage (Dhcpv6RelayContext *context) |
| Forward Relay-Reply message. More... | |
Detailed Description
Helper functions for DHCPv6 relay agent.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2026 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.
- Version
- 2.6.0
Definition in file dhcpv6_relay_misc.h.
Function Documentation
◆ dhcpv6ForwardClientMessage()
| error_t dhcpv6ForwardClientMessage | ( | Dhcpv6RelayContext * | context, |
| uint_t | index | ||
| ) |
Forward client message.
- Parameters
-
[in] context Pointer to the DHCPv6 relay agent context [in] index Index identifying the interface on which the message was received
- Returns
- Error code
Definition at line 193 of file dhcpv6_relay_misc.c.
◆ dhcpv6ForwardRelayReplyMessage()
| error_t dhcpv6ForwardRelayReplyMessage | ( | Dhcpv6RelayContext * | context | ) |
Forward Relay-Reply message.
- Parameters
-
[in] context Pointer to the DHCPv6 relay agent context
- Returns
- Error code
Definition at line 333 of file dhcpv6_relay_misc.c.
◆ dhcpv6RelayOpenClientSocket()
| error_t dhcpv6RelayOpenClientSocket | ( | Dhcpv6RelayContext * | context, |
| uint_t | index | ||
| ) |
Open client-facing socket.
- Parameters
-
[in] context Pointer to the DHCPv6 relay agent context [in] index Zero-based index
- Returns
- Error code
Definition at line 60 of file dhcpv6_relay_misc.c.
◆ dhcpv6RelayOpenServerSocket()
| error_t dhcpv6RelayOpenServerSocket | ( | Dhcpv6RelayContext * | context | ) |
Open server-facing socket.
- Parameters
-
[in] context Pointer to the DHCPv6 relay agent context
- Returns
- Error code
Definition at line 117 of file dhcpv6_relay_misc.c.
