X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdhcp.h;h=96696a2452817f03e12e01a66225fbbb8791bcdb;hb=f915f1a8ca180828983ef22cf2fd21b8f010b972;hp=07452c91f8fe866d08966add0b27344a3ff64861;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=openvswitch diff --git a/lib/dhcp.h b/lib/dhcp.h index 07452c91..96696a24 100644 --- a/lib/dhcp.h +++ b/lib/dhcp.h @@ -24,6 +24,10 @@ 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. */