DTS Application Library  0.2.3
Application library containing referenced objects and interfaces to common libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
rfc6296.c File Reference

Implementation of RFC6296. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#include "include/dtsapp.h"

Go to the source code of this file.

Data Structures

struct  natmap
 RFC6296 Nat map. More...
 

Functions

void rfc6296_map (struct natmap *map, struct in6_addr *ipaddr, int out)
 Lookup and process a NAT transform as per RFC 6296. More...
 
int rfc6296_map_add (char *intaddr, char *extaddr)
 Calculate and add a NAT map. More...
 
void rfc6296_test (blist_cb callback, struct in6_addr *internal)
 Quick test function. More...
 

Detailed Description

Implementation of RFC6296.

Definition in file rfc6296.c.