Distributed File System 1
Distributed file system in C
Loading...
Searching...
No Matches
IPv4 Union Reference

Tipo para un IPv4 Ademas te ayuda convertir entre little endian y big endian. More...

#include <enchufe.h>

Public Attributes

Byte bytes [4]
 interpreta el IP como Byte's
uint32_t ip
 Interpreta el IP como un uint32_t.

Detailed Description

Tipo para un IPv4 Ademas te ayuda convertir entre little endian y big endian.

La data de bytes aparece como bytes[3]bytes[2]bytes[1]bytes[0] en memoria.

Member Data Documentation

◆ bytes

Byte IPv4::bytes[4]

interpreta el IP como Byte's

◆ ip

uint32_t IPv4::ip

Interpreta el IP como un uint32_t.


The documentation for this union was generated from the following file: