search for: libnetlink

Displaying 20 results from an estimated 24 matches for "libnetlink".

Did you mean: libnfnetlink
2003 Sep 12
1
TCNG building problems...help
...joolia/tcnge/tcng/tcsim/klib/include -I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/home/joolia/tcnge/tcng/tcsim/klib/include -I../include -DRESOLVE_HOSTNAMES -c -o libnetlink.o libnetlink.c libnetlink.c: In function `rtnl_dump_filter'': libnetlink.c:130: warning: comparison between signed and unsigned libnetlink.c: In function `rtnl_talk'': libnetlink.c:227: warning: comparison between signed and unsigned libnetlink.c:253: warning: comparison betwee...
2005 Oct 07
1
[ANNOUNCE] iproute2 (051007)
Fix one serious bug (in libnetlink), and a couple of other minor patches. http://developer.osdl.org/dev/iproute2/download/iproute2-051007.tar.gz Stephen Hemminger Reenable ip mroute Mike Frysinger Handle pfifo_fast that has no qopt without segfaulting Mads Martin Joergensen Trivial netem ccopts Jerome Borsboom Fix regressi...
2005 Oct 04
4
iproute2-050929 ERORR compiling
...og with compile # make make[1]: Entering directory `/home/src/a/04102005/iproute2-050929/lib'' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o libnetlink.o libnetlink.c ar rcs libnetlink.a ll_map.o libnetlink.o gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o utils.o utils.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o rt_names.o rt_names.c gcc -D_GNU_SOURCE -O2 -Wst...
2004 Jul 13
3
Data collection in Linux TC queue
Dear All, Would you guy have any advices concerning how to get some data like queue length, pkt size, and so forth, from the running queue. Right now, I modified the queue disc to print out some info I want using printk() and use syslogd to catch those info up. The problem is, in burst, syslogd can''t catch all the msg the queue sent out. Are there any standard or better way to
2004 May 26
1
error compilling TC
..../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRES OLVE_HOSTNAMES -c -o ll_map.o ll_map.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glib c -i nclude ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRES OLVE_HOSTNAMES -c -o libnetlink.o libnetlink.c ar rcs libnetlink.a ll_map.o libnetlink.o gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glib c -i nclude ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRES OLVE_HOSTNAMES -c -o utils.o utils.c cc1: los avisos son tratados como errore...
2005 Mar 20
3
Adding dsmark qdisc fails
I''m trying to configure dsmark qdisc on 2.6.11.4 user mode linux and tc from iproute2-2.6.11-050314. I think I have some mismatch in my setup since adding dsmark qdisc fails *unless* I specify "set_tc_index" argument which I believe should be optional: # tc qdisc add dev eth1 handle 1:0 root dsmark indices 8 RTNETLINK answers: Invalid argument Mar 20 13:00:50 user user.debug
2005 Jul 04
0
Problem linking with libdb
...qdisc.o tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o m_action.o q_fifo.o q_sfq.o q_red.o q_prio.o q_tbf.o q_cbq.o f_rsvp.o f_u32.o f_route.o f_fw.o q_dsmark.o q_gred.o f_tcindex.o q_ingress.o q_hfsc.o q_htb.o m_gact.o m_mirred.o m_ipt.o m_pedit.o p_ip.o p_icmp.o p_tcp.o p_udp.o ../lib/libnetlink.a ../lib/libutil.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o -lresolv -L../lib -lnetlink -lutil -L/usr/local/BerkeleyDB.4.2/lib -L. -ltc -lm -ldl -o tc gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -shared -fpic q_netem.c -o q_n...
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
2004 Jun 22
8
Don''t know how to compile tc
I am trying to build iproute2-2.4.7-20010824 from source on a 2.4.24 kernel. I have played a bit with ADDLIB and LDLIBS variables but I always get errors so I suppose it''s best if instead of playing I try to understand what does the following mean (from the README file): ADDLIB should contain inet_* functions, if your libc contains obsolete resolver library (<4.9.4) and you have no
2007 Mar 21
7
how can i compile tc
Hi, i''m just new here, i''m searching for how to compile tc (if i''ve understood correctly, i must compile the whole iproute2 thing). So i did like the read me file said: ------ 1. Look at start of Makefile and set correct values for: KERNEL_INCLUDE ----- i did that, and then i doesn''t understand a damn thing about the reste of the the 1st step about ADDLIB
2005 Sep 30
4
[ANNOUNCE] iproute2 version (050929)
There is an new minor update to iproute2 utilities available: http://developer.osdl.org/dev/iproute2/download/iproute2-050929.tar.gz Also, this (and future) releases are now signed, for key info read: http://developer.osdl.org/dev/iproute2/signature.html [Stephen Hemminger] Fix uninitialized memory and leaks Add -batch option to ip. Update to 2.6.14 headers [Arnaldo] Integrate
2023 Jul 12
2
[Bridge] [PATCH v1 net] bridge: Return an error when enabling STP in netns.
...nd "But better warned and > awaiting a fix than blocked", which I agree with. The patch has the > potential to cause a lot of regressions, but without actually fixing the > problem. > > How about simply removing the error [1]? Since iproute2 commit > 844c37b42373 ("libnetlink: Handle extack messages for non-error case"), > it can print extack warnings and not only errors. With the diff below: > > # unshare -n > # ip link add name br0 type bridge > # ip link set dev br0 type bridge stp_state 1 > Warning: bridge: STP can't be enabled in no...
2012 Aug 20
0
Shorewall 4.5.7
...s form of accounting was added in Shorewall 4.5.7. As of this writing, Fedora 17 has partial support for this feature but not all. It is necessary to download and build the following: - libnetfilter_acct - nfacct The following Fedora packages are also required: - libnetlink and libnetlink-dev - libmnl and libmnl-dev The tarballs are available from the Netfilter download sites. The nfacct utility can create, delete and display nfacct objects. These named objects consist of a packet and byte counter. Packets matching those netfilter rules tha...
2004 Apr 21
1
iproute2 - Compile Error
...#39; make[1]: Nada a ser feito para `all''. make[1]: Leaving directory `/home/oluap/iproute2/lib'' make[1]: Entering directory `/home/oluap/iproute2/ip'' gcc ip.o ipaddress.o iproute.o iprule.o rtm_map.o iptunnel.o ipneigh.o iplink.o ipmaddr.o ipmonitor.o ipmroute.o ../lib/libnetlink.a ../lib/libutil.a -lresolv -L../lib -lnetlink -lutil -o ip iptunnel.o(.text+0x65a): In function `parse_args'': : undefined reference to `__constant_htons'' iptunnel.o(.text+0x678): In function `parse_args'': : undefined reference to `__constant_htons'' iptunnel.o(....
2007 Mar 23
3
Re: [LARTC} how can I compile tc
.../usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:11, from /usr/include/bits/socket.h:31, from /usr/include/sys/socket.h:35, from ll_map.c:18: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory In file included from ../include/linux/netlink.h:5, from ../include/libnetlink.h:5, from ll_map.c:23: ../include/linux/types.h:5:31: error: linux/posix_types.h: No such file or directory In file included from ../include/linux/netlink.h:5, from ../include/libnetlink.h:5, from ll_map.c:23: ../include/linux/types.h:166: error: syntax error before ‘__kernel_daddr_t’ ../include/l...
2005 Oct 06
1
buffer overflow in ip
...age () from /lib/libc.so.6 #4 0x00945c45 in __chk_fail () from /lib/libc.so.6 #5 0x0804f877 in print_route (who=0xbfa67028, n=0xbfa636ac, arg=0x98d5e0) at iproute.c:219 #6 0x0806114c in rtnl_dump_filter (rth=0x806dc40, filter=0x804f51a <print_route>, arg1=0x98d5e0, junk=0, arg2=0x0) at libnetlink.c:207 #7 0x0804e707 in iproute_list_or_flush (argc=Variable "argc" is not available. ) at iproute.c:1219 #8 0x08049579 in do_cmd (argv0=0xbfa69b34 "route", argc=6, argv=0xbfa6816c) at ip.c:84 #9 0x08049a90 in main (argc=7, argv=0xbfa68168) at ip.c:225 #10 0x0087cd5f in __libc...
2012 Dec 10
0
[Bridge] [PATCH v5] iproute2: add mdb sub-command to bridge
...tdlib.h> +#include <unistd.h> +#include <fcntl.h> +#include <sys/socket.h> +#include <net/if.h> +#include <netinet/in.h> +#include <linux/if_bridge.h> +#include <linux/if_ether.h> +#include <string.h> +#include <arpa/inet.h> + +#include "libnetlink.h" +#include "br_common.h" +#include "rt_names.h" +#include "utils.h" + +#ifndef MDBA_RTA +#define MDBA_RTA(r) \ + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct br_port_msg)))) +#endif + +int filter_index; + +static void usage(void) +{ + fprintf(stder...
2012 Dec 05
2
[Bridge] [PATCH net-next v3] bridge: export multicast database via netlink
V3: drop debugging printk's update selinux perm table as well V2: drop patch 1/2, export ifindex directly Redesign netlink attributes Improve netlink seq check Handle IPv6 addr as well This patch exports bridge multicast database via netlink message type RTM_GETMDB. Similar to fdb, but currently bridge-specific. We may need to support modify multicast database too
2005 Jan 04
11
ESFQ?
Hi again, I was just looking around for ESFQ sources, and I see that the main site is down, and only has kernel 2.6.4 patches. Is ESFQ maintained? If so, where can I find patches for 2.6.10? Thanks, -justin _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2011 Nov 21
7
BLKTAP
I noticed recently that there is no real easy way to get the kernel driver for blktap working in mainline. I''ve pulled down the source from Daniel Stodden''s linux git tree on xensource, but it looks like it''s for debian and I''m running Fedora 14, so I''m trying to sort it out. I run the 3.1.x kernel and don''t want to go back to the 2.6.32 that