Lines Matching refs:dhcp_option
62 static inline __attribute__ (( always_inline )) struct dhcp_option *
63 dhcp_option ( struct dhcp_options *options, unsigned int offset ) { in dhcp_option() function
64 return ( ( struct dhcp_option * ) ( options->data + offset ) ); in dhcp_option()
76 struct dhcp_option *option ) { in dhcp_option_offset()
86 static unsigned int dhcp_option_len ( struct dhcp_option *option ) { in dhcp_option_len()
118 struct dhcp_option *option; in find_dhcp_option_with_encap()
133 option = dhcp_option ( options, offset ); in find_dhcp_option_with_encap()
187 struct dhcp_option *encapsulator; in resize_dhcp_option()
188 struct dhcp_option *option; in resize_dhcp_option()
221 encapsulator = dhcp_option ( options, encap_offset ); in resize_dhcp_option()
233 option = dhcp_option ( options, offset ); in resize_dhcp_option()
267 struct dhcp_option *option; in set_dhcp_option()
284 old_len = dhcp_option_len ( dhcp_option ( options, offset ) ); in set_dhcp_option()
315 option = dhcp_option ( options, offset ); in set_dhcp_option()
323 option = dhcp_option ( options, encap_offset ); in set_dhcp_option()
381 struct dhcp_option *option; in dhcpopt_fetch()
388 option = dhcp_option ( options, offset ); in dhcpopt_fetch()
406 struct dhcp_option *option; in dhcpopt_update_len()
414 option = dhcp_option ( options, offset ); in dhcpopt_update_len()