C program API to determine negotiated link speed of a network interface?

2016-02-09 Thread Pallav Bose via freebsd-net
Hi, I'm writing a C program to list all available interfaces and their link speed. I can use getifaddrs(3) to obtain a list of network interfaces in a struct ifaddrs, but none of the fields in this struct gives me information about the negotiated link speed. From the man page of getifaddrs(3): T

ifconfig with quoted arguments

2016-02-09 Thread Jeremy Boy
Hello list, please CC me in replies to this mail, since I am no subscriber to this list. For safety reasons, we enclose user input to shell commands in quotes. Until today, the resulting command for ifconfig(8) looked like this: > ifconfig ue0 inet "192.168.2.176 netmask 255.255.255.0" As we

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-09 Thread Xiaoye Sun
Hi Luigi, Have you seen the previous email. any comments? On Fri, Feb 5, 2016 at 3:29 PM, Xiaoye Sun wrote: > Hi Victor, > Thanks for the help. The command you provided worked perfectly for me. > > Hi Luigi, > > Thanks for your clarification. > > The experiment I did was NOT running on 3 nodes.

[Bug 206934] MFC of commits r272695 and r288529

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206934 mgro...@shrew.net changed: What|Removed |Added Status|New |Closed Resolution|---

[Bug 206934] MFC of commits r272695 and r288529

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206934 --- Comment #4 from mgro...@shrew.net --- Thanks for the clarification regarding enc. I'm not trying to make more work for developers, I'm just trying to prevent other users from experiencing the same problems I have. Here is some background

Google Summer of Code 2016, unified ping/ping6, traceroute/traceroute6, ...

2016-02-09 Thread Mark Martinec
There is now a timeline published for Google Summer of Code 2016: https://developers.google.com/open-source/gsoc/timeline Will FreeBSD apply for this year's participation in GSoC 2016? I'm not a committer or a mentor, although last year I have submitted two ideas for GSoC projects, for which I

[Bug 206934] MFC of commits r272695 and r288529

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206934 --- Comment #3 from Andrey V. Elsukov --- (In reply to mgrooms from comment #2) > Ahh. I see the MFC now. Thanks for checking and sorry to bother you with > that. Is the new if_enc you refer to already in 10 STABLE? No. It isn't in stable.