udp(3) | Library Functions Manual | udp(3) |
udp - UDP helper functions
Internal UDP functions
struct udphdr * nfq_udp_get_hdr (struct pkt_buff *pktb)
void * nfq_udp_get_payload (struct udphdr *udph, struct pkt_buff *pktb)
unsigned int nfq_udp_get_payload_len (struct udphdr *udph, struct
pkt_buff *pktb)
int nfq_udp_mangle_ipv4 (struct pkt_buff *pktb, unsigned int
match_offset, unsigned int match_len, const char *rep_buffer, unsigned int
rep_len)
int nfq_udp_mangle_ipv6 (struct pkt_buff *pktb, unsigned int
match_offset, unsigned int match_len, const char *rep_buffer, unsigned int
rep_len)
int nfq_udp_snprintf (char *buf, size_t size, const struct udphdr
*udph)
nfq_udp_get_hdr - get the UDP header.
Parameters
Returns
Note
Definition at line 43 of file udp.c.
nfq_udp_get_payload - get the UDP packet payload.
Parameters
Returns
Definition at line 62 of file udp.c.
nfq_udp_get_payload_len - get the udp packet payload.
Parameters
Returns
Definition at line 84 of file udp.c.
nfq_udp_mangle_ipv4 - Mangle UDP/IPv4 packet buffer
Parameters
Returns
Note
Definition at line 150 of file udp.c.
nfq_udp_mangle_ipv6 - Mangle UDP/IPv6 packet buffer
Parameters
Returns
Note
Definition at line 184 of file udp.c.
nfq_pkt_snprintf_udp_hdr - print udp header into one buffer in a humnan readable way
Parameters
Returns
See also
Definition at line 220 of file udp.c.
Generated automatically by Doxygen for libnetfilter_queue from the source code.
Version 1.0.5 | libnetfilter_queue |