version 1.1.1.2, 2013/07/22 11:54:42
|
version 1.1.1.3, 2023/09/27 11:11:38
|
Line 53
|
Line 53
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
*/ |
*/ |
|
|
#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 | |
|
|
uint8_t * |
uint8_t * |
libnet_build_asn1_int(uint8_t *data, int *datalen, uint8_t type, int32_t *int_p, |
libnet_build_asn1_int(uint8_t *data, int *datalen, uint8_t type, int32_t *int_p, |
Line 272 libnet_build_asn1_length(uint8_t *data, int *datalen,
|
Line 265 libnet_build_asn1_length(uint8_t *data, int *datalen,
|
*data++ = (uint8_t)((len >> 8) & 0xFF); |
*data++ = (uint8_t)((len >> 8) & 0xFF); |
*data++ = (uint8_t)(len & 0xFF); |
*data++ = (uint8_t)(len & 0xFF); |
} |
} |
*datalen -= (data - start_data); | *datalen -= (int)(data - start_data); |
return (data); |
return (data); |
} |
} |
|
|
Line 433 libnet_build_asn1_bitstring(uint8_t *data, int *datale
|
Line 426 libnet_build_asn1_bitstring(uint8_t *data, int *datale
|
return (data + str_s); |
return (data + str_s); |
} |
} |
|
|
/* EOF */ | /** |
| * Local Variables: |
| * indent-tabs-mode: nil |
| * c-file-style: "stroustrup" |
| * End: |
| */ |