summaryrefslogtreecommitdiff
path: root/lib/attr.c
AgeCommit message (Expand)Author
2024-05-29all: fix and enable "-Wsign-compare" warningupstream-mainThomas Haller
2024-05-29lib: add internal _nla_len() helperThomas Haller
2023-08-08include: use <linux/$file> instead of <linux-private/linux/$file>Thomas Haller
2023-08-03include: include private linux headers with explicit pathThomas Haller
2023-08-02include: drop "netlink-private/netlink.h" and move declarationsThomas Haller
2023-08-02all: cleanup includes and use "nm-default.h"Thomas Haller
2023-08-02include: split and drop "netlink-private/types.h"Thomas Haller
2023-07-28lib: handle negative and zero size in nla_memcpy()Thomas Haller
2023-07-28all: use _NL_{MIN,MAX}() macrosThomas Haller
2023-07-26lib: accept NULL argument in nla_nest_cancel() for robustnessThomas Haller
2022-07-07attr: reject zero length addressesJonas Gorski
2020-04-16license: fix and add SPDX license identifiers and drop license commentsThomas Haller
2020-04-15lib: cleanup nla_parse() to return early on errorThomas Haller
2019-08-16all: Avoid pointer arithmetic on `void *`Michael Forney
2019-08-12Add SPDX identifiersYegor Yefremov
2019-08-07attr: mark nested attributes as NLA_F_NESTEDThomas Haller
2018-10-10nla_ok: fix overrun in attribute iteration.Patrick Havelange
2018-02-12lib: merge implementations of nl_attr_end() and nl_attr_keep_empty()Thomas Haller
2018-01-24Fix for cgroup filter addition problem.d0u9
2017-10-09nl: add "const" specifier for nla_policy argument of parse functionsThomas Haller
2017-01-18lib/attr.c: check for valid length argument in nla_reserve()Thomas Haller
2016-06-24lib: return error on Netlink attribute length overflowPrzemyslaw Szczerbik
2015-10-05lib/attr: add nla utility functions for signed integersThomas Haller
2015-08-17lib/attr: add nla utility functions for s32Thomas Haller
2015-02-16lib: add const-ness to appropriate parameters in addr, attr, dataRohan Joyce
2014-06-25attr: nla_get_u64() should return 0 if the attribute does not fully contain 6...Thomas Haller
2014-06-25attr: prevent garbage return value for NULL paramPeter Wu
2013-11-29The commit 6a8d90f5fec4 "attr: Allow attribute type 0" intended toSamuel Gauthier
2013-11-28attr: Allow attribute type 0Thomas Graf
2013-04-28Wrong calcultation in nla_reserveEmmanuel Thierry
2013-04-28attr: Fix typo in nla_is_nested()Thomas Graf
2013-04-28attr: nla_is_nested() must access nla_type directlyThomas Graf
2013-03-14attr: Warn application if nla_parse() observes same attribute multiple timesThomas Graf
2013-03-14attr: No longer warn about attribute of type 0Thomas Graf
2013-03-14attr: Do not enforce maximum length for NLA_FLAG attributesThomas Graf
2013-03-14attr: Add nla_nest_cancel() to remove partially added nested attributesThomas Graf
2013-02-05attr: Provide nla_is_nested() functionThomas Graf
2013-01-24Move private header files to <netlink-private/*>Thomas Graf
2012-11-16Use NL_DBG() instead of printing warnings and errors to stderrThomas Graf
2012-06-13Fix types-related warnings based on clang diagnosticsКоренберг Марк
2012-05-10doc: documentation restructuringThomas Graf
2011-03-23Omit empty nested attributesThomas Graf
2010-11-22nl: rename nlmsg_msg_size() to nlmsg_size(), nlmsg_len() -> nlmsg_datalen()Thomas Graf
2010-10-29attr: Add padding if nested data does not end at an alignment boundryThomas Graf
2010-10-29Improved debugging messages while constructing messages/attributesThomas Graf
2010-10-29Avoid memcpy()/memset() when reserving space for nested attributesThomas Graf
2008-06-13Introduce nla_strdup() to help parse strings attributesThomas Graf
2008-05-14Remove obsolete nla_get_addr() and nla_get_data()Thomas Graf
2008-05-14Thread-safe error handlingThomas Graf
2008-02-22Be liberal when receiving an empty nested attributeThomas Graf