Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ax25_addr.c File Reference
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <net/ax25.h>
#include <linux/inet.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <net/sock.h>
#include <asm/uaccess.h>
#include <linux/fcntl.h>
#include <linux/mm.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (ax25_bcast)
 
 EXPORT_SYMBOL_GPL (ax25_defaddr)
 
 EXPORT_SYMBOL (null_ax25_address)
 
charax2asc (char *buf, const ax25_address *a)
 
 EXPORT_SYMBOL (ax2asc)
 
void asc2ax (ax25_address *addr, const char *callsign)
 
 EXPORT_SYMBOL (asc2ax)
 
int ax25cmp (const ax25_address *a, const ax25_address *b)
 
 EXPORT_SYMBOL (ax25cmp)
 
int ax25digicmp (const ax25_digi *digi1, const ax25_digi *digi2)
 
const unsigned charax25_addr_parse (const unsigned char *buf, int len, ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, int *dama)
 
int ax25_addr_build (unsigned char *buf, const ax25_address *src, const ax25_address *dest, const ax25_digi *d, int flag, int modulus)
 
int ax25_addr_size (const ax25_digi *dp)
 
void ax25_digi_invert (const ax25_digi *in, ax25_digi *out)
 

Variables

const ax25_address ax25_bcast
 
const ax25_address ax25_defaddr
 
const ax25_address null_ax25_address
 

Function Documentation

void asc2ax ( ax25_address addr,
const char callsign 
)

Definition at line 82 of file ax25_addr.c.

int ax25_addr_build ( unsigned char buf,
const ax25_address src,
const ax25_address dest,
const ax25_digi d,
int  flag,
int  modulus 
)

Definition at line 218 of file ax25_addr.c.

const unsigned char* ax25_addr_parse ( const unsigned char buf,
int  len,
ax25_address src,
ax25_address dest,
ax25_digi digi,
int flags,
int dama 
)

Definition at line 159 of file ax25_addr.c.

int ax25_addr_size ( const ax25_digi dp)

Definition at line 276 of file ax25_addr.c.

void ax25_digi_invert ( const ax25_digi in,
ax25_digi out 
)

Definition at line 287 of file ax25_addr.c.

int ax25cmp ( const ax25_address a,
const ax25_address b 
)

Definition at line 117 of file ax25_addr.c.

int ax25digicmp ( const ax25_digi digi1,
const ax25_digi digi2 
)

Definition at line 138 of file ax25_addr.c.

char* ax2asc ( char buf,
const ax25_address a 
)

Definition at line 49 of file ax25_addr.c.

EXPORT_SYMBOL ( null_ax25_address  )
EXPORT_SYMBOL ( ax2asc  )
EXPORT_SYMBOL ( asc2ax  )
EXPORT_SYMBOL ( ax25cmp  )
EXPORT_SYMBOL_GPL ( ax25_bcast  )
EXPORT_SYMBOL_GPL ( ax25_defaddr  )

Variable Documentation

const ax25_address ax25_bcast
Initial value:
=
{{'Q' << 1, 'S' << 1, 'T' << 1, ' ' << 1, ' ' << 1, ' ' << 1, 0 << 1}}

Definition at line 35 of file ax25_addr.c.

const ax25_address ax25_defaddr
Initial value:
=
{{'L' << 1, 'I' << 1, 'N' << 1, 'U' << 1, 'X' << 1, ' ' << 1, 1 << 1}}

Definition at line 37 of file ax25_addr.c.

const ax25_address null_ax25_address
Initial value:
=
{{' ' << 1, ' ' << 1, ' ' << 1, ' ' << 1, ' ' << 1, ' ' << 1, 0 << 1}}

Definition at line 39 of file ax25_addr.c.