netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
printpkt.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
#include <netinet/ip6.h>
#include <netinet/icmp6.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
#include <ulogd/printpkt.h>
#include <netinet/if_ether.h>
Include dependency graph for printpkt.c:

Functions

int printpkt_arp (struct ulogd_key *res, char *buf)
 
int printpkt_bridge (struct ulogd_key *res, char *buf)
 
int printpkt_print (struct ulogd_key *res, char *buf)
 

Variables

struct ulogd_key printpkt_keys []
 

Function Documentation

int printpkt_arp ( struct ulogd_key res,
char *  buf 
)

References ARPOP_NAK, ARPOP_REPLY, ARPOP_REQUEST, buf, KEY_ARP_OPCODE, KEY_ARP_SHA, KEY_ARP_SPA, KEY_ARP_TPA, and pp_is_valid.

Referenced by printpkt_bridge().

Here is the caller graph for this function:

int printpkt_bridge ( struct ulogd_key res,
char *  buf 
)

References buf, ETH_P_ARP, ETH_P_IP, ETH_P_IPV6, KEY_OOB_PROTOCOL, and printpkt_arp().

Referenced by printpkt_print().

Here is the call graph for this function:

Here is the caller graph for this function:

int printpkt_print ( struct ulogd_key res,
char *  buf 
)

Variable Documentation

struct ulogd_key printpkt_keys[]