<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/nethogs/patches/" rel="alternate"/><link href="https://sourceforge.net/p/nethogs/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/nethogs/patches/</id><updated>2016-01-01T20:03:02.332000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#7 cmake build system support</title><link href="https://sourceforge.net/p/nethogs/patches/7/?limit=25#344c" rel="alternate"/><published>2016-01-01T20:03:02.332000Z</published><updated>2016-01-01T20:03:02.332000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.netb0b39360fd83e2c81fd9f88014b7574b3b544c1b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello GArik,&lt;/p&gt;
&lt;p&gt;Sorry about not responding to this patch, I'll try and do better in the future. If you're still interested in working on this, could you present it as PR on the github project at &lt;a href="https://github.com/raboof/notion?" rel="nofollow"&gt;https://github.com/raboof/notion?&lt;/a&gt; Thanks!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Arnout&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#14 CPU usage improvement</title><link href="https://sourceforge.net/p/nethogs/patches/14/?limit=25#558c" rel="alternate"/><published>2016-01-01T20:01:29.726000Z</published><updated>2016-01-01T20:01:29.726000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.netfd40d05e104b75412288ab6cf79a785872c2e6e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#9 Scale to terminal size</title><link href="https://sourceforge.net/p/nethogs/patches/9/?limit=25#757a" rel="alternate"/><published>2016-01-01T20:00:04.529000Z</published><updated>2016-01-01T20:00:04.529000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.net325287049892538d131587ccd474641482fb93e4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#10 Hack for 32-bit pids</title><link href="https://sourceforge.net/p/nethogs/patches/10/?limit=25#a134" rel="alternate"/><published>2013-05-12T20:17:41.219000Z</published><updated>2013-05-12T20:17:41.219000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.net290ae9047747ee834dc1c0b1020b902d61428c64</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#14 CPU usage improvement</title><link href="https://sourceforge.net/p/nethogs/patches/14/?limit=25#e201" rel="alternate"/><published>2013-05-12T13:45:56.667000Z</published><updated>2013-05-12T13:45:56.667000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.netc82a12579726e3cd94fe0126b6b653384c4848e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It's kind of hard to see what exactly changed here, but it seems you:&lt;/p&gt;
&lt;p&gt;1) instead of BUFSIZ you're using a fixed value of 56. any reason for this?&lt;/p&gt;
&lt;p&gt;2) I was doing a usleep of 0.1ms when there were no packets to be read. You changed 2 things: changed it to 100ms and sleep every iteration.&lt;/p&gt;
&lt;p&gt;Indeed pcap will not lose packets, but it is also important that packets are handled quickly: nethogs looks at /proc/net/tcp to find out which process a packet belongs to, and if we wait too long, the connection might have disappeared from /proc/net/tcp. For this reason, I want to read packets as quickly as possible.&lt;/p&gt;
&lt;p&gt;3) you're not passing 'errbuf' to 'dp_open_live' anymore, instead allocating it on the stack. Why?&lt;/p&gt;
&lt;p&gt;4) you're not using pcap_open_live but instead pcap_create. why?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#13 Dynamic default interface selection</title><link href="https://sourceforge.net/p/nethogs/patches/13/?limit=25#ada1" rel="alternate"/><published>2013-05-12T13:00:23.853000Z</published><updated>2013-05-12T13:00:23.853000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.netaedbe955ce225844da8920ad414a9b0c4f3fcc50</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#11 Makefile minor improvements (Wextra)</title><link href="https://sourceforge.net/p/nethogs/patches/11/?limit=25#3206" rel="alternate"/><published>2013-05-12T12:54:27.091000Z</published><updated>2013-05-12T12:54:27.091000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.neta7c12a5708d5e4b775fb9a9ddd323773e84be0f7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#12 Magic numbers replaced</title><link href="https://sourceforge.net/p/nethogs/patches/12/?limit=25#c805" rel="alternate"/><published>2013-05-12T12:51:30.300000Z</published><updated>2013-05-12T12:51:30.300000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.net7aebd170ab4c2adbeb10b0aa28e54dc9ad527b97</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#10 Hack for 32-bit pids</title><link href="https://sourceforge.net/p/nethogs/patches/10/?limit=25#072f" rel="alternate"/><published>2013-05-12T12:47:08.113000Z</published><updated>2013-05-12T12:47:08.113000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.net235db749c408d098b0466737ee2aba0a6331c5e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; pending&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#9 Scale to terminal size</title><link href="https://sourceforge.net/p/nethogs/patches/9/?limit=25#ebb7" rel="alternate"/><published>2013-05-12T12:43:47.671000Z</published><updated>2013-05-12T12:43:47.671000Z</updated><author><name>Arnout Engelen</name><uri>https://sourceforge.net/u/raboofje/</uri></author><id>https://sourceforge.nete5b66f8c747304509e8c920bd7df4f5d7891a934</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; pending&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry></feed>