linux dhcpd源码,isc dhcpd 源码 分析

  • Post author:
  • Post category:linux


iso_copy_out_to_desktop.pl “sdb1:\sdb1\_xfile\2013_all_iso\_xfile_2013_03_04.iso\\_xfile_2013_04\\_misc\\isc_dhcp_chm_all_version\\dhcp-4.2.1.chm”

#==========================================================================

main

initialize_common_option_spaces ();

initialize_server_option_spaces ();

add_enumeration (&ddns_styles);

add_enumeration (&syslog_enum);

add_enumeration (&ldap_methods);

add_enumeration (&ldap_ssl_usage_enum);

add_enumeration (&ldap_tls_reqcert_enum);

add_enumeration (&ldap_tls_crlcheck_enum);

620 dhcp_interface_setup_hook = dhcpd_interface_setup_hook;

621 bootp_packet_handler = do_packet;

623 dhcpv6_packet_handler = do_packet6;

db_startup (lftest);

discover_interfaces(DISCOVER_SERVER);

dispatch ();

isc_app_ctxrun(dhcp_gbl_ctx.actx);

#==========================================================================

do_packet

3722    packet_dereference (&decoded_packet, MDL);

3738    lookup_option (&dhcp_universe,

3759        dhcp (decoded_packet);

225                 dhcpdiscover (packet, ms_nulltp);

229                 dhcprequest (packet, ms_nulltp, lease);

233                 dhcprelease (packet, ms_nulltp);

237                 dhcpdecline (packet, ms_nulltp);

241                 dhcpinform (packet, ms_nulltp);

3761        bootp (decoded_packet);

159         option_state_allocate (&options, MDL);

162         execute_statements_in_scope ((struct binding_value **)0,

179         execute_statements_in_scope ((struct binding_value **)0,

186         lookup_option (&server_universe, options, SV_ALLOW_BOOTP)

328         evaluate_option_cache (&d1, packet, lease,

410         send_packet (packet -> interface,

阅读(1085) | 评论(0) | 转发(0) |