|
@@ -320,6 +320,8 @@ extern PXENV_EXIT_t pxenv_tftp_get_fsize ( struct s_PXENV_TFTP_GET_FSIZE
|
320
|
320
|
|
321
|
321
|
/** Parameter block for pxenv_udp_open() */
|
322
|
322
|
struct s_PXENV_UDP_OPEN {
|
|
323
|
+ PXENV_STATUS_t Status; /**< PXE status code */
|
|
324
|
+ IP4_t src_ip; /**< IP address of this station */
|
323
|
325
|
} PACKED;
|
324
|
326
|
|
325
|
327
|
typedef struct s_PXENV_UDP_OPEN PXENV_UDP_OPEN_t;
|
|
@@ -340,6 +342,7 @@ extern PXENV_EXIT_t pxenv_udp_open ( struct s_PXENV_UDP_OPEN *udp_open );
|
340
|
342
|
|
341
|
343
|
/** Parameter block for pxenv_udp_close() */
|
342
|
344
|
struct s_PXENV_UDP_CLOSE {
|
|
345
|
+ PXENV_STATUS_t Status; /**< PXE status code */
|
343
|
346
|
} PACKED;
|
344
|
347
|
|
345
|
348
|
typedef struct s_PXENV_UDP_CLOSE PXENV_UDP_CLOSE_t;
|
|
@@ -360,6 +363,13 @@ extern PXENV_EXIT_t pxenv_udp_close ( struct s_PXENV_UDP_CLOSE *udp_close );
|
360
|
363
|
|
361
|
364
|
/** Parameter block for pxenv_udp_write() */
|
362
|
365
|
struct s_PXENV_UDP_WRITE {
|
|
366
|
+ PXENV_STATUS_t Status; /**< PXE status code */
|
|
367
|
+ IP4_t ip; /**< Destination IP address */
|
|
368
|
+ IP4_t gw; /**< Gateway IP address */
|
|
369
|
+ UDP_PORT_t src_port; /**< Source UDP port */
|
|
370
|
+ UDP_PORT_t dst_port; /**< Destination UDP port */
|
|
371
|
+ UINT16_t buffer_size; /**< UDP payload buffer size */
|
|
372
|
+ SEGOFF16_t buffer; /**< UDP payload buffer address */
|
363
|
373
|
} PACKED;
|
364
|
374
|
|
365
|
375
|
typedef struct s_PXENV_UDP_WRITE PXENV_UDP_WRITE_t;
|
|
@@ -380,6 +390,13 @@ extern PXENV_EXIT_t pxenv_udp_write ( struct s_PXENV_UDP_WRITE *udp_write );
|
380
|
390
|
|
381
|
391
|
/** Parameter block for pxenv_udp_read() */
|
382
|
392
|
struct s_PXENV_UDP_READ {
|
|
393
|
+ PXENV_STATUS_t Status; /**< PXE status code */
|
|
394
|
+ IP4_t src_ip; /**< Source IP address */
|
|
395
|
+ IP4_t dest_ip; /**< Destination IP address */
|
|
396
|
+ UDP_PORT_t s_port; /**< Source UDP port */
|
|
397
|
+ UDP_PORT_t d_port; /**< Destination UDP port */
|
|
398
|
+ UINT16_t buffer_size; /**< UDP payload buffer size */
|
|
399
|
+ SEGOFF16_t buffer; /**< UDP payload buffer address */
|
383
|
400
|
} PACKED;
|
384
|
401
|
|
385
|
402
|
typedef struct s_PXENV_UDP_READ PXENV_UDP_READ_t;
|