fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Macros | Functions
socket_if.h File Reference
#include "uint_t.h"
Include dependency graph for socket_if.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __APPLE_USE_RFC_3542   /* MacOS Anycast support */
 
#define socket_local4   socket_local
 
#define socket_remote4   socket_remote
 
#define socket_accept6   socket_accept
 
#define socket_local6   socket_local
 
#define socket_recv6   socket_recv
 
#define socket_remote6   socket_remote
 

Functions

int socket_accept4 (int, char[4], uint16 *)
 
int socket_bind4 (int, const char[4], uint16)
 
int socket_bind4_reuse (int, const char[4], uint16)
 
int socket_connect4 (int, const char[4], uint16)
 
int socket_send4 (int, const char *, unsigned int, const char[4], uint16)
 
int socket_broadcast (int, const char *, unsigned int, uint16)
 
int socket_bind6 (int, const char[16], uint16, uint32)
 
int socket_bind6_reuse (int, const char[16], uint16, uint32)
 
int socket_connect6 (int, const char[16], uint16, uint32)
 
int socket_send6 (int, const char *, unsigned int, const char[16], uint16, uint32)
 
const char * socket_getifname (uint32)
 
uint32 socket_getifidx (const char *)
 
int socket_ip6optionskill (int)
 
int socket_ip6anycast (int)
 
int socket_accept (int, char[16], uint16 *, uint32 *)
 
int socket_bind (int, const char[16], uint16, uint32)
 
int socket_bind_reuse (int, const char[16], uint16, uint32)
 
int socket_connect (int, const char[16], uint16, uint32)
 
int socket_connected (int)
 
int socket_listen (int, int)
 
int socket_local (int, char[16], uint16 *, uint32 *)
 
int socket_recv (int, char *, unsigned int, char[16], uint16 *, uint32 *)
 
int socket_remote (int, char[16], uint16 *, uint32 *)
 
int socket_send (int, const char *, unsigned int, const char[16], uint16, uint32)
 
void socket_tryreservein (int, int)
 
int socket_ipoptionskill (int)
 
int socket_dualstack (int)
 
int socket_nodualstack (int)
 
int socket_tcp4 (void)
 
int socket_tcp6 (void)
 
int socket_tcp (void)
 
int socket_tcpnodelay (int)
 
int socket_udp4 (void)
 
int socket_udp6 (void)
 
int socket_udp (void)
 

Macro Definition Documentation

◆ __APPLE_USE_RFC_3542

#define __APPLE_USE_RFC_3542   /* MacOS Anycast support */

Definition at line 21 of file socket_if.h.

◆ socket_accept6

#define socket_accept6   socket_accept

Definition at line 64 of file socket_if.h.

◆ socket_local4

#define socket_local4   socket_local

Definition at line 34 of file socket_if.h.

◆ socket_local6

#define socket_local6   socket_local

Definition at line 65 of file socket_if.h.

◆ socket_recv6

#define socket_recv6   socket_recv

Definition at line 66 of file socket_if.h.

◆ socket_remote4

#define socket_remote4   socket_remote

Definition at line 35 of file socket_if.h.

◆ socket_remote6

#define socket_remote6   socket_remote

Definition at line 67 of file socket_if.h.

Function Documentation

◆ socket_accept()

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

Definition at line 16 of file socket_setup.c.

Here is the call graph for this function:

◆ socket_accept4()

int socket_accept4 ( int  s,
char  ip[4],
uint16 port 
)

Definition at line 40 of file socket_setup.c.

Here is the call graph for this function:

◆ socket_bind()

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

Definition at line 65 of file socket_bind.c.

Here is the call graph for this function:

◆ socket_bind4()

int socket_bind4 ( int  s,
const char  ip[4],
uint16  port 
)

Definition at line 16 of file socket_bind.c.

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

◆ socket_bind4_reuse()

int socket_bind4_reuse ( int  s,
const char  ip[4],
uint16  port 
)

Definition at line 28 of file socket_bind.c.

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

◆ socket_bind6()

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

Definition at line 44 of file socket_bind.c.

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

◆ socket_bind6_reuse()

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

Definition at line 58 of file socket_bind.c.

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

◆ socket_bind_reuse()

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

Definition at line 73 of file socket_bind.c.

Here is the call graph for this function:

◆ socket_broadcast()

int socket_broadcast ( int  ,
const char *  ,
unsigned int  ,
uint16   
)

◆ socket_connect()

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

Definition at line 46 of file socket_connect.c.

Here is the call graph for this function:

◆ socket_connect4()

int socket_connect4 ( int  s,
const char  ip[4],
uint16  port 
)

Definition at line 34 of file socket_connect.c.

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

◆ socket_connect6()

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

Definition at line 17 of file socket_connect.c.

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

◆ socket_connected()

int socket_connected ( int  s)

Definition at line 54 of file socket_connect.c.

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

◆ socket_dualstack()

int socket_dualstack ( int  s)

Definition at line 87 of file socket_setup.c.

◆ socket_getifidx()

uint32 socket_getifidx ( const char *  ifname)

Definition at line 22 of file socket_if.c.

◆ socket_getifname()

const char * socket_getifname ( uint32  scope_id)

Definition at line 29 of file socket_if.c.

◆ socket_ip6anycast()

int socket_ip6anycast ( int  s)

Definition at line 70 of file socket_setup.c.

◆ socket_ip6optionskill()

int socket_ip6optionskill ( int  )

◆ socket_ipoptionskill()

int socket_ipoptionskill ( int  s)

Definition at line 60 of file socket_setup.c.

◆ socket_listen()

int socket_listen ( int  s,
int  backlog 
)

Definition at line 55 of file socket_setup.c.

◆ 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_nodualstack()

int socket_nodualstack ( int  s)

Definition at line 94 of file socket_setup.c.

◆ socket_recv()

int socket_recv ( int  s,
char *  buf,
unsigned int  len,
char  ip[16],
uint16 port,
uint32 scope_id 
)

Definition at line 16 of file socket_recv.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:

◆ socket_send()

int socket_send ( int  s,
const char *  buf,
unsigned int  len,
const char  ip[16],
uint16  port,
uint32  scope_id 
)

Definition at line 43 of file socket_send.c.

Here is the call graph for this function:

◆ socket_send4()

int socket_send4 ( int  s,
const char *  buf,
unsigned int  len,
const char  ip[4],
uint16  port 
)

Definition at line 16 of file socket_send.c.

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

◆ socket_send6()

int socket_send6 ( int  s,
const char *  buf,
unsigned int  len,
const char  ip[16],
uint16  port,
uint32  scope_id 
)

Definition at line 29 of file socket_send.c.

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

◆ socket_tcp()

int socket_tcp ( void  )

Definition at line 44 of file socket_tcp.c.

Here is the call graph for this function:

◆ socket_tcp4()

int socket_tcp4 ( void  )

Definition at line 22 of file socket_tcp.c.

Here is the call graph for this function:

◆ socket_tcp6()

int socket_tcp6 ( void  )

Definition at line 33 of file socket_tcp.c.

Here is the call graph for this function:

◆ socket_tcpnodelay()

int socket_tcpnodelay ( int  s)

Definition at line 59 of file socket_tcp.c.

◆ socket_tryreservein()

void socket_tryreservein ( int  s,
int  size 
)

Definition at line 36 of file socket_bind.c.

◆ socket_udp()

int socket_udp ( void  )

Definition at line 44 of file socket_udp.c.

Here is the call graph for this function:

◆ socket_udp4()

int socket_udp4 ( void  )

Definition at line 33 of file socket_udp.c.

Here is the call graph for this function:

◆ socket_udp6()

int socket_udp6 ( void  )

Definition at line 22 of file socket_udp.c.

Here is the call graph for this function: