Displaying 20 results from an estimated 92 matches for "if_arp".
2005 May 22
0
[patch 09/12] avoid use of linux/if.h via linux/if_arp.h
Use <net/if_arp.h> rather than <linux/if_arp.h>,
otherwise you suck in <linux/if.h>, which conflicts with <net/if.h>
in glibc.
Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl>
Index: exec/ipconfig/main.c
===================================================================
--- ex...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
...: Update socketcalls.pl commands to use $(srctree)
9: Fix asm includes for newer kernel sources.
10: Add missing NFS mount RPC call ordinals.
11: packet.h needs a definition for struct iovec
12: netdev.c needs sockios.h
13: Define types and values in sys/socket.h
14: Include sys/socket.h from net/if_arp.h
15: Drop unused argument root_dev to ramdisk_load()
16: Support for multiple devices specified on the root= cmdline.
Thanks,
Mike Waychison
2004 Oct 19
9
[ANNOUNCE] iproute2 2.6.9-041019
Now that 2.6.9 is final. Here is an update of the iproute2 utilities
that contains
all the patches in my queue.
* lnstat to replace rtstat and ctstat (from Harald Welte)
* latest xfrm related changes
* several small typo''s and build fixes for older systems
http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.9-041019.tar.gz
2007 Sep 19
7
ifb and ppp
Hello!
My goal is to setup an ingress traffic shaping on my PPPOE DSL line with ifb.
My old imq stuff used iptables marks (like ''iptables -t mangle -A
PREROUTING -p tcp --sport 22 -m length --length :500 -j MARK --set-mark 31'')
to classify the traffic and since i am lazy, i tried to to reuse them with
ifb. But no luck: iptables marks the packets well, but tc
2005 May 22
0
[patch 03/12] make getopt visible
...====
--- exec.orig/ipconfig/main.c 2005-05-18 11:53:11.000000000 +0200
+++ exec/ipconfig/main.c 2005-05-21 13:09:54.000000000 +0200
@@ -12,6 +12,7 @@
#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
+#include <unistd.h> /* for getopts */
#include <linux/if_arp.h>
Index: exec/nfsmount/main.c
===================================================================
--- exec.orig/nfsmount/main.c 2004-10-10 20:02:39.000000000 +0200
+++ exec/nfsmount/main.c 2005-05-21 13:10:26.000000000 +0200
@@ -12,6 +12,7 @@
#include <string.h>
#include <signal.h&...
2005 May 24
2
klibc-1.0.12 released
Hopefully I should be up to date with all patches; haven't integrated
the module-init-tools, and some of Erik's patches didn't make it for
different reasons, which hopefully can be resolved soon.
If you have sent another patch which I haven't applied, please do let me
know.
-hpa
2009 May 15
2
Trouble with Tinc at make level
...usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for net/if_types.h... no
checking for linux/if_tun.h... yes
checking for net/if_tun.h... no
checking for net/if_tap.h... no
checking for net/ethernet.h... yes
checking for net/if_arp.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for netinet/if_ether.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip6.h... yes
checking for netinet/tcp.h... yes
checking for netinet/ip_icmp.h... yes
checkin...
2004 May 28
1
ipconfig related question (do not get static IP setting)
Hi!! I found your ipconfig stuff in the udev rpm in SuSE 9.1. I'm about to
setup a initramfs (pretty cool - much better than initrd) to boot linux
diskless clients over the net. All the tools I would need, seem to be
there with ipconfig/nfsmount ...
I like to use the information I get from PXE/syslinux or Etherboot
writing something like:
2018 Apr 06
1
[RFC PATCH net-next v5 2/4] net: Introduce generic bypass module
...t;
>+#include <linux/module.h>
>+#include <linux/slab.h>
>+#include <linux/netdevice.h>
>+#include <linux/netpoll.h>
>+#include <linux/rtnetlink.h>
>+#include <linux/if_vlan.h>
>+#include <net/sch_generic.h>
>+#include <uapi/linux/if_arp.h>
>+#include <net/bypass.h>
>+
>+static LIST_HEAD(bypass_list);
>+
>+static DEFINE_MUTEX(bypass_mutex);
Why mutex? Apparently you don't need to sleep while holding a lock.
Simple spinlock would do.
>+
>+struct bypass_instance *bypass_instance_alloc(struct net_d...
2013 Mar 15
4
[PATCHv3 vringh] caif_virtio: Introduce caif over virtio
...3
+ * Authors: Vicram Arv / vikram.arv at stericsson.com,
+ * Dmitry Tarnyagin / dmitry.tarnyagin at stericsson.com
+ * Sjur Brendeland / sjur.brandeland at stericsson.com
+ * License terms: GNU General Public License (GPL) version 2
+ */
+#include <linux/module.h>
+#include <linux/if_arp.h>
+#include <linux/virtio.h>
+#include <linux/vringh.h>
+#include <linux/debugfs.h>
+#include <linux/spinlock.h>
+#include <linux/genalloc.h>
+#include <linux/interrupt.h>
+#include <linux/netdevice.h>
+#include <linux/rtnetlink.h>
+#include <l...
2013 Mar 15
4
[PATCHv3 vringh] caif_virtio: Introduce caif over virtio
...3
+ * Authors: Vicram Arv / vikram.arv at stericsson.com,
+ * Dmitry Tarnyagin / dmitry.tarnyagin at stericsson.com
+ * Sjur Brendeland / sjur.brandeland at stericsson.com
+ * License terms: GNU General Public License (GPL) version 2
+ */
+#include <linux/module.h>
+#include <linux/if_arp.h>
+#include <linux/virtio.h>
+#include <linux/vringh.h>
+#include <linux/debugfs.h>
+#include <linux/spinlock.h>
+#include <linux/genalloc.h>
+#include <linux/interrupt.h>
+#include <linux/netdevice.h>
+#include <linux/rtnetlink.h>
+#include <l...
2018 Apr 05
0
[RFC PATCH net-next v5 2/4] net: Introduce generic bypass module
...+#include <linux/ethtool.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/netdevice.h>
+#include <linux/netpoll.h>
+#include <linux/rtnetlink.h>
+#include <linux/if_vlan.h>
+#include <net/sch_generic.h>
+#include <uapi/linux/if_arp.h>
+#include <net/bypass.h>
+
+static LIST_HEAD(bypass_list);
+
+static DEFINE_MUTEX(bypass_mutex);
+
+struct bypass_instance *bypass_instance_alloc(struct net_device *dev)
+{
+ struct bypass_instance *bypass_instance;
+
+ bypass_instance = kzalloc(sizeof(*bypass_instance), GFP_KERNEL);
+...
2018 May 24
0
[PATCH net-next v12 1/5] net: Introduce generic failover module
...le registrations and notifications for paravirtual
+ * drivers to enable accelerated datapath and support VF live migration.
+ *
+ * The notifier and event handling code is based on netvsc driver.
+ */
+
+#include <linux/module.h>
+#include <linux/etherdevice.h>
+#include <uapi/linux/if_arp.h>
+#include <linux/rtnetlink.h>
+#include <linux/if_vlan.h>
+#include <net/failover.h>
+
+static LIST_HEAD(failover_list);
+static DEFINE_SPINLOCK(failover_lock);
+
+static struct net_device *failover_get_bymac(u8 *mac, struct failover_ops **ops)
+{
+ struct net_device *failov...
2009 Aug 11
2
[PATCHv2 2/2] vhost_net: a kernel-level virtio server
...t.h>
+#include <linux/miscdevice.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
+#include <linux/workqueue.h>
+#include <linux/rcupdate.h>
+#include <linux/file.h>
+
+#include <linux/net.h>
+#include <linux/if_packet.h>
+#include <linux/if_arp.h>
+
+#include <net/sock.h>
+
+#include <asm/mmu_context.h>
+
+#include "vhost.h"
+
+enum {
+ VHOST_NET_VQ_RX = 0,
+ VHOST_NET_VQ_TX = 1,
+ VHOST_NET_VQ_MAX = 2,
+};
+
+struct vhost_net {
+ struct vhost_dev dev;
+ struct vhost_virtqueue vqs[VHOST_NET_VQ_MAX];
+ /* We use a...
2009 Aug 11
2
[PATCHv2 2/2] vhost_net: a kernel-level virtio server
...t.h>
+#include <linux/miscdevice.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
+#include <linux/workqueue.h>
+#include <linux/rcupdate.h>
+#include <linux/file.h>
+
+#include <linux/net.h>
+#include <linux/if_packet.h>
+#include <linux/if_arp.h>
+
+#include <net/sock.h>
+
+#include <asm/mmu_context.h>
+
+#include "vhost.h"
+
+enum {
+ VHOST_NET_VQ_RX = 0,
+ VHOST_NET_VQ_TX = 1,
+ VHOST_NET_VQ_MAX = 2,
+};
+
+struct vhost_net {
+ struct vhost_dev dev;
+ struct vhost_virtqueue vqs[VHOST_NET_VQ_MAX];
+ /* We use a...
2009 Aug 27
5
[PATCHv5 3/3] vhost_net: a kernel-level virtio server
...t.h>
+#include <linux/miscdevice.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
+#include <linux/workqueue.h>
+#include <linux/rcupdate.h>
+#include <linux/file.h>
+
+#include <linux/net.h>
+#include <linux/if_packet.h>
+#include <linux/if_arp.h>
+
+#include <net/sock.h>
+
+#include "vhost.h"
+
+enum {
+ VHOST_NET_VQ_RX = 0,
+ VHOST_NET_VQ_TX = 1,
+ VHOST_NET_VQ_MAX = 2,
+};
+
+struct vhost_net {
+ struct vhost_dev dev;
+ struct vhost_virtqueue vqs[VHOST_NET_VQ_MAX];
+ /* We use a kind of RCU to access sock pointer.
+...
2009 Aug 27
5
[PATCHv5 3/3] vhost_net: a kernel-level virtio server
...t.h>
+#include <linux/miscdevice.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
+#include <linux/workqueue.h>
+#include <linux/rcupdate.h>
+#include <linux/file.h>
+
+#include <linux/net.h>
+#include <linux/if_packet.h>
+#include <linux/if_arp.h>
+
+#include <net/sock.h>
+
+#include "vhost.h"
+
+enum {
+ VHOST_NET_VQ_RX = 0,
+ VHOST_NET_VQ_TX = 1,
+ VHOST_NET_VQ_MAX = 2,
+};
+
+struct vhost_net {
+ struct vhost_dev dev;
+ struct vhost_virtqueue vqs[VHOST_NET_VQ_MAX];
+ /* We use a kind of RCU to access sock pointer.
+...
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
vhost: basic tracepoints
tools: virtio: add a
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
vhost: basic tracepoints
tools: virtio: add a
2009 Aug 13
1
[PATCHv3 2/2] vhost_net: a kernel-level virtio server
...t.h>
+#include <linux/miscdevice.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
+#include <linux/workqueue.h>
+#include <linux/rcupdate.h>
+#include <linux/file.h>
+
+#include <linux/net.h>
+#include <linux/if_packet.h>
+#include <linux/if_arp.h>
+
+#include <net/sock.h>
+
+#include <asm/mmu_context.h>
+
+#include "vhost.h"
+
+enum {
+ VHOST_NET_VQ_RX = 0,
+ VHOST_NET_VQ_TX = 1,
+ VHOST_NET_VQ_MAX = 2,
+};
+
+struct vhost_net {
+ struct vhost_dev dev;
+ struct vhost_virtqueue vqs[VHOST_NET_VQ_MAX];
+ /* We use a...