netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
tftp.c File Reference
#include "conntrackd.h"
#include "helper.h"
#include "myct.h"
#include "log.h"
#include <errno.h>
#include <netinet/ip.h>
#include <netinet/ip6.h>
#include <netinet/udp.h>
#include <libmnl/libmnl.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <libnetfilter_queue/libnetfilter_queue.h>
#include <libnetfilter_queue/libnetfilter_queue_udp.h>
#include <libnetfilter_queue/pktbuff.h>
#include <linux/netfilter.h>
Include dependency graph for tftp.c:

Data Structures

struct  tftphdr
 

Macros

#define TFTP_OPCODE_READ   1
 
#define TFTP_OPCODE_WRITE   2
 
#define TFTP_OPCODE_DATA   3
 
#define TFTP_OPCODE_ACK   4
 
#define TFTP_OPCODE_ERROR   5
 

Macro Definition Documentation

#define TFTP_OPCODE_ACK   4
#define TFTP_OPCODE_DATA   3
#define TFTP_OPCODE_ERROR   5
#define TFTP_OPCODE_READ   1
#define TFTP_OPCODE_WRITE   2