Project

General

Profile

Actions

Feature #13175

closed

Add support for IP_RECVTOS

Added by Dan McDonald over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
networking
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

A SmartOS LX user discovered our lack of support using an LX zone. See https://github.com/joyent/illumos-joyent/issues/330 for that user's specific problem.

This is a case where to fix it in LX requires getting it to work in illumos native zones first. Luckily, we have a place to start working our way out. See here:

http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/inet/ipclassifier.h#169

for receive-ancillary-data infrastructure. We will need to at least one bit for the above socket options, maybe two if we wish to keep them disjoint (though there's no TOS in IPv6, and no TCLASS in IPv4).

While not a bite-sized, that there is this data structure to keep track of ancillary data bits, it might not be a "hard" one either.

Actions

Also available in: Atom PDF