# [PATCH] Netlink sockets support for Linux

- Thread: https://externals.io/message/43272
- Original archive: https://news-web.php.net/php.internals/43272
- Started by Oleg A. Arkhangelsky on 2009-03-07T15:47:13+00:00
- Messages: 7
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #43272 — Oleg A. Arkhangelsky — 2009-03-07T15:47:13+00:00

URL: https://externals.io/message/43272#43272

Hello,

This patch adds ability to send or receive data using Netlink [1] sockets in Linux OS using Socket Functions in PHP.
If you're going to commit this patch, some additions to documentation will be needed. Just let me know.

I would very appreciate your comments!

[1] http://en.wikipedia.org/wiki/Netlink

-- 
wbr, Oleg.

---

## #43276 — Antony Dovgal — 2009-03-07T18:51:47+00:00

URL: https://externals.io/message/43272#43276 · In reply to: #43272

> Hello,
> 
> This patch adds ability to send or receive data using Netlink [1] sockets in Linux OS using Socket Functions in PHP.
> If you're going to commit this patch, some additions to documentation will be needed. Just let me know.
> 
> I would very appreciate your comments!

The patch didn't come through.
Make sure the patch is in *.txt, the maillist accepts only text/plain attachments.

-- 
Wbr, 
Antony Dovgal

---

## #43277 — Kenan Sulayman — 2009-03-08T11:44:15+00:00

URL: https://externals.io/message/43272#43277 · In reply to: #43276

Just send you a copy of his patch as of his last mail.

( "Here it is: http://www.progtech.ru/~oleg/linux-netlink.diff" )

--
(c) Kenan Sulayman
Freelance Designer and Programmer

Life's Live Poetry



2009/3/7 Antony Dovgal <tony@daylessday.org>

> 
> > […]
> in Linux OS using Socket Functions in PHP.
> > […]
> will be needed. Just let me know.
> > […]
>
> The patch didn't come through.
> Make sure the patch is in *.txt, the maillist accepts only text/plain
> attachments.
>
> --
> Wbr,
> Antony Dovgal

---

## #43295 — Oleg A. Arkhangelsky — 2009-03-10T17:55:17+00:00

URL: https://externals.io/message/43272#43295 · In reply to: #43272

Hello,

> This patch adds ability to send or receive data using Netlink [1]
> sockets in Linux OS using Socket Functions in PHP. If you're going
> to commit this patch, some additions to documentation will be
> needed. Just let me know. I would very appreciate your comments!
> [1] http://en.wikipedia.org/wiki/Netlink

New version: http://www.progtech.ru/~oleg/php-netlinkV2.txt

Some more changes. Fixed socket_getpeername and socket_getsockname
functions to understand AF_NETLINK sockets. Patch made for PHP_5_3
branch. Any thoughts or opinions?

--
wbr, Oleg

---

## #43468 — Lukas Kahwe Smith — 2009-03-25T18:59:57+00:00

URL: https://externals.io/message/43272#43468 · In reply to: #43295

Hi,

Whats the status here?
I would say it does not sound like something we need to add now, but  
maybe for 5.3.1?
So in that light I would say please file a feature request with the  
patch attached or linked ..

regards,
Lukas



> Hello,
>
> > […]
>
> New version: http://www.progtech.ru/~oleg/php-netlinkV2.txt
>
> Some more changes. Fixed socket_getpeername and socket_getsockname
> functions to understand AF_NETLINK sockets. Patch made for PHP_5_3
> branch. Any thoughts or opinions?
>
> --
> wbr, Oleg
>
> -- 
> 
> 
>

Lukas Kahwe Smith
mls@pooteeweet.org

---

## #43558 — Hannes Magnusson — 2009-03-31T16:22:54+00:00

URL: https://externals.io/message/43272#43558 · In reply to: #43468

> Hi,
>
> Whats the status here?
> I would say it does not sound like something we need to add now, but maybe
> for 5.3.1?
> So in that light I would say please file a feature request with the patch
> attached or linked ..

I think we need to start fixing the development cycle.
Waiting until its ok to commit to 5_3 is just wrong.

Committing things in HEAD and then merge them later is a lot better
way to do things.

-Hannes

---

## #43565 — Lukas Kahwe Smith — 2009-03-31T19:22:03+00:00

URL: https://externals.io/message/43272#43565 · In reply to: #43558

> On Wed, Mar 25, 2009 at 20:59, Lukas Kahwe Smith  
> <mls@pooteeweet.org> wrote:
> > […]
>
> I think we need to start fixing the development cycle.
> Waiting until its ok to commit to 5_3 is just wrong.
>
> Committing things in HEAD and then merge them later is a lot better
> way to do things.

Yeah .. HEAD is for development.

regards,
Lukas Kahwe Smith
mls@pooteeweet.org
