Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Feb 12 8:20:51 2012 from 38.107.179.228
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Netlink en anglais

NETLINK(3) Linux Programmer's Manual NETLINK(3)
 
NAME


netlink - Netlink macros
 
SYNOPSIS


#include #include int NLMSG_ALIGN(size_t len); int NLMSG_LENGTH(size_t len); int NLMSG_SPACE(size_t len); void *NLMSG_DATA(struct nlmsghdr *nlh); struct nlmsghdr *NLMSG_NEXT(struct nlmsghdr *nlh, int len); int NLMSG_OK(struct nlmsghdr *nlh, int len); int NLMSG_PAYLOAD(struct nlmsghdr *nlh, int len);
 
DESCRIPTION


defines several standard macros to access or create a netlink datagram. They are similar in spirit to the macros defined in cmsg(3) for auxiliary data. The buffer passed to and from a netlink socket should only be accessed using these macros. NLMSG_ALIGN() Round the length of a netlink message up to align it properly. NLMSG_LENGTH() Given the payload length, len, this macro returns the aligned length to store in the nlmsg_len field of the nlmsghdr. NLMSG_SPACE() Return the number of bytes that a netlink message with payload of len would occupy. NLMSG_DATA() Return a pointer to the payload associated with the passed nlms- ghdr. NLMSG_NEXT() Get the next nlmsghdr in a multipart message. The caller must check if the current nlmsghdr didn't have the NLMSG_DONE set -- this function doesn't return NULL on end. The len argument is an lvalue containing the remaining length of the message buffer. This macro decrements it by the length of the message header. NLMSG_OK() Return true if the netlink message is not truncated and ok to parse. NLMSG_PAYLOAD() Return the length of the payload associated with the nlmsghdr.
 
CONFORMING TO


These macros are non-standard Linux extensions.
 
NOTES


It is often better to use netlink via libnetlink than via the low-level kernel interface.
 
SEE ALSO


netlink(7) and ftp://ftp.inr.ac.ru/ip-routing/iproute2* for libnetlink
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU 1999-05-14 NETLINK(3)


 Dernières recherches
Man  en anglais Man netlink en anglaisMan  en français Man netlink en français
Man  en anglais Man openlog en anglaisMan  en français Man openlog en français
Man  en anglais Man wordexp en anglaisMan  en français Man wordexp en français
Man  en anglais Man getline en anglaisMan  en français Man getline en français
Man  en anglais Man seekdir en anglaisMan  en français Man seekdir en français
Man  en anglais Man readelf en anglaisMan  en français Man readelf en français
Man  en anglais Man sigwait en anglaisMan  en français Man sigwait en français
Man  en anglais Man complex en anglaisMan  en français Man complex en français
Man  en anglais Man vhangup en anglaisMan  en français Man vhangup en français
Man  en anglais Man objdump en anglaisMan  en français Man objdump en français
Man  en anglais Man opendir en anglaisMan  en français Man opendir en français
Man  en anglais Man strpbrk en anglaisMan  en français Man strpbrk en français
Man  en anglais Man getdate en anglaisMan  en français Man getdate en français
Man  en anglais Man fgetpos en anglaisMan  en français Man fgetpos en français
Man  en anglais Man lesskey en anglaisMan  en français Man lesskey en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher