OSDN Git Service

Update releases for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man7 / netdevice.7
index 37fbf5b..b1e0418 100644 (file)
@@ -219,13 +219,11 @@ struct ifconf {
 .fi
 .in
 
-If \fIifc_req\fP is NULL, \fBSIOCGIFCONF\fP returns the necessary buffer size in
-bytes for receiving all available addresses in \fIifc_len\fP.  Otherwise,
-\fIifc_req\fP contains a pointer to an array of \fIifreq\fP structures to be
-filled with all currently active L3 interface addresses.  \fIifc_len\fP
-contains the size of the array in bytes.  Within each \fIifreq\fP structure,
-\fIifr_name\fP will receive the interface name, and \fIifr_addr\fP the address.
-The actual number of bytes transferred is returned in \fIifc_len\fP.
+\fIifc_req\fP が NULL の場合、 \fBSIOCGIFCONF\fP はすべての取得できるアドレスを受け取るのに必要なバッファサイズ (バイト数)
+を \fIifc_len\fP に格納して返す。 それ以外の場合は、\fIifc_req\fP には \fIifreq\fP 構造体の配列へのポインタを渡す。
+この構造体の配列には現在アクティブな L3 インターフェースアドレスがすべて格納される。 \fIifc_len\fP はバイト単位の配列のサイズを渡す。
+\fIifreq\fP 構造体内では、 \fIifr_name\fP にインターフェース名が、 \fIifr_addr\fP にそのアドレスが入る。
+実際に格納されたバイト数は \fIifc_len\fP で返される。
 
 \fIifc_len\fP で指定されたサイズがすべてのアドレスを格納するのに不十分な場合、 カーネルは超過分をスキップし、成功を返す。
 この状況になった場合、それを検出する信頼できる方法はない。 したがって、 前もって \fIifc_req\fP を NULL に設定して