Skip to content

Conversation

@erikarn
Copy link

@erikarn erikarn commented Apr 28, 2014

This is a bunch of stuff to implement a really dirty sysctl accessor API.

Adrian Chadd added 30 commits April 15, 2014 20:24
…rsions

of stable/10 and head, but not on what I'm running.  dwarf-4 doesn't get
recognised by some of the base tools.
It's incomplete and totally barnjacked.  But right now I just want
to verify that the thread is created and the socket is correctly
created.
…like curthread fail.

* modify the IO loop to keep reading as required.  It's goto hell and thus it must be
  rewritten.
* start fleshing out what the multiple request type thing will look like.
I just realised how much I don't want to be hand-crafting this crap
and libnv should do it for me.  Let's try it out.
This again only supports the string type for now.
It's terrible - I'm just passing the oid data in as a binary blob.
Any semblence of being endian-agnostic just went out the window.
* If we get no response buffer but we do have the length then set it to that.
  The "how big is X?" API involves doing a query for an OID, with no old buffer
  but with an oldlenp set.  The size of the response is then put in oldlenp.
modified by sysctl*() calls.

I need to refactor out the common code between the str and oid
paths, this is ridiculous.
Adrian Chadd added 7 commits September 3, 2014 09:01
* Zero-out the buffer being passed to it - it uses the contents of buf
  to stir its local entropy pool before it returns something, and
  that's causing valgrind to trip up on uninitialised data.
…om:/freenas-build/libuinet into passive_receive_adrian
Adrian Chadd and others added 14 commits September 12, 2014 12:00
Otherwise builds dirty this file and cause much sadness.
This allows for users of uinet_if_bridge to know what the origin interface
set was - internal or external interfaces.

* interfaces passed to uinet_if_bridge already have directionality
  tagged.
* change uinet_if_bridge to store the bif in the physical interface
  if_bridge parameter, rather than the bridge softc.
* This allows the input path to check the directionality of the
  interface.
* Whilst here, don't forward packets to interfaces that are the
  same directionality of the interface.
* Tag the bridge packet with an mbuf flag indicating the directionality.
* Percolate that through to l2info
* .. and into libuinet_api.
…om:/freenas-build/libuinet into passive_receive_adrian
…drian

Conflicts:
	Makefile
	bin/echo/Makefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants