util: Don't read over 'size - 1' bytes of source string in ovs_strlcpy().
[openvswitch] / lib / dhcp.h
index 07452c91f8fe866d08966add0b27344a3ff64861..96696a2452817f03e12e01a66225fbbb8791bcdb 100644 (file)
 struct ds;
 struct ofpbuf;
 
+/* Ports used by DHCP. */
+#define DHCP_SERVER_PORT        67       /* Port used by DHCP server. */
+#define DHCP_CLIENT_PORT        68       /* Port used by DHCP client. */
+
 /* Values for 'op' field. */
 #define DHCP_BOOTREQUEST        1        /* Message sent by DHCP client. */
 #define DHCP_BOOTREPLY          2        /* Message sent by DHCP server. */