Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Documentation: Update Phonet doc for Pipe controller changes | Kumar Sanghvi | 2010-10-13 | 1 | -18/+14 |
| | | | | | | | | Updates to Phonet doc for Pipe controller 'connect' socket implementation and changes related to socket options. Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | Phonet: cleanup pipe enable socket option | Rémi Denis-Courmont | 2010-10-08 | 1 | -12/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current code works like this: int garbage, status; socklen_t len = sizeof(status); /* enable pipe */ setsockopt(fd, SOL_PNPIPE, PNPIPE_ENABLE, &garbage, sizeof(garbage)); /* disable pipe */ setsockopt(fd, SOL_PNPIPE, PNPIPE_DISABLE, &garbage, sizeof(garbage)); /* get status */ getsockopt(fd, SOL_PNPIPE, PNPIPE_INQ, &status, &len); ...which does not follow the usual socket option pattern. This patch merges all three "options" into a single gettable&settable option, before Linux 2.6.37 gets out: int status; socklen_t len = sizeof(status); /* enable pipe */ status = 1; setsockopt(fd, SOL_PNPIPE, PNPIPE_ENABLE, &status, sizeof(status)); /* disable pipe */ status = 0; setsockopt(fd, SOL_PNPIPE, PNPIPE_ENABLE, &status, sizeof(status)); /* get status */ getsockopt(fd, SOL_PNPIPE, PNPIPE_ENABLE, &status, &len); This also fixes the error code from EFAULT to ENOTCONN. Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Cc: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | Documentation: Update Phonet doc for Pipe Controller implementation | Kumar Sanghvi | 2010-09-27 | 1 | -0/+53 |
| | | | | | | | | | Updates the Phonet document with description related to Pipe controller implementation Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | Phonet: resource routing documentation | Rémi Denis-Courmont | 2010-09-15 | 1 | -0/+16 |
| | | | | | Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | trivial: Miscellaneous documentation typo fixes | Matt LaPlante | 2009-06-12 | 1 | -1/+1 |
| | | | | | | | Fix various typos in documentation txts. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | ||||
* | Phonet: Simple doc fix. | Randy Macleod | 2008-10-14 | 1 | -2/+2 |
| | | | | | | From: "Randy Macleod" <macleodr@nortel.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | Phonet: pipe end-point protocol documentation | Rémi Denis-Courmont | 2008-10-05 | 1 | -0/+54 |
| | | | | | Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | Phonet: improve documentation | Rémi Denis-Courmont | 2008-09-30 | 1 | -11/+21 |
| | | | | | | | | Fix grammar errors spotted by Randy Dunlap, and adds some more details. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | Phonet: kernel documentation | Remi Denis-Courmont | 2008-09-22 | 1 | -0/+111 |
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net> |