Changes

Jump to navigation Jump to search
433 bytes added ,  21:18, 7 June 2018
no edit summary
Line 132: Line 132:  
== DuplicateSocket ==
 
== DuplicateSocket ==
 
Takes a socket file descriptor and an unused u64. Duplicates the socket (FreeBSD's <code>dup</code>). Reserved to <code>bsd:s</code>.
 
Takes a socket file descriptor and an unused u64. Duplicates the socket (FreeBSD's <code>dup</code>). Reserved to <code>bsd:s</code>.
 +
 +
= bsdcfg =
 +
This is "nn::bsdsocket::cfg::ServerInterface".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0  || SetIfUp
 +
|-
 +
| 1  || SetIfUpWithEvent
 +
|-
 +
| 2  || CancelIf
 +
|-
 +
| 3  || SetIfDown
 +
|-
 +
| 4  || GetIfState
 +
|-
 +
| 5  || DhcpRenew
 +
|-
 +
| 6  || AddStaticArpEntry
 +
|-
 +
| 7  || RemoveArpEntry
 +
|-
 +
| 8  || LookupArpEntry
 +
|-
 +
| 9  || LookupArpEntry2
 +
|-
 +
| 10 || ClearArpEntries
 +
|-
 +
| 11 || ClearArpEntries2
 +
|-
 +
| 12 || PrintArpEntries
 +
|}
    
= sfdnsres =
 
= sfdnsres =

Navigation menu