Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/net



Module Name:    src
Committed By:   ozaki-r
Date:           Mon May 16 01:06:31 UTC 2016

Modified Files:
        src/sys/net: if.c if.h

Log Message:
Introduce if_get, if_get_byindex and if_put

The new API enables to obtain an ifnet object with protected by psref(9).
It is intended to be used where an obtained ifnet object is used over
sleepable operations.


To generate a diff of this commit:
cvs rdiff -u -r1.334 -r1.335 src/sys/net/if.c
cvs rdiff -u -r1.204 -r1.205 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index