le_net_interface.h File Reference

#include "legato.h"
#include "le_dcs_interface.h"
#include "le_net_common.h"

Go to the source code of this file.

Typedefs

typedef void(* le_net_DisconnectHandler_t) (void *)
 

Functions

void le_net_ConnectService (void)
 
le_result_t le_net_TryConnectService (void)
 
LE_FULL_API void le_net_SetServerDisconnectHandler (le_net_DisconnectHandler_t disconnectHandler, void *contextPtr)
 
void le_net_DisconnectService (void)
 
le_result_t le_net_ChangeRoute (le_dcs_ChannelRef_t channelRef, const char *LE_NONNULL destAddr, const char *LE_NONNULL prefixLength, bool isAdd)
 
le_result_t le_net_SetDefaultGW (le_dcs_ChannelRef_t channelRef)
 
le_result_t le_net_GetDefaultGW (le_dcs_ChannelRef_t channelRef, le_net_DefaultGatewayAddresses_t *addrPtr)
 
void le_net_BackupDefaultGW (void)
 
le_result_t le_net_RestoreDefaultGW (void)
 
le_result_t le_net_SetDNS (le_dcs_ChannelRef_t channelRef)
 
le_result_t le_net_GetDNS (le_dcs_ChannelRef_t channelRef, le_net_DnsServerAddresses_t *addrPtr)
 
void le_net_RestoreDNS (void)
 

Detailed Description

Legato le_net Interface include file.