<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/if_packet.h, branch v3.4.67</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.67</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.67'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2011-10-03T18:03:48Z</updated>
<entry>
<title>Repair wrong named definition aligned_u64</title>
<updated>2011-10-03T18:03:48Z</updated>
<author>
<name>Jiří Župka</name>
<email>jzupka@redhat.com</email>
</author>
<published>2011-09-30T02:09:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=96c131842aab45b5d139d0bcb417796819f5ee92'/>
<id>urn:sha1:96c131842aab45b5d139d0bcb417796819f5ee92</id>
<content type='text'>
This repairs problem with compile library in userspace (libnl).

Signed-off-by: Jiří Župka &lt;jzupka@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>af_packet: Prefixed tpacket_v3 structs to avoid name space collision</title>
<updated>2011-08-26T16:38:44Z</updated>
<author>
<name>chetan loke</name>
<email>loke.chetan@gmail.com</email>
</author>
<published>2011-08-25T10:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bc59ba399113fcbcac56ba22edde4b816199d48c'/>
<id>urn:sha1:bc59ba399113fcbcac56ba22edde4b816199d48c</id>
<content type='text'>
structs introduced in tpacket_v3 implementation are prefixed with 'tpacket'
to avoid namespace collision.

Compile tested.

Signed-off-by: Chetan Loke &lt;loke.chetan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>af-packet: Added TPACKET_V3 headers.</title>
<updated>2011-08-25T02:40:39Z</updated>
<author>
<name>chetan loke</name>
<email>loke.chetan@gmail.com</email>
</author>
<published>2011-08-19T10:18:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0d4691ce112be025019999df5f2a5e00c03f03c2'/>
<id>urn:sha1:0d4691ce112be025019999df5f2a5e00c03f03c2</id>
<content type='text'>
Added TPACKET_V3 definitions.

Signed-off-by: Chetan Loke &lt;loke.chetan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>packet: Add 'cpu' fanout policy.</title>
<updated>2011-07-06T08:56:38Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-07-06T08:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=95ec3eb417115fbb2c73b59e2825f6dd5d2f6cf6'/>
<id>urn:sha1:95ec3eb417115fbb2c73b59e2825f6dd5d2f6cf6</id>
<content type='text'>
Unfortunately we have to use a real modulus here as
the multiply trick won't work as effectively with cpu
numbers as it does with rxhash values.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>packet: Add pre-defragmentation support for ipv4 fanouts.</title>
<updated>2011-07-06T05:34:52Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-07-05T08:43:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7736d33f4262d437c51ed7a28114eacbfca236ff'/>
<id>urn:sha1:7736d33f4262d437c51ed7a28114eacbfca236ff</id>
<content type='text'>
The skb-&gt;rxhash cannot be properly computed if the
packet is a fragment.  To alleviate this, allow the
AF_PACKET client to ask for defragmentation to be
done at demux time.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>packet: Add fanout support.</title>
<updated>2011-07-06T05:34:52Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-07-05T08:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=dc99f600698dcac69b8f56dda9a8a00d645c5ffc'/>
<id>urn:sha1:dc99f600698dcac69b8f56dda9a8a00d645c5ffc</id>
<content type='text'>
Fanouts allow packet capturing to be demuxed to a set of AF_PACKET
sockets.  Two fanout policies are implemented:

1) Hashing based upon skb-&gt;rxhash

2) Pure round-robin

An AF_PACKET socket must be fully bound before it tries to add itself
to a fanout.  All AF_PACKET sockets trying to join the same fanout
must all have the same bind settings.

Fanouts are identified (within a network namespace) by a 16-bit ID.
The first socket to try to add itself to a fanout with a particular
ID, creates that fanout.  When the last socket leaves the fanout
(which happens only when the socket is closed), that fanout is
destroyed.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>af_packet: prevent information leak</title>
<updated>2011-06-07T05:42:06Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2011-06-07T05:42:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=13fcb7bd322164c67926ffe272846d4860196dc6'/>
<id>urn:sha1:13fcb7bd322164c67926ffe272846d4860196dc6</id>
<content type='text'>
In 2.6.27, commit 393e52e33c6c2 (packet: deliver VLAN TCI to userspace)
added a small information leak.

Add padding field and make sure its zeroed before copy to user.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
CC: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>af-packet: Add flag to distinguish VID 0 from no-vlan.</title>
<updated>2011-06-02T04:18:03Z</updated>
<author>
<name>Ben Greear</name>
<email>greearb@candelatech.com</email>
</author>
<published>2011-06-01T06:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a3bcc23e890a6d49d6763d9eb073d711de2e0469'/>
<id>urn:sha1:a3bcc23e890a6d49d6763d9eb073d711de2e0469</id>
<content type='text'>
Currently, user-space cannot determine if a 0 tcp_vlan_tci
means there is no VLAN tag or the VLAN ID was zero.

Add flag to make this explicit.  User-space can check for
TP_STATUS_VLAN_VALID || tp_vlan_tci &gt; 0, which will be backwards
compatible. Older could would have just checked for tp_vlan_tci,
so it will work no worse than before.

Signed-off-by: Ben Greear &lt;greearb@candelatech.com&gt;
Acked-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>packet_mmap: expose hw packet timestamps to network packet capture utilities</title>
<updated>2010-06-02T12:53:56Z</updated>
<author>
<name>Scott McMillan</name>
<email>scott.a.mcmillan@intel.com</email>
</author>
<published>2010-06-02T12:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=614f60fa9d73a9e8fdff3df83381907fea7c5649'/>
<id>urn:sha1:614f60fa9d73a9e8fdff3df83381907fea7c5649</id>
<content type='text'>
This patch adds a setting, PACKET_TIMESTAMP, to specify the packet
timestamp source that is exported to capture utilities like tcpdump by
packet_mmap.

PACKET_TIMESTAMP accepts the same integer bit field as
SO_TIMESTAMPING.  However, only the SOF_TIMESTAMPING_SYS_HARDWARE and
SOF_TIMESTAMPING_RAW_HARDWARE values are currently recognized by
PACKET_TIMESTAMP.  SOF_TIMESTAMPING_SYS_HARDWARE takes precedence over
SOF_TIMESTAMPING_RAW_HARDWARE if both bits are set.

If PACKET_TIMESTAMP is not set, a software timestamp generated inside
the networking stack is used (the behavior before this setting was
added).

Signed-off-by: Scott McMillan &lt;scott.a.mcmillan@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>packet: support for TX time stamps on RAW sockets</title>
<updated>2010-04-13T08:30:48Z</updated>
<author>
<name>Richard Cochran</name>
<email>richardcochran@gmail.com</email>
</author>
<published>2010-04-07T22:41:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ed85b565b825566da34e55eee9ad150ed93fdda0'/>
<id>urn:sha1:ed85b565b825566da34e55eee9ad150ed93fdda0</id>
<content type='text'>
Enable the SO_TIMESTAMPING socket infrastructure for raw packet sockets.
We introduce PACKET_TX_TIMESTAMP for the control message cmsg_type.

Similar support for UDP and CAN sockets was added in commit
51f31cabe3ce5345b51e4a4f82138b38c4d5dc91

Signed-off-by: Richard Cochran &lt;richard.cochran@omicron.at&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
