Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#1696 closed defect (fixed)

arpa/inet.h should provide htonX

Reported by: Ralf Corsepius Owned by: Ralf Corsepius
Priority: normal Milestone: 4.10
Component: network/legacy Version: 4.10
Severity: normal Keywords:
Cc: joel.sherrill@… Blocked By:
Blocking:

Description

OpenGroup? mandates arpa/inet.h to provide:

uint32_t htonl(uint32_t);
uint16_t htons(uint16_t);
uint32_t ntohl(uint32_t);
uint16_t ntohs(uint16_t);

c.f. http://www.opengroup.org/onlinepubs/9699919799/basedefs/arpa_inet.h.html

Current RTEMS has them in rtems/endian.h

Change History (2)

comment:1 Changed on 09/01/10 at 05:18:16 by Ralf Corsepius

Cc: Joel Sherrill added
Milestone: 4.114.10
Owner: changed from Eric Norum to Ralf Corsepius

comment:2 Changed on 09/01/10 at 10:20:26 by Ralf Corsepius

Resolution: fixed
Status: newclosed

Fixes applied

Note: See TracTickets for help on using tickets.