Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Outdatedsocket.NETLINK_* constants #127072

Closed
Labels
@tungol

Description

@tungol

Feature or enhancement

Proposal:

When working through the constants insocket for typeshed, I found that these appear to be obsolete:

NETLINK_ARPD:int# linux 2.0 to 2.6.12 (EOL August 2005)NETLINK_ROUTE6:int# linux 2.2 to 2.6.12 (EOL August 2005)NETLINK_SKIP:int# linux 2.0 to 2.6.12 (EOL August 2005)NETLINK_TAPBASE:int# linux 2.2 to 2.6.12 (EOL August 2005)NETLINK_TCPDIAG:int# linux 2.6.0 to 2.6.13 (EOL December 2005)NETLINK_W1:int# linux 2.6.13 to 2.6.17 (EOL October 2006)

The netlink constants are defined ininclude/linux/netlink.h on linux 2.0 to 3.6. Starting in 3.7 they moved toinclude/uapi/linux/netlink.h. I've annotated these with the versions of linux where I was able to find them, and confirmed that they're not present in FreeBSD's Netlink implementation either.

I suspect these can be safely removed, but I'm not terribly familiar with Netlink myself.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp