forked from eclipse-omr/omr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Unix Implementations for Socket Opt Functions
Added internal functions and implementations for sockopt functions - Added 4 internal functions: one to retrieve OMR to OS mapping for socket levels, one to retrieve OMR to OS mapping for socket options, two to wrap the code for the socket option functions to reduce clutter. - Added simple implemnentations for the 6 socket options functions. - Assign the size of option value to socklen_t optlen before passing into the setsockopt and getsockopt options to avoid inconsistent error due to int to socklen_t conversion. Issue: eclipse-omr#5158 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
- Loading branch information
Haley Cao
committed
Jun 15, 2020
1 parent
5201aea
commit 335c79a
Showing
2 changed files
with
149 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters