GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.kernel.org — Netlink notes for kernel developers — The Linux Kernel documentation Netlink notes for kernel developers¶General guidance¶Attribute enums¶Older families often define “null” attributes and commands with value
of Message enums¶Use the same command IDs for requests and replies. This makes it easier to match them up, and we have plenty of ID space. Use separate command IDs for notifications. This makes it easier to sort the notifications from replies (and present them to the user application via a different API than replies). Answer requests¶Older families do not reply to all of the commands, especially NEW / ADD commands. User only gets information whether the operation succeeded or not via the ACK. Try to find useful data to return. Once the command is added whether it replies with a full message or only an ACK is uAPI and cannot be changed. It’s better to err on the side of replying. Specifically NEW and ADD commands should reply with information identifying
the created object such as the allocated object’s ID (without having to
resort to using NLM_F_ECHO¶Make sure to pass the request info to Support dump consistency¶If iterating over objects during dump may skip over objects or repeat
them - make sure to report dump inconsistency with Netlink specification¶Documentation of the Netlink specification parts which are only relevant to the kernel space. Globals¶kernel-policy¶Defines whether the kernel validation policy is checks¶Documentation for the unterminated-ok¶Accept strings without the null-termination (for legacy families only).
Switches from the max-len¶Defines max length for a binary or string attribute (corresponding
to the The field may either be a literal integer value or a name of a defined
constant. String types may reduce the constant by one
(i.e. specify min-len¶Similar to |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |