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

setup sending socket More...

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

Go to the source code of this file.

Functions

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

Detailed Description

setup sending socket

Authors
djb, fefe, feh ucspi-tcp6

Definition in file socket_send.c.

Function Documentation

◆ socket_broadcast4()

int socket_broadcast4 ( int  s,
const char *  buf,
unsigned int  len,
uint16  port 
)

Definition at line 51 of file socket_send.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: