Francesco Fusco f02db315b8 ipv4: IP_TOS and IP_TTL can be specified as ancillary data
This patch enables the IP_TTL and IP_TOS values passed from userspace to
be stored in the ipcm_cookie struct. Three fields are added to the struct:

- the TTL, expressed as __u8.
  The allowed values are in the [1-255].
  A value of 0 means that the TTL is not specified.

- the TOS, expressed as __s16.
  The allowed values are in the range [0,255].
  A value of -1 means that the TOS is not specified.

- the priority, expressed as a char and computed when
  handling the ancillary data.

Signed-off-by: Francesco Fusco <ffusco@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-09-28 15:21:51 -07:00
..
2013-05-14 13:02:30 -07:00
2013-09-03 22:34:47 -04:00
2013-05-27 22:50:59 -07:00
2013-08-14 01:13:40 +02:00
2013-02-21 12:05:51 -08:00
2013-08-11 22:02:36 -07:00
2013-09-13 15:09:52 +02:00
2013-05-27 22:50:59 -07:00