version 1.1.1.2, 2013/07/22 11:54:42
|
version 1.1.1.3, 2023/09/27 11:11:38
|
Line 30
|
Line 30
|
* |
* |
*/ |
*/ |
|
|
#if (HAVE_CONFIG_H) | #include "common.h" |
#include "../include/config.h" | |
#endif | |
#if (!(_WIN32) || (__CYGWIN__)) | |
#include "../include/libnet.h" | |
#else | |
#include "../include/win32/libnet.h" | |
#endif | |
|
|
libnet_ptag_t |
libnet_ptag_t |
libnet_build_dhcpv4(uint8_t opcode, uint8_t htype, uint8_t hlen, |
libnet_build_dhcpv4(uint8_t opcode, uint8_t htype, uint8_t hlen, |
Line 107 libnet_t *l, libnet_ptag_t ptag)
|
Line 100 libnet_t *l, libnet_ptag_t ptag)
|
if (payload_s && !payload) |
if (payload_s && !payload) |
{ |
{ |
snprintf(l->err_buf, LIBNET_ERRBUF_SIZE, |
snprintf(l->err_buf, LIBNET_ERRBUF_SIZE, |
"%s(): payload inconsistency\n", __func__); | "%s(): payload inconsistency", __func__); |
goto bad; |
goto bad; |
} |
} |
|
|
Line 139 libnet_t *l, libnet_ptag_t ptag)
|
Line 132 libnet_t *l, libnet_ptag_t ptag)
|
l, ptag)); |
l, ptag)); |
} |
} |
|
|
/* EOF */ | /** |
| * Local Variables: |
| * indent-tabs-mode: nil |
| * c-file-style: "stroustrup" |
| * End: |
| */ |