Project Alice
Loading...
Searching...
No Matches
findsaddr-udp.c File Reference
#include "default_config.h"
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "pcp.h"
#include "findsaddr.h"
#include "unp.h"
Include dependency graph for findsaddr-udp.c:

Go to the source code of this file.

Macros

#define SOCKET   int
 
#define INVALID_SOCKET   -1
 

Functions

const char * findsaddr (const struct sockaddr_in *to, struct in6_addr *from)
 
const char * findsaddr6 (const struct sockaddr_in6 *to, struct in6_addr *from)
 

Macro Definition Documentation

◆ INVALID_SOCKET

#define INVALID_SOCKET   -1

Definition at line 68 of file findsaddr-udp.c.

◆ SOCKET

#define SOCKET   int

Definition at line 64 of file findsaddr-udp.c.

Function Documentation

◆ findsaddr()

const char * findsaddr ( const struct sockaddr_in *  to,
struct in6_addr *  from 
)

Definition at line 71 of file findsaddr-udp.c.

Here is the caller graph for this function:

◆ findsaddr6()

const char * findsaddr6 ( const struct sockaddr_in6 *  to,
struct in6_addr *  from 
)

Definition at line 113 of file findsaddr-udp.c.

Here is the caller graph for this function: