#include "default_config.h"
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include "pcp.h"
#include "pcp_utils.h"
#include "pcp_client_db.h"
#include "pcp_logger.h"
Go to the source code of this file.
|
pcp_flow_t * | pcp_create_flow (pcp_server_t *s, struct flow_key_data *fkd) |
|
void | pcp_flow_clear_msg_buf (pcp_flow_t *f) |
|
pcp_errno | pcp_delete_flow_intern (pcp_flow_t *f) |
|
pcp_errno | pcp_db_add_flow (pcp_flow_t *f) |
|
pcp_flow_t * | pcp_get_flow (struct flow_key_data *fkd, pcp_server_t *s) |
|
pcp_errno | pcp_db_rem_flow (pcp_flow_t *f) |
|
pcp_errno | pcp_db_foreach_flow (pcp_ctx_t *ctx, pcp_db_flow_iterate f, void *data) |
|
int | pcp_new_server (pcp_ctx_t *ctx, struct in6_addr *ip, uint16_t port, uint32_t scope_id) |
|
pcp_server_t * | get_pcp_server (pcp_ctx_t *ctx, int pcp_server_index) |
|
pcp_errno | pcp_db_foreach_server (pcp_ctx_t *ctx, pcp_db_server_iterate f, void *data) |
|
pcp_server_t * | get_pcp_server_by_ip (pcp_ctx_t *ctx, struct in6_addr *ip) |
|
void | pcp_db_free_pcp_servers (pcp_ctx_t *ctx) |
|
◆ EMPTY
◆ PCP_INIT_SERVER_COUNT
#define PCP_INIT_SERVER_COUNT 5 |
◆ find_data_t
◆ get_pcp_server()
◆ get_pcp_server_by_ip()
◆ pcp_create_flow()
◆ pcp_db_add_flow()
◆ pcp_db_foreach_flow()
◆ pcp_db_foreach_server()
◆ pcp_db_free_pcp_servers()
void pcp_db_free_pcp_servers |
( |
pcp_ctx_t * |
ctx | ) |
|
◆ pcp_db_rem_flow()
◆ pcp_delete_flow_intern()
◆ pcp_flow_clear_msg_buf()
◆ pcp_get_flow()
◆ pcp_new_server()
int pcp_new_server |
( |
pcp_ctx_t * |
ctx, |
|
|
struct in6_addr * |
ip, |
|
|
uint16_t |
port, |
|
|
uint32_t |
scope_id |
|
) |
| |