]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/bootp.h
net: cosmetic: Change IPaddr_t to struct in_addr
[karo-tx-uboot.git] / net / bootp.h
index 3ffbc51db3b1588855324de3dcd735ad903f3bee..8c591a6d5ba3705c0eedcd39caa2b407d703bf76 100644 (file)
@@ -41,10 +41,10 @@ struct Bootp_t {
        ulong           bp_id;          /* Transaction ID               */
        ushort          bp_secs;        /* Seconds since boot           */
        ushort          bp_spare1;      /* Alignment                    */
-       IPaddr_t        bp_ciaddr;      /* Client IP address            */
-       IPaddr_t        bp_yiaddr;      /* Your (client) IP address     */
-       IPaddr_t        bp_siaddr;      /* Server IP address            */
-       IPaddr_t        bp_giaddr;      /* Gateway IP address           */
+       struct in_addr  bp_ciaddr;      /* Client IP address            */
+       struct in_addr  bp_yiaddr;      /* Your (client) IP address     */
+       struct in_addr  bp_siaddr;      /* Server IP address            */
+       struct in_addr  bp_giaddr;      /* Gateway IP address           */
        uchar           bp_chaddr[16];  /* Client hardware address      */
        char            bp_sname[64];   /* Server host name             */
        char            bp_file[128];   /* Boot file name               */
@@ -59,7 +59,7 @@ struct Bootp_t {
  */
 
 /* bootp.c */
-extern char    BootFile[128];          /* Boot file name               */
+extern ulong   BootpID;                /* ID of cur BOOTP request      */
 extern int     BootpTry;