luigi
d5e8d236f4
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
..
2010-10-31 04:45:25 +00:00
2010-10-30 16:53:42 +00:00
2010-10-15 21:40:20 +00:00
2010-03-19 00:19:55 +00:00
2010-11-07 03:40:37 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-11-11 15:13:11 +00:00
2010-09-22 23:41:02 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-11-12 13:02:26 +00:00
2010-08-23 22:24:11 +00:00
2010-03-19 00:19:55 +00:00
2010-10-11 21:34:35 +00:00
2010-03-19 00:19:55 +00:00
2010-08-08 08:19:23 +00:00
2010-11-11 16:53:25 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-08-03 17:40:09 +00:00
2010-10-08 12:40:16 +00:00
2010-03-19 00:19:55 +00:00
2010-09-05 16:12:10 +00:00
2010-08-03 17:40:09 +00:00
2010-10-08 12:40:16 +00:00
2010-08-12 20:46:49 +00:00
2010-10-24 01:05:10 +00:00
2010-05-19 08:57:53 +00:00
2010-10-21 10:38:14 +00:00
2010-08-16 15:18:30 +00:00
2010-10-08 12:40:16 +00:00
2010-03-19 00:19:55 +00:00
2010-08-28 16:32:01 +00:00
2010-10-27 21:01:53 +00:00
2010-03-19 00:19:55 +00:00
2010-06-13 01:27:29 +00:00
2010-11-11 18:35:28 +00:00
2010-10-11 21:16:50 +00:00
2010-08-01 12:10:32 +00:00
2010-03-19 00:19:55 +00:00
2010-08-03 17:40:09 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-05-03 09:49:42 +00:00
2010-10-29 22:57:14 +00:00
2010-04-23 11:07:43 +00:00
2010-11-06 10:54:33 +00:00
2010-09-18 23:38:21 +00:00
2010-10-18 12:35:10 +00:00
2010-08-16 15:18:30 +00:00
2010-03-19 00:19:55 +00:00
2010-09-25 01:57:47 +00:00
2010-08-03 17:40:09 +00:00
2010-03-19 00:19:55 +00:00
2010-08-16 15:18:30 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-10-08 12:40:16 +00:00
2010-10-08 12:40:16 +00:00
2010-03-19 00:19:55 +00:00
2010-11-02 02:13:13 +00:00
2010-08-28 15:03:11 +00:00
2010-05-01 18:56:45 +00:00
2010-04-14 19:08:06 +00:00
2010-10-11 20:30:57 +00:00
2010-10-14 20:50:33 +00:00
2010-10-16 11:20:53 +00:00
2010-10-08 12:40:16 +00:00
2010-10-04 18:16:38 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-03-19 00:19:55 +00:00
2010-10-13 16:34:08 +00:00
2010-10-01 20:14:36 +00:00
2010-03-19 00:19:55 +00:00
2010-11-11 15:48:27 +00:00
2010-03-19 00:19:55 +00:00