Luigi Rizzo
5c9d0a9ad3
This commit implements the SO_USER_COOKIE socket option, which lets
...
you tag a socket with an uint32_t value. The cookie can then be
used by the kernel for various purposes, e.g. setting the skipto
rule or pipe number in ipfw (this is the reason SO_USER_COOKIE has
been implemented; however there is nothing ipfw-specific in its
implementation).
The ipfw-related code that uses the optopn will be committed separately.
This change adds a field to 'struct socket', but the struct is not
part of any driver or userland-visible ABI so the change should be
harmless.
See the discussion at
http://lists.freebsd.org/pipermail/freebsd-ipfw/2009-October/004001.html
Idea and code from Paul Joe, small modifications and manpage
changes by myself.
Submitted by: Paul Joe
MFC after: 1 week
2010-11-12 13:02:26 +00:00
..
2009-12-05 19:31:38 +00:00
2007-01-09 00:28:16 +00:00
2006-09-30 10:24:00 +00:00
2009-11-02 07:21:13 +00:00
2010-05-13 12:07:55 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2008-04-03 02:41:54 +00:00
2006-09-26 09:47:46 +00:00
2010-10-08 12:40:16 +00:00
2006-10-07 10:49:20 +00:00
2008-04-03 02:41:54 +00:00
2010-10-08 12:40:16 +00:00
2009-06-01 09:32:12 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-10-29 15:03:29 +00:00
2008-04-16 13:03:12 +00:00
2008-04-16 13:03:12 +00:00
2007-01-09 00:28:16 +00:00
2010-10-08 12:40:16 +00:00
2009-06-15 20:38:55 +00:00
2009-06-15 20:38:55 +00:00
2010-09-06 21:39:54 +00:00
2010-09-12 14:04:05 +00:00
2010-01-09 12:31:11 +00:00
2007-01-09 00:28:16 +00:00
2010-09-21 16:24:51 +00:00
2008-01-29 18:15:38 +00:00
2010-05-06 22:49:54 +00:00
2008-05-30 14:47:42 +00:00
2010-06-08 16:48:59 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2007-07-04 23:27:38 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-08-16 15:18:30 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-06-26 21:44:05 +00:00
2010-06-08 16:48:59 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-10-21 12:27:13 +00:00
2010-05-06 22:49:54 +00:00
2010-06-08 16:48:59 +00:00
2007-01-09 00:28:16 +00:00
2010-11-12 13:02:26 +00:00
2010-10-08 12:40:16 +00:00
2007-01-09 00:28:16 +00:00
2009-10-11 00:08:55 +00:00
2010-05-11 17:02:12 +00:00
2007-01-09 00:28:16 +00:00
2010-08-02 16:01:45 +00:00
2007-01-09 00:28:16 +00:00
2006-09-17 21:27:35 +00:00
2010-10-08 12:40:16 +00:00
2010-10-08 12:40:16 +00:00
2008-12-25 09:15:31 +00:00
2010-10-08 12:40:16 +00:00
2007-02-14 07:38:39 +00:00
2008-08-02 13:49:12 +00:00
2009-07-19 16:48:25 +00:00
2006-10-07 05:13:32 +00:00
2007-01-09 00:28:16 +00:00
2007-04-05 21:17:52 +00:00
2007-07-04 23:27:38 +00:00
2007-01-09 00:28:16 +00:00
2010-09-10 01:47:37 +00:00
2008-03-28 04:29:27 +00:00
2007-10-30 15:28:43 +00:00
2008-06-30 08:46:09 +00:00
2008-04-16 13:03:12 +00:00
2008-04-16 13:03:12 +00:00
2010-07-27 20:34:37 +00:00
2010-07-27 20:34:37 +00:00
2010-08-28 16:57:07 +00:00
2007-07-04 23:27:38 +00:00
2010-10-08 12:40:16 +00:00
2010-05-27 03:15:04 +00:00
2007-01-09 00:28:16 +00:00
2010-06-08 16:48:59 +00:00
2010-06-08 16:48:59 +00:00
2010-06-08 16:48:59 +00:00
2010-06-08 16:48:59 +00:00
2010-06-08 16:48:59 +00:00
2010-06-08 16:48:59 +00:00
2010-06-08 16:48:59 +00:00
2009-07-13 12:53:43 +00:00
2009-07-13 12:53:43 +00:00
2009-07-13 12:53:43 +00:00
2009-07-13 12:53:43 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2009-10-11 16:23:11 +00:00
2007-01-09 00:28:16 +00:00
2010-08-16 15:18:30 +00:00
2010-08-16 15:18:30 +00:00
2010-10-21 12:27:13 +00:00
2008-11-11 14:55:59 +00:00
2008-08-20 08:31:58 +00:00
2007-07-04 23:27:38 +00:00
2007-01-09 00:28:16 +00:00
2009-10-28 11:14:32 +00:00
2010-08-06 14:33:42 +00:00
2007-07-04 23:27:38 +00:00
2010-03-16 06:12:30 +00:00
2007-01-09 00:28:16 +00:00
2008-04-16 13:03:12 +00:00
2007-01-09 00:28:16 +00:00
2010-10-08 12:40:16 +00:00
2008-11-07 15:01:40 +00:00
2009-06-15 21:52:27 +00:00
2007-05-14 13:58:54 +00:00
2007-01-09 00:28:16 +00:00
2010-10-08 12:40:16 +00:00
2010-01-12 21:45:03 +00:00
2010-01-12 21:45:03 +00:00
2010-07-30 11:58:18 +00:00
2007-12-19 03:33:13 +00:00
2009-06-29 18:54:17 +00:00
2010-08-28 16:32:01 +00:00
2009-02-05 14:06:09 +00:00
2010-01-07 21:14:46 +00:00
2009-09-18 14:17:00 +00:00
2009-06-19 15:58:24 +00:00
2009-12-01 06:12:31 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-05-13 12:07:55 +00:00
2010-08-16 15:18:30 +00:00
2009-06-29 18:54:17 +00:00
2007-03-07 13:38:11 +00:00
2010-05-06 22:49:54 +00:00
2010-08-29 16:38:08 +00:00
2007-01-09 00:28:16 +00:00
2010-05-07 20:46:22 +00:00
2006-09-17 21:27:35 +00:00
2010-05-06 22:49:54 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-09-10 01:47:37 +00:00
2009-01-05 12:18:46 +00:00
2007-01-09 00:28:16 +00:00
2010-08-24 12:58:54 +00:00
2010-10-13 16:57:06 +00:00
2010-10-21 12:27:13 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-09-10 01:47:37 +00:00
2008-04-16 13:03:12 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2009-01-12 13:12:02 +00:00
2007-06-18 01:50:03 +00:00
2007-06-18 01:50:03 +00:00
2007-01-09 00:28:16 +00:00
2007-07-04 23:27:38 +00:00
2007-01-09 00:28:16 +00:00
2007-01-09 00:28:16 +00:00
2010-04-25 13:55:52 +00:00
2008-04-16 13:03:12 +00:00
2010-03-02 17:20:04 +00:00
2010-05-06 22:49:54 +00:00
2010-01-20 22:26:36 +00:00
2007-01-09 00:28:16 +00:00