Logo Search packages:      
Sourcecode: libnetfilter-queue version File versions  Download package

uint32_t nfq_get_nfmark ( struct nfq_data nfad )

nfq_get_nfmark - get the packet mark

Parameters:
nfadNetlink packet data handle passed to callback function
Returns:
the netfilter mark currently assigned to the given queued packet.

Definition at line 779 of file libnetfilter_queue.c.

{
      return ntohl(nfnl_get_data(nfad->data, NFQA_MARK, u_int32_t));
}

Generated by  Doxygen 1.6.0   Back to index