X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fdhcp.h;h=c513f4e51525af75cc03ce0804cb58b04d3c2163;hb=5549180a542fa7aa17a196d55b2f5eb4cbb3159a;hp=f44c4c65244020e87dda83a66c4588383f1c193f;hpb=aa26396ed5b3e28c06fba8f2453b9d7541bf5a97;p=sliver-openvswitch.git diff --git a/include/dhcp.h b/include/dhcp.h index f44c4c652..c513f4e51 100644 --- a/include/dhcp.h +++ b/include/dhcp.h @@ -39,7 +39,7 @@ #include "util.h" struct ds; -struct buffer; +struct ofpbuf; /* Values for 'op' field. */ #define DHCP_BOOTREQUEST 1 /* Message sent by DHCP client. */ @@ -273,7 +273,7 @@ bool dhcp_msg_get_uint16(const struct dhcp_msg *, int code, size_t offset, uint16_t *); const char *dhcp_msg_to_string(const struct dhcp_msg *, bool multiline, struct ds *); -int dhcp_parse(struct dhcp_msg *, const struct buffer *); -void dhcp_assemble(const struct dhcp_msg *, struct buffer *); +int dhcp_parse(struct dhcp_msg *, const struct ofpbuf *); +void dhcp_assemble(const struct dhcp_msg *, struct ofpbuf *); #endif /* dhcp.h */