Quellcode durchsuchen

Document memory ownership.

tags/v0.9.3
Michael Brown vor 18 Jahren
Ursprung
Commit
764cb41456
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5
    0
      src/net/udp/dhcp.c

+ 5
- 0
src/net/udp/dhcp.c Datei anzeigen

@@ -650,6 +650,11 @@ static struct udp_operations dhcp_udp_operations = {
650 650
  *
651 651
  * @v dhcp		DHCP session
652 652
  * @ret aop		Asynchronous operation
653
+ *
654
+ * If the DHCP operation completes successfully, the
655
+ * dhcp_session::options field will be filled in with the resulting
656
+ * options block.  The caller takes responsibility for eventually
657
+ * calling free_dhcp_options().
653 658
  */
654 659
 struct async_operation * start_dhcp ( struct dhcp_session *dhcp ) {
655 660
 	int rc;

Laden…
Abbrechen
Speichern