message.c File Reference

Implements message debug functions. More...

#include <arpa/inet.h>
#include <netinet/in.h>
#include <linux/wireless.h>
#include "message.h"
#include "iwc_print.h"

Go to the source code of this file.

Functions

int is_data_msg (struct msg_header *header)
int is_registration_msg (struct msg_header *header)
int is_deregistration_msg (struct msg_header *header)
int is_ack_msg (struct msg_header *header)
int is_config_msg (struct msg_header *header)
void print_data_msg (const char *message)
void print_config_msg (const char *message)
void print_reg_msg (const char *message)
void print_plain_msg (const char *message)
void debug_msg (const char *message)


Detailed Description

Implements message debug functions.

Definition in file message.c.


Function Documentation

void debug_msg ( const char *  message  ) 

Print message content to debug output

Definition at line 279 of file message.c.

int is_ack_msg ( struct msg_header header  ) 

Checks if it is ACK_MSG

Definition at line 53 of file message.c.

int is_config_msg ( struct msg_header header  ) 

Checks if it is CONFIG_MSG

Definition at line 60 of file message.c.

int is_data_msg ( struct msg_header header  ) 

Checks if it is DATA_MSG

Definition at line 32 of file message.c.

int is_deregistration_msg ( struct msg_header header  ) 

Checks if it is DEREGISTRATION_MSG

Definition at line 46 of file message.c.

int is_registration_msg ( struct msg_header header  ) 

Checks if it is REGISTRATION_MSG

Definition at line 39 of file message.c.

void print_config_msg ( const char *  message  ) 

Print content of CONFIG_MSG to debug output

Definition at line 121 of file message.c.

void print_data_msg ( const char *  message  ) 

Print content of WLAN_MSG to debug output

Definition at line 67 of file message.c.

void print_plain_msg ( const char *  message  ) 

Print content of ACK_/DEREGISTRATION_MSG to debug output

Definition at line 259 of file message.c.

void print_reg_msg ( const char *  message  ) 

Print content of REGISTRATION_MSG to debug output

Definition at line 183 of file message.c.


Generated on Mon Feb 8 14:55:05 2010 for iwconnect by  doxygen 1.5.8