fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
socket_info.c File Reference

querying local and remote info for socket More...

#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "byte.h"
#include "socket_if.h"
#include "ip.h"
Include dependency graph for socket_info.c:

Go to the source code of this file.

Functions

int socket_local (int s, char ip[16], uint16 *port, uint32 *scope_id)
 
int socket_remote (int s, char ip[16], uint16 *port, uint32 *scope_id)
 

Detailed Description

querying local and remote info for socket

Authors
djb, fefe, feh ucspi-tcp6

Definition in file socket_info.c.

Function Documentation

◆ socket_local()

int socket_local ( int  s,
char  ip[16],
uint16 port,
uint32 scope_id 
)

Definition at line 16 of file socket_info.c.

Here is the call graph for this function:

◆ socket_remote()

int socket_remote ( int  s,
char  ip[16],
uint16 port,
uint32 scope_id 
)

Definition at line 38 of file socket_info.c.

Here is the call graph for this function: