Query: sk_filter
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SK_FILTER(9) Linux Networking SK_FILTER(9)NAMEsk_filter - run a packet through a socket filterSYNOPSISint sk_filter(struct sock * sk, struct sk_buff * skb);ARGUMENTSsk sock associated with sk_buff skb buffer to filterDESCRIPTIONRun the filter code and then cut skb->data to correct size returned by sk_run_filter. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to sk_run_filter. It returns 0 if the packet should be accepted or -EPERM if the packet should be tossed.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SK_FILTER(9)
Related Man Pages |
---|
wimax_msg_alloc(9) - centos |
vconfig(8) - debian |
__skb_recv_datagram(9) - suse |
struct_sk_buff(9) - suse |
tc-ife(8) - mojave |
Similar Topics in the Unix Linux Community |
---|
[ask]filter with line number in file |
[ask]filtering file to indexing... |