浏览代码

Document memory ownership.

tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
764cb41456
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      src/net/udp/dhcp.c

+ 5
- 0
src/net/udp/dhcp.c 查看文件

@@ -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;

正在加载...
取消
保存