Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
4438c6061d5a2ffd5b4251027038181af9b8dc22
/
include
/
common
/
standard.h
e3e2b72
REORG: compat: move some integer limit definitions from standard.h to compat.h
by Willy Tarreau
· 6 years ago
3710105
MINOR: tools: provide a may_access() function and make dump_hex() use it
by Willy Tarreau
· 6 years ago
9fc5dcb
MINOR: tools: add dump_hex()
by Willy Tarreau
· 6 years ago
d5ec4bf
CLEANUP: standard: use proper const to addr_to_str() and port_to_str()
by Willy Tarreau
· 6 years ago
9d22e56
MINOR: tools: add an unsetenv() implementation
by Willy Tarreau
· 6 years ago
d87a67f
MINOR: tools: implement my_flsl()
by Willy Tarreau
· 6 years ago
f324111
MINOR: tools: implement functions to look up the nth bit set in a mask
by Willy Tarreau
· 6 years ago
3b71716
MINOR: standard: Add a function to parse uints (dotted notation).
by Frédéric Lécaille
· 6 years ago
cafa56e
MINOR: tools: improve the popcount() operation
by Willy Tarreau
· 6 years ago
59caa3b
MINOR: tools: increase the number of ITOA strings to 16
by Willy Tarreau
· 6 years ago
32b8327
CLEANUP: Fix typos in the standard subsystem
by Joseph Herlant
· 6 years ago
ce487aa
BUG/MEDIUM: tools: fix direction of my_ffsl()
by Willy Tarreau
· 6 years ago
1ff7633
CLEANUP: tools: fix misleading comment above function LIM2A
by Ioannis Cherouvim
· 6 years ago
98d334b
MINOR: tools: add a new function atleast2() to test masks for more than 1 bit
by Willy Tarreau
· 6 years ago
27346b0
OPTIM: tools: optimize my_ffsl() for x86_64
by Willy Tarreau
· 6 years ago
4c0fcc2
BUG/MINOR: tools: fix set_net_port() / set_host_port() on IPv4
by Willy Tarreau
· 6 years ago
2fe7dd0
MEDIUM: protocol: sockpair protocol
by William Lallemand
· 6 years ago
ab813a4
REORG: http: move some header value processing functions to http.c
by Willy Tarreau
· 6 years ago
f16cb41
MINOR: tools: make date2str_log() take some consts
by Willy Tarreau
· 6 years ago
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· 6 years ago
5e64286
CLEANUP: standard: Fix typo in IPv6 mask example
by Tim Duesterhus
· 7 years ago
4718517
MINOR: standard: Add str2mask6 function
by Tim Duesterhus
· 7 years ago
ff81318
MINOR: standard: Add my_ffsl function to get the position of the bit set to one
by Christopher Faulet
· 7 years ago
9c1e15d
MINOR: tools: emphasize the node being worked on in the tree dump
by Willy Tarreau
· 7 years ago
ed3cda0
MINOR: tools: add a function to dump a scope-aware tree to a file
by Willy Tarreau
· 7 years ago
99bca65
BUG/MEDIUM: standard: itao_str/idx and quote_str/idx must be thread-local
by Christopher Faulet
· 7 years ago
aa39860
MINOR: tools: don't use unlikely() in hex2i()
by Willy Tarreau
· 7 years ago
5222d8e
BUG/MINOR: stdarg.h inclusion
by David Carlier
· 7 years ago
93a518f
MINOR: standard: Add memvprintf function
by Christopher Faulet
· 7 years ago
1296382
CONTRIB: trace: add the possibility to place trace calls in the code
by Willy Tarreau
· 7 years ago
dea7c5c
BUG/MINOR: tools: fix my_htonll() on x86_64
by Willy Tarreau
· 7 years ago
36eb3a3
MINOR: tools: make my_htonll() more efficient on x86_64
by Willy Tarreau
· 7 years ago
cb1949b
MINOR: tools: add a portable timegm() alternative
by Willy Tarreau
· 7 years ago
ed936c5
MINOR: tools: make debug_hexdump() take a string prefix
by Willy Tarreau
· 8 years ago
9faef1e
MINOR: tools: make debug_hexdump() use a const char for the string
by Willy Tarreau
· 8 years ago
577d5ac
CLEANUP: str2mask return code comment: non-zero -> zero.
by Jarno Huuskonen
· 7 years ago
6ab2bae
REORG: spoe: move spoe_encode_varint / spoe_decode_varint from spoe to common
by Thierry FOURNIER
· 8 years ago
b82f742
MINOR: server: Add 'server-template' new keyword supported in backend sections.
by Frédéric Lécaille
· 8 years ago
48ef4c9
MINOR: tools: make str2sa_range() return the port in a separate argument
by Willy Tarreau
· 8 years ago
0ebb511
MINOR: tools: add a generic hexdump function for debugging
by Willy Tarreau
· 8 years ago
97c2ae1
REORG: cli: move dump_text(), dump_text_line(), and dump_binary() to standard.c
by Willy Tarreau
· 8 years ago
dcbc5c5
MINOR: show Built with PCRE version
by Lukas Tribus
· 8 years ago
08396c8
MINOR: standard.c: ipcpy() function to copy an IP address from a struct sockaddr_storage into an other one
by Baptiste Assmann
· 9 years ago
08b24cf
MINOR: standard.c: ipcmp() function to compare 2 IP addresses stored in 2 struct sockaddr_storage
by Baptiste Assmann
· 9 years ago
16e0156
MINOR: tcp: add dst_is_local and src_is_local
by Willy Tarreau
· 8 years ago
1a5d060
MINOR: standard: add function "escape_string"
by Dragan Dosen
· 8 years ago
eec1d38
BUG/MEDIUM: dns: fix alignment issues in the DNS response parser
by Willy Tarreau
· 8 years ago
2eae3a0
MINOR: new function my_realloc2 = realloc + free upon failure
by Hubert Verstraete
· 8 years ago
5f6e905
BUILD: fix build on Solaris 11
by Willy Tarreau
· 9 years ago
dc88785
MINOR: add list_append_word function
by Maxime de Roucy
· 9 years ago
e2e5bde
BUG/MINOR: log: Don't use strftime() which can clobber timezone if chrooted
by Benoit GARNIER
· 9 years ago
b413c2a
BUG/MINOR: log: GMT offset not updated when entering/leaving DST
by Benoit GARNIER
· 9 years ago
70473a5
MINOR: common: mask conversion
by Thierry Fournier
· 9 years ago
0edd109
MINOR: standard: add function "escape_chunk"
by Dragan Dosen
· 9 years ago
9312794
MINOR: standard: add RFC HTTP date parser
by Thierry Fournier
· 9 years ago
898529b
MEDIUM: tools: add csv_enc_append() to preserve the original chunk
by Willy Tarreau
· 9 years ago
ffaf30b
BUILD: Fix the build on OSX (htonll/ntohll)
by Joseph Lynch
· 9 years ago
7fe3be7
MINOR: standard: avoid DNS resolution from the function str2sa_range()
by Thierry FOURNIER
· 9 years ago
72b8c1f
MEDIUM: tools: make str2sa_range() optionally return the FQDN
by Willy Tarreau
· 9 years ago
5b4dd68
MINOR: standard: provide htonll() and ntohll()
by Willy Tarreau
· 9 years ago
763a5d8
MINOR: standard: add 64 bits conversion functions
by Thierry FOURNIER
· 9 years ago
e6c3941
BUILD/MINOR: tools: rename popcount to my_popcountl
by David Carlier
· 9 years ago
1480bd8
MINOR: standard: add function that converts signed int to a string
by Thierry FOURNIER
· 9 years ago
ddea626
MINOR: common: escape CSV strings
by Thierry FOURNIER
· 9 years ago
e6e49cf
MINOR: tools: provide an rdtsc() function for time comparisons
by Willy Tarreau
· 10 years ago
58639a0
MINOR: global: export function and permits to not resolve DNS names
by Thierry FOURNIER
· 10 years ago
3ca1a88
MINOR: tools: add new round_2dig() function to round integers
by Willy Tarreau
· 10 years ago
317e1c4
MINOR: sample: add "json" converter
by Thierry FOURNIER
· 10 years ago
588297f
MINOR: tools: add new functions to quote-encode strings
by Willy Tarreau
· 10 years ago
75ab8bd
MEDIUM: Add port_to_str helper
by Simon Horman
· 10 years ago
18ca2d4
MINOR: tools: split is_addr() and is_inet_addr()
by Willy Tarreau
· 11 years ago
a9db57e
MEDIUM: config: limit nbproc to the machine's word size
by Willy Tarreau
· 12 years ago
9f95e40
MINOR: standard: Add ipv6 support in the function url2sa().
by Thierry FOURNIER
· 11 years ago
fc7ac7b
MINOR: standard: Disable ip resolution during the runtime
by Thierry FOURNIER
· 11 years ago
b050463
MINOR: standard: Add function for converting cidr to network mask.
by Thierry FOURNIER
· 11 years ago
511e947
MEDIUM: acl/pattern: standardisation "of pat_parse_int()" and "pat_parse_dotted_ver()"
by Thierry FOURNIER
· 11 years ago
e059ec9
MINOR: standard: add function "encode_chunk"
by Thierry FOURNIER
· 11 years ago
bb519c7
MINOR: tools: add very basic support for composite pointers
by Willy Tarreau
· 11 years ago
89efaed
BUILD: definitely silence some stupid GCC warnings
by Willy Tarreau
· 11 years ago
bb77c8e
MINOR: tools: function my_memmem() to lookup binary contents
by Baptiste Assmann
· 11 years ago
126d406
MINOR: tools: add a generic binary hex string parser
by Willy Tarreau
· 11 years ago
d559dd8
MINOR: tools: Add a function to convert buffer to an ipv6 address
by Thierry FOURNIER
· 11 years ago
88c278f
MEDIUM: stats: add proxy name filtering on the statistic page
by de Lafond Guillaume
· 12 years ago
0161d62
OPTIM: http: improve branching in chunk size parser
by Willy Tarreau
· 12 years ago
dad36a3
MAJOR: tools: support environment variables in addresses
by Willy Tarreau
· 12 years ago
2470928
MEDIUM: tools: support specifying explicit address families in str2sa_range()
by Willy Tarreau
· 12 years ago
c120c8d
CLEANUP: minor cleanup in str2sa_range() and str2ip()
by Willy Tarreau
· 12 years ago
add0ab1
CLEANUP: tools: remove str2sun() which is not used anymore.
by Willy Tarreau
· 12 years ago
d393a62
MINOR: tools: prepare str2sa_range() to accept a prefix
by Willy Tarreau
· 12 years ago
df350f1
MINOR: tools: prepare str2sa_range() to return an error message
by Willy Tarreau
· 12 years ago
d4448bc
MEDIUM: tools: make str2sa_range support all address syntaxes
by Willy Tarreau
· 12 years ago
5269cfb
BUG/MINOR: Correct logic in cut_crlf()
by Simon Horman
· 12 years ago
56adcf2
MINOR: tools: simplify the use of the int to ascii macros
by Willy Tarreau
· 12 years ago
37994f0
MINOR: standard: add a simple popcount function
by Willy Tarreau
· 12 years ago
4e25b01
MINOR: log: add '%Tl' to log-format
by Yuxans Yao
· 12 years ago
422a0a5
MINOR: tools: add a clear_addr() function to unset an address
by Willy Tarreau
· 12 years ago
3dd0c4e
OPTIM: tools: inline hex2i()
by Willy Tarreau
· 12 years ago
eb6cead
MINOR: standard: make memprintf() support a NULL destination
by Willy Tarreau
· 12 years ago
21c705b
MINOR: config: add a function to indent error messages
by Willy Tarreau
· 12 years ago
d50265a
BUILD: include sys/socket.h to fix build failure on FreeBSD
by Willy Tarreau
· 12 years ago
Next »