#include <stdio.h>
#include <string.h>

char ars_ro_bits[] =
"    0                   1                   2                   3\n"
"    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1\n";

char ars_ro_iphdr[] =
".--+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n"
"|I |Ver:   |IHL:   |TOS:           |Total Length:                  |\n"
"|P +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n"
"|  |Identification:                |R D M|Fragment Offset:         |\n"
"|h +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n"
"|e |TTL:           |Protocol:      |Header Checksum:               |\n"
"|a +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n"
"|d |Source Address:                                                |\n"
"|e +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n"
"|r |Destination Address:                                           |\n"
"`--+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n";

#define ARS_RO_IP_VER_OFF	77
#define ARS_RO_IP_VER_LEN	3
#define ARS_RO_IP_IHL_OFF	85
#define ARS_RO_IP_IHL_LEN	3
#define ARS_RO_IP_TOS_OFF	93
#define ARS_RO_IP_TOS_LEN	11
#define ARS_RO_IP_TOTLEN_OFF	118
#define ARS_RO_IP_TOTLEN_LEN	17

int main(void)
{
	memcpy(ars_ro_iphdr+77, "XXX", 3);
	memcpy(ars_ro_iphdr+85, "XXX", 3);
	printf("%s", ars_ro_iphdr);
}
