plptools
Loading...
Searching...
No Matches
link.cc File Reference
#include "Enum.h"
#include "config.h"
#include <cerrno>
#include <iostream>
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/time.h>
#include "bufferstore.h"
#include "bufferarray.h"
#include "link.h"
#include "ncp_log.h"
#include "ncp.h"
#include "datalink.h"
Include dependency graph for link.cc:

Go to the source code of this file.

Functions

static void * expire_check (void *arg)
 
stringRep add (Link::LINK_TYPE_UNKNOWN, N_("Unknown"))
 
stringRep add (Link::LINK_TYPE_SIBO, N_("SIBO"))
 
stringRep add (Link::LINK_TYPE_EPOC, N_("EPOC"))
 
static void timesub (struct timeval *tv, unsigned long millisecs)
 
static bool olderthan (struct timeval t1, struct timeval t2)
 

Function Documentation

◆ add() [1/3]

stringRep add ( Link::LINK_TYPE_EPOC ,
N_("EPOC")  )

◆ add() [2/3]

stringRep add ( Link::LINK_TYPE_SIBO ,
N_("SIBO")  )

◆ add() [3/3]

stringRep add ( Link::LINK_TYPE_UNKNOWN ,
N_("Unknown")  )

◆ expire_check()

static void * expire_check ( void * arg)
static

Definition at line 43 of file link.cc.

◆ olderthan()

static bool olderthan ( struct timeval t1,
struct timeval t2 )
static

Definition at line 573 of file link.cc.

◆ timesub()

static void timesub ( struct timeval * tv,
unsigned long millisecs )
static

Definition at line 562 of file link.cc.