/* Copyright Sixto Josue Rios 2015
 *
 * [This file was autogenerated]
 *
 */

#include <arpa/inet.h>
#include <stdio.h>

int main(int argc, char** argv) {
    int x = 0xcafef00d;
    printf("original x: 0x%08x\n", x);
    x = htonl(x);
    printf("htonl: 0x%08x\n", x);
    x = ntohl(x);
    printf("ntohl: 0x%08x\n", x);
    x = htons(x);
    printf("htons: 0x%08x\n", x);
    x = ntohs(x);
    printf("ntohs: 0x%08x\n", x);
    
    return 0;
}