Opened 13 years ago

Closed 13 years ago

#1359 closed enhancement (fixed)

Configurable pj_sockaddr_in padding/sin_zero length

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.12
Component: pjlib Version: 1.x-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Although normally a sockaddr_in is 16 bytes length in most platform, some other platforms such as eCos can have it up to 32 bytes length.

This ticket adds a padding length compile time setting that can be adjusted to support different sizes:

#ifndef PJ_SOCKADDR_IN_SIN_ZERO_LEN
#   define PJ_SOCKADDR_IN_SIN_ZERO_LEN	8
#endif

Change History (1)

comment:1 Changed 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

(In [3741]) Configurable pj_sockaddr_in padding/sin_zero length. This closes #1359

Note: See TracTickets for help on using tickets.