OpenVPN
|
Go to the source code of this file.
Functions | |
static int | get_dhcp_message_type (const struct dhcp *dhcp, const int optlen) |
static in_addr_t | do_extract (struct dhcp *dhcp, int optlen) |
in_addr_t | dhcp_extract_router_msg (struct buffer *ipbuf) |
in_addr_t dhcp_extract_router_msg | ( | struct buffer * | ipbuf | ) |
Definition at line 149 of file dhcp.c.
References BLEN, BOOTPC_PORT, BOOTPS_PORT, BOOTREPLY, BPTR, openvpn_udphdr::check, D_ROUTE, openvpn_iphdr::daddr, openvpn_udphdr::dest, dhcp_full::dhcp, DHCPACK, DHCPOFFER, do_extract(), gc_free(), gc_new(), get_dhcp_message_type(), dhcp_full::ip, ip_checksum(), msg, dhcp::op, OPENVPN_IPPROTO_UDP, print_in_addr_t(), openvpn_iphdr::protocol, openvpn_iphdr::saddr, openvpn_udphdr::source, and dhcp_full::udp.
Referenced by process_ip_header().
|
static |
Definition at line 77 of file dhcp.c.
References DHCP_END, DHCP_PAD, and DHCP_ROUTER.
Referenced by dhcp_extract_router_msg().
|
static |
Definition at line 37 of file dhcp.c.
References DHCP_END, DHCP_MSG_TYPE, and DHCP_PAD.
Referenced by dhcp_extract_router_msg().