fehQlibs 26
Qlibs
|
interface handling for LLU More...
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
#include "socket_if.h"
Go to the source code of this file.
Functions | |
uint32 | socket_getifidx (const char *ifname) |
const char * | socket_getifname (uint32 scope_id) |
Variables | |
const unsigned char | V4loopback [4] = {127,0,0,1} |
const unsigned char | V4localnet [4] = {0,0,0,0} |
const unsigned char | V4mappedprefix [12] = {0,0,0,0, 0,0,0,0, 0,0,0xff,0xff} |
const unsigned char | V6localnet [16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} |
const unsigned char | V6loopback [16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,1} |
interface handling for LLU
Definition in file socket_if.c.
uint32 socket_getifidx | ( | const char * | ifname | ) |
Definition at line 22 of file socket_if.c.
const char * socket_getifname | ( | uint32 | scope_id | ) |
Definition at line 29 of file socket_if.c.
const unsigned char V4localnet[4] = {0,0,0,0} |
Definition at line 16 of file socket_if.c.
const unsigned char V4loopback[4] = {127,0,0,1} |
Definition at line 15 of file socket_if.c.
const unsigned char V4mappedprefix[12] = {0,0,0,0, 0,0,0,0, 0,0,0xff,0xff} |
Definition at line 18 of file socket_if.c.
const unsigned char V6localnet[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0} |
Definition at line 19 of file socket_if.c.
const unsigned char V6loopback[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,1} |
Definition at line 20 of file socket_if.c.