1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Socket Filter</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Networking and Network Devices APIs"><link rel="up" href="netcore.html" title="Chapter&#160;1.&#160;Linux Networking"><link rel="prev" href="API-sk-stream-wait-memory.html" title="sk_stream_wait_memory"><link rel="next" href="API-sk-filter.html" title="sk_filter"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Socket Filter</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-sk-stream-wait-memory.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;1.&#160;Linux Networking</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-sk-filter.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1096662364"></a>Socket Filter</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-sk-filter.html"><span class="phrase">sk_filter</span></a></span><span class="refpurpose"> &#8212; 
2  run a packet through a socket filter
3 </span></dt><dt><span class="refentrytitle"><a href="API-bpf-check-classic.html"><span class="phrase">bpf_check_classic</span></a></span><span class="refpurpose"> &#8212; 
4     verify socket filter code
5 </span></dt><dt><span class="refentrytitle"><a href="API-bpf-prog-create.html"><span class="phrase">bpf_prog_create</span></a></span><span class="refpurpose"> &#8212; 
6     create an unattached filter
7 </span></dt><dt><span class="refentrytitle"><a href="API-sk-attach-filter.html"><span class="phrase">sk_attach_filter</span></a></span><span class="refpurpose"> &#8212; 
8     attach a socket filter
9 </span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-sk-stream-wait-memory.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="netcore.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-sk-filter.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">sk_stream_wait_memory</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">sk_filter</span></td></tr></table></div></body></html>
10