dect
/
libnl
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libnl/src
Коренберг Марк (дома) ab15d06d13 "%llu" replaced with "%" PRIu64
On some architectures, uint64_t is defined as:

typedef unsigned long long int __u64;

on another architectures as:

typedef unsigned long int __u64;

So, according to man 3 printf,
uint64_t should be printed as "%llu" on some architectures, and as "%lu" on another. The same for scanf.

To eliminate that challenge, there is inttypes.h, in which appropriate constants
are defined for current architecture.

32-bit types (and even 16 and 8 bit types) should be printed using such constants if
printed variable defined as uint_XXXt or intXXXt type. But in reality 32-bit and less
types does not gain run-time error (except in scanf), because they pushed to stack as
32-bit values at least. So, I decide not to fix that.
2012-08-30 03:19:04 +06:00
..
cls - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
lib nl_cli_route_parse_table fixed typo in code 2012-08-28 18:53:29 +06:00
.gitignore Ingnore src/nl-link-enslave and nl-link-release 2011-09-19 11:24:52 +02:00
Makefile.am genl-ctrl-list: Mark for installation 2012-04-20 15:28:48 +02:00
genl-ctrl-list.c genl-ctrl-list: fix copyright and summary 2012-04-20 15:27:52 +02:00
nf-ct-list.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nf-log.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nf-monitor.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nf-queue.c FTBFS with musl libc: Missing includes 2012-05-13 11:18:28 +02:00
nl-addr-add.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-addr-delete.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-addr-list.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl-class-add.c Unified TC API 2011-03-21 15:51:52 +01:00
nl-class-delete.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl-class-list.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl-classid-lookup.c nl-classid-lookup: Added --raw option to print classid without pretty printing it 2010-11-01 15:20:43 +01:00
nl-cls-add.c Unified TC API 2011-03-21 15:51:52 +01:00
nl-cls-delete.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl-cls-list.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl-fib-lookup.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-link-enslave.c bonding: API to create/enslave/release 2011-09-16 12:57:52 +02:00
nl-link-ifindex2name.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-link-list.c Make syntax of nl-link-list consistent and install it 2010-11-16 15:08:36 +01:00
nl-link-name2ifindex.c nl-link-name2ifindex: fix usage text 2011-08-30 09:56:54 +02:00
nl-link-release.c bonding: API to create/enslave/release 2011-09-16 12:57:52 +02:00
nl-link-set.c link: Support IFLA_IFALIAS attribute 2010-11-11 13:57:10 +01:00
nl-link-stats.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-list-caches.c genl: Support registration of families without depending on caches 2012-06-01 11:48:08 +02:00
nl-list-sockets.c "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
nl-monitor.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-neigh-add.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-neigh-delete.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl-neigh-list.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-neightbl-list.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-pktloc-lookup.c pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
nl-qdisc-add.c Unified TC API 2011-03-21 15:51:52 +01:00
nl-qdisc-delete.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl-qdisc-list.c Unified TC API 2011-03-21 15:51:52 +01:00
nl-route-add.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-route-delete.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-route-get.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-route-list.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-rule-list.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
nl-tctree-list.c trafic class/classifer API improvements and documentation 2011-03-29 12:41:59 +02:00
nl-util-addr.c CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00