Commit graph

6 commits

Author SHA1 Message Date
233f3d186a Document InterfaceDescription and SetInterfaceDescription
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-26 07:54:44 +02:00
00faf66d86 Supersede InterfaceInfoList's Item method with InterfaceInfo
Rather than repetitively calling Info method to calculate InterfaceInfo
struct address and return it one by one, a more effective method called
InterfaceInfo was introduced. The later returns all interface infos as
a Go slice.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-26 07:48:38 +02:00
7cd0e1a7c2 Test struct offsets too
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-24 09:48:19 +02:00
906bb6bf8d Revise InterfaceInfoList's Item() method
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-24 09:21:18 +02:00
8438e80891 Initial version
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-20 09:42:50 +02:00
4fef8f3c34
Initial commit 2020-04-20 09:39:43 +02:00