Francesco Fusco
aa66158145
ipv4: processing ancillary IP_TOS or IP_TTL
...
If IP_TOS or IP_TTL are specified as ancillary data, then sendmsg() sends out
packets with the specified TTL or TOS overriding the socket values specified
with the traditional setsockopt().
The struct inet_cork stores the values of TOS, TTL and priority that are
passed through the struct ipcm_cookie. If there are user-specified TOS
(tos != -1) or TTL (ttl != 0) in the struct ipcm_cookie, these values are
used to override the per-socket values. In case of TOS also the priority
is changed accordingly.
Two helper functions get_rttos and get_rtconn_flags are defined to take
into account the presence of a user specified TOS value when computing
RT_TOS and RT_CONN_FLAGS.
Signed-off-by: Francesco Fusco <ffusco@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-09-28 15:21:52 -07:00
..
2013-09-11 12:34:13 -07:00
2013-09-23 16:29:41 -04:00
2013-09-23 16:29:41 -04:00
2013-09-23 16:29:42 -04:00
2013-04-08 17:16:57 -04:00
2013-09-23 16:29:42 -04:00
2013-08-09 13:09:41 -07:00
2013-08-14 01:12:58 +02:00
2012-06-17 16:29:38 -07:00
2013-09-23 16:29:42 -04:00
2013-07-31 17:24:22 -07:00
2013-08-31 22:30:01 -04:00
2013-07-31 17:50:01 -07:00
2013-08-10 01:16:44 -07:00
2013-07-27 22:14:06 -07:00
2013-07-31 17:50:02 -07:00
2011-11-30 18:51:03 -05:00
2013-07-31 17:50:02 -07:00
2013-08-28 17:45:48 -04:00
2011-08-08 14:26:29 -04:00
2013-08-29 14:08:24 -04:00
2013-07-31 17:50:02 -07:00
2012-06-01 14:18:29 -04:00
2013-09-05 14:54:29 -07:00
2012-08-10 16:52:54 -07:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2012-04-05 05:08:04 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2011-12-01 11:41:06 -05:00
2013-01-09 23:59:53 -08:00
2012-07-19 10:43:03 -07:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:33 -04:00
2013-03-26 12:32:13 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-07-03 14:37:39 -07:00
2013-01-27 22:46:33 -05:00
2013-09-20 14:49:33 -04:00
2013-07-16 09:58:05 +03:00
2013-04-08 12:00:16 -04:00
2011-11-14 00:19:42 -05:00
2013-09-04 14:53:20 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-05-28 23:49:07 -07:00
2013-05-06 11:06:51 -04:00
2013-09-21 14:01:38 -04:00
2013-09-28 15:21:52 -07:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-01-08 17:56:10 -08:00
2013-09-27 17:32:16 -04:00
2013-09-21 14:01:38 -04:00
2013-09-04 00:27:25 -04:00
2013-09-21 14:01:38 -04:00
2013-09-04 00:27:25 -04:00
2013-09-21 14:01:38 -04:00
2013-09-28 15:21:52 -07:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:38 -04:00
2013-04-29 15:41:56 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-08-29 14:08:24 -04:00
2012-06-26 21:06:11 -07:00
2013-09-04 14:53:20 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:39 -04:00
2013-07-31 17:50:02 -07:00
2013-09-21 14:01:39 -04:00
2011-05-27 13:41:33 -04:00
2013-09-21 14:01:39 -04:00
2012-09-17 18:08:54 -07:00
2013-09-21 14:01:39 -04:00
2013-09-05 14:54:29 -07:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:39 -04:00
2013-09-23 01:51:07 -04:00
2013-07-31 17:24:22 -07:00
2013-08-31 00:32:32 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2012-04-16 23:53:11 -04:00
2013-01-03 13:01:30 +01:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-28 15:21:52 -07:00
2013-09-23 01:51:09 -04:00
2013-09-20 14:41:02 -04:00
2013-09-23 01:51:09 -04:00
2013-09-23 01:51:09 -04:00
2012-08-06 13:40:47 -07:00
2013-09-23 01:51:09 -04:00
2013-09-23 01:51:09 -04:00
2012-04-10 10:04:07 -07:00
2013-09-24 10:39:58 -04:00
2012-06-09 14:56:12 -07:00
2013-06-04 16:43:42 -07:00
2013-09-23 16:29:40 -04:00
2013-09-23 16:29:40 -04:00
2013-07-27 22:14:06 -07:00
2013-09-05 12:44:30 -04:00
2013-09-23 16:29:40 -04:00
2013-09-23 16:29:41 -04:00
2012-05-16 15:17:08 -04:00
2013-09-23 16:29:41 -04:00
2013-09-23 16:29:41 -04:00