Project Alice
Loading...
Searching...
No Matches
pcp_server_discovery.c File Reference
#include "default_config.h"
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <stdint.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "pcp.h"
#include "pcp_utils.h"
#include "pcp_server_discovery.h"
#include "pcp_event_handler.h"
#include "net/gateway.h"
#include "pcp_msg.h"
#include "pcp_logger.h"
#include "net/findsaddr.h"
#include "net/pcp_socket.h"
Include dependency graph for pcp_server_discovery.c:

Go to the source code of this file.

Functions

void psd_add_gws (pcp_ctx_t *ctx)
 
pcp_errno psd_add_pcp_server (pcp_ctx_t *ctx, struct sockaddr *sa, uint8_t version)
 

Function Documentation

◆ psd_add_gws()

void psd_add_gws ( pcp_ctx_t ctx)

Definition at line 137 of file pcp_server_discovery.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ psd_add_pcp_server()

pcp_errno psd_add_pcp_server ( pcp_ctx_t ctx,
struct sockaddr *  sa,
uint8_t  version 
)

Definition at line 176 of file pcp_server_discovery.c.

Here is the call graph for this function:
Here is the caller graph for this function: