=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== haproxy-2.3.1/CHANGELOG-1694- - BUILD: tools: unbreak resolve_sym_name() on non-GNU platforms haproxy-2.3.1/CHANGELOG:1695: - BUILD: tools: rely on __ELF__ not USE_DL to enable use of dladdr() haproxy-2.3.1/CHANGELOG-1696- - CLEANUP: contrib/spoa_example: Fix several typos ############################################## haproxy-2.3.1/CHANGELOG-2610- - MINOR: http: check the source address via conn_get_src() in sample fetch functions haproxy-2.3.1/CHANGELOG:2611: - CLEANUP: connection: remove the now unused conn_get_{from,to}_addr() haproxy-2.3.1/CHANGELOG-2612- - MINOR: connection: add new src and dst fields ############################################## haproxy-2.3.1/CHANGELOG-2631- - MAJOR: connection: remove the addr field haproxy-2.3.1/CHANGELOG:2632: - MINOR: connection: don't use clear_addr() anymore, just release the address haproxy-2.3.1/CHANGELOG-2633- - MINOR: stream: add a new target_addr entry in the stream structure ############################################## haproxy-2.3.1/CHANGELOG-6043- - MINOR: threads/plock: rename local variables in macros to avoid conflicts haproxy-2.3.1/CHANGELOG:6044: - MINOR: threads/atomic: implement pl_mb() in asm on x86 haproxy-2.3.1/CHANGELOG-6045- - MINOR: threads/atomic: implement pl_bts() on non-x86 ############################################## haproxy-2.3.1/CHANGELOG-6603- - MINOR: memory: remove macros haproxy-2.3.1/CHANGELOG:6604: - BUG/MINOR: lua: Fix Server.get_addr() port values haproxy-2.3.1/CHANGELOG:6605: - BUG/MINOR: lua: Correctly use INET6_ADDRSTRLEN in Server.get_addr() haproxy-2.3.1/CHANGELOG-6606- - MINOR: samples: Handle the type SMP_T_METH when we duplicate a sample in smp_dup ############################################## haproxy-2.3.1/CHANGELOG-9302- - BUG/MINOR: checks: correctly configure the address family and protocol haproxy-2.3.1/CHANGELOG:9303: - MINOR: tools: split is_addr() and is_inet_addr() haproxy-2.3.1/CHANGELOG:9304: - MINOR: protocols: use is_inet_addr() when only INET addresses are desired haproxy-2.3.1/CHANGELOG-9305- - MEDIUM: unix: add preliminary support for connecting to servers over UNIX sockets ############################################## haproxy-2.3.1/CHANGELOG-10582- - BUG/MEDIUM: command-line option -D must have precedence over "debug" haproxy-2.3.1/CHANGELOG:10583: - MINOR: tools: add a clear_addr() function to unset an address haproxy-2.3.1/CHANGELOG-10584- - BUG/MEDIUM: tcp: transparent bind to the source only when address is set ############################################## haproxy-2.3.1/Makefile-447-# OK git is there and works. haproxy-2.3.1/Makefile:448:SUBVERS := $(shell comms=`git log --format=oneline --no-merges v$(VERSION).. 2>/dev/null | wc -l | tr -d '[:space:]'`; commit=`(git log -1 --pretty=%h --abbrev=6) 2>/dev/null`; [ $$comms -gt 0 ] && echo "-$$commit-$$comms") haproxy-2.3.1/Makefile-449-VERDATE := $(shell git log -1 --pretty=format:%ci | cut -f1 -d' ' | tr '-' '/') ############################################## haproxy-2.3.1/contrib/ip6range/ip6range.c-37-/* returns a string version of an IPv6 address in host order */ haproxy-2.3.1/contrib/ip6range/ip6range.c:38:static const char *get_ipv6_addr(struct in6_addr *addr) haproxy-2.3.1/contrib/ip6range/ip6range.c-39-{ ############################################## haproxy-2.3.1/contrib/ip6range/ip6range.c-47- haproxy-2.3.1/contrib/ip6range/ip6range.c:48:static const char *get_addr(struct in6_addr *addr) haproxy-2.3.1/contrib/ip6range/ip6range.c-49-{ ############################################## haproxy-2.3.1/contrib/ip6range/ip6range.c-247- /* single value */ haproxy-2.3.1/contrib/ip6range/ip6range.c:248: printf("%s%s%s%s\n", pfx?pfx:"", pfx?" ":"", get_ipv6_addr(low), eol); haproxy-2.3.1/contrib/ip6range/ip6range.c-249- return; ############################################## haproxy-2.3.1/contrib/ip6range/ip6range.c-269- /* can't aggregate anymore, dump and retry from the same bit */ haproxy-2.3.1/contrib/ip6range/ip6range.c:270: printf("%s%s%s/%d%s\n", pfx?pfx:"", pfx?" ":"", get_ipv6_addr(low), 128-bit, eol); haproxy-2.3.1/contrib/ip6range/ip6range.c-271- a_plus_b(low, one_ls_b(bit, &r0), low); ############################################## haproxy-2.3.1/contrib/ip6range/ip6range.c-287- //printf("max: %08x/%d\n", low, 32-bit); haproxy-2.3.1/contrib/ip6range/ip6range.c:288: printf("%s%s%s/%d%s\n", pfx?pfx:"", pfx?" ":"", get_ipv6_addr(low), 128-bit, eol); haproxy-2.3.1/contrib/ip6range/ip6range.c-289- a_plus_b(low, one_ls_b(bit, &r0), low); ############################################## haproxy-2.3.1/contrib/iprange/iprange.c-29-/* returns a string version of an IPv4 address in host order */ haproxy-2.3.1/contrib/iprange/iprange.c:30:static const char *get_ipv4_addr(unsigned int addr) haproxy-2.3.1/contrib/iprange/iprange.c-31-{ ############################################## haproxy-2.3.1/contrib/iprange/iprange.c-46- /* single value */ haproxy-2.3.1/contrib/iprange/iprange.c:47: printf("%s%s%s%s\n", pfx?pfx:"", pfx?" ":"", get_ipv4_addr(low), eol); haproxy-2.3.1/contrib/iprange/iprange.c-48- return; ############################################## haproxy-2.3.1/contrib/iprange/iprange.c-67- /* can't aggregate anymore, dump and retry from the same bit */ haproxy-2.3.1/contrib/iprange/iprange.c:68: printf("%s%s%s/%d%s\n", pfx?pfx:"", pfx?" ":"", get_ipv4_addr(low), 32-bit, eol); haproxy-2.3.1/contrib/iprange/iprange.c-69- low += (1 << bit); ############################################## haproxy-2.3.1/contrib/iprange/iprange.c-84- //printf("max: %08x/%d\n", low, 32-bit); haproxy-2.3.1/contrib/iprange/iprange.c:85: printf("%s%s%s/%d%s\n", pfx?pfx:"", pfx?" ":"", get_ipv4_addr(low), 32-bit, eol); haproxy-2.3.1/contrib/iprange/iprange.c-86- low += (1 << bit); ############################################## haproxy-2.3.1/doc/design-thoughts/binding-possibilities.txt-27- haproxy-2.3.1/doc/design-thoughts/binding-possibilities.txt:28: - the "to" address:port is set if conn_get_to_addr() is called haproxy-2.3.1/doc/design-thoughts/binding-possibilities.txt-29- ############################################## haproxy-2.3.1/doc/lua-api/index.rst-775- haproxy-2.3.1/doc/lua-api/index.rst:776:.. js:function:: core.parse_addr(address) haproxy-2.3.1/doc/lua-api/index.rst-777- ############################################## haproxy-2.3.1/doc/lua-api/index.rst-785- haproxy-2.3.1/doc/lua-api/index.rst:786:.. js:function:: core.match_addr(addr1, addr2) haproxy-2.3.1/doc/lua-api/index.rst-787- ############################################## haproxy-2.3.1/doc/lua-api/index.rst-978- haproxy-2.3.1/doc/lua-api/index.rst:979:.. js:function:: Server.set_addr(sv, addr[, port]) haproxy-2.3.1/doc/lua-api/index.rst-980- ############################################## haproxy-2.3.1/doc/lua-api/index.rst-987- haproxy-2.3.1/doc/lua-api/index.rst:988:.. js:function:: Server.get_addr(sv) haproxy-2.3.1/doc/lua-api/index.rst-989- ############################################## haproxy-2.3.1/examples/haproxy.init-28-# This is our service name haproxy-2.3.1/examples/haproxy.init:29:BASENAME=`basename $0` haproxy-2.3.1/examples/haproxy.init-30-if [ -L $0 ]; then haproxy-2.3.1/examples/haproxy.init:31: BASENAME=`find $0 -name $BASENAME -printf %l` haproxy-2.3.1/examples/haproxy.init:32: BASENAME=`basename $BASENAME` haproxy-2.3.1/examples/haproxy.init-33-fi ############################################## haproxy-2.3.1/include/haproxy/atomic.h-343-{ haproxy-2.3.1/include/haproxy/atomic.h:344: __asm __volatile("lfence" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-345-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-349-{ haproxy-2.3.1/include/haproxy/atomic.h:350: __asm __volatile("sfence" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-351-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-355-{ haproxy-2.3.1/include/haproxy/atomic.h:356: __asm __volatile("mfence" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-357-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-364-{ haproxy-2.3.1/include/haproxy/atomic.h:365: __asm __volatile("" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-366-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-370-{ haproxy-2.3.1/include/haproxy/atomic.h:371: __asm __volatile("" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-372-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-376-{ haproxy-2.3.1/include/haproxy/atomic.h:377: __asm __volatile("" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-378-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-384- haproxy-2.3.1/include/haproxy/atomic.h:385: __asm __volatile("lock cmpxchg16b %0; setz %3" haproxy-2.3.1/include/haproxy/atomic.h-386- : "+m" (*(void **)target), ############################################## haproxy-2.3.1/include/haproxy/atomic.h-402-{ haproxy-2.3.1/include/haproxy/atomic.h:403: __asm __volatile("dmb" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-404-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-408-{ haproxy-2.3.1/include/haproxy/atomic.h:409: __asm __volatile("dsb" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-410-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-414-{ haproxy-2.3.1/include/haproxy/atomic.h:415: __asm __volatile("dmb" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-416-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-423-{ haproxy-2.3.1/include/haproxy/atomic.h:424: __asm __volatile("dmb" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-425-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-429-{ haproxy-2.3.1/include/haproxy/atomic.h:430: __asm __volatile("dsb" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-431-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-435-{ haproxy-2.3.1/include/haproxy/atomic.h:436: __asm __volatile("dmb" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-437-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-443- haproxy-2.3.1/include/haproxy/atomic.h:444: __asm __volatile("1:" haproxy-2.3.1/include/haproxy/atomic.h-445- "ldrexd %0, [%4];" ############################################## haproxy-2.3.1/include/haproxy/atomic.h-464-{ haproxy-2.3.1/include/haproxy/atomic.h:465: __asm __volatile("dmb ishld" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-466-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-470-{ haproxy-2.3.1/include/haproxy/atomic.h:471: __asm __volatile("dmb ishst" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-472-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-476-{ haproxy-2.3.1/include/haproxy/atomic.h:477: __asm __volatile("dmb ish" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-478-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-485-{ haproxy-2.3.1/include/haproxy/atomic.h:486: __asm __volatile("dmb ishld" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-487-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-491-{ haproxy-2.3.1/include/haproxy/atomic.h:492: __asm __volatile("dmb ishst" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-493-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-497-{ haproxy-2.3.1/include/haproxy/atomic.h:498: __asm __volatile("dmb ish" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-499-} ############################################## haproxy-2.3.1/include/haproxy/atomic.h-540-{ haproxy-2.3.1/include/haproxy/atomic.h:541: __asm __volatile("" ::: "memory"); haproxy-2.3.1/include/haproxy/atomic.h-542-} ############################################## haproxy-2.3.1/include/haproxy/htx.h-138-/* Converts a position to the corresponding relative address */ haproxy-2.3.1/include/haproxy/htx.h:139:static inline uint32_t htx_pos_to_addr(const struct htx *htx, uint32_t pos) haproxy-2.3.1/include/haproxy/htx.h-140-{ ############################################## haproxy-2.3.1/include/haproxy/htx.h-154-{ haproxy-2.3.1/include/haproxy/htx.h:155: return (struct htx_blk *)(htx->blocks + htx_pos_to_addr(htx, pos)); haproxy-2.3.1/include/haproxy/htx.h-156-} ############################################## haproxy-2.3.1/include/haproxy/server.h-46-int parse_server(const char *file, int linenum, char **args, struct proxy *curproxy, struct proxy *defproxy, int parse_addr, int in_peers_section, int initial_resolve); haproxy-2.3.1/include/haproxy/server.h:47:int update_server_addr(struct server *s, void *ip, int ip_sin_family, const char *updater); haproxy-2.3.1/include/haproxy/server.h-48-const char *update_server_addr_port(struct server *s, const char *addr, const char *port, char *updater); ############################################## haproxy-2.3.1/include/haproxy/server.h-54-int srv_set_addr_via_libc(struct server *srv, int *err_code); haproxy-2.3.1/include/haproxy/server.h:55:int srv_init_addr(void); haproxy-2.3.1/include/haproxy/server.h-56-struct server *cli_find_server(struct appctx *appctx, char *arg); ############################################## haproxy-2.3.1/include/haproxy/server.h-214-/* appends an initaddr method to the existing list. Returns 0 on failure. */ haproxy-2.3.1/include/haproxy/server.h:215:static inline int srv_append_initaddr(unsigned int *list, enum srv_initaddr addr) haproxy-2.3.1/include/haproxy/server.h-216-{ ############################################## haproxy-2.3.1/include/haproxy/server.h-232- */ haproxy-2.3.1/include/haproxy/server.h:233:static inline enum srv_initaddr srv_get_next_initaddr(unsigned int *list) haproxy-2.3.1/include/haproxy/server.h-234-{ ############################################## haproxy-2.3.1/include/haproxy/shctx.h-78-{ haproxy-2.3.1/include/haproxy/shctx.h:79: __asm volatile("rep;nop\n" ::: "memory"); haproxy-2.3.1/include/haproxy/shctx.h-80-} haproxy-2.3.1/include/haproxy/shctx.h:81:#else /* if no x86_64 or i586 arch: use less optimized but generic asm */ haproxy-2.3.1/include/haproxy/shctx.h-82-static inline void relax() haproxy-2.3.1/include/haproxy/shctx.h-83-{ haproxy-2.3.1/include/haproxy/shctx.h:84: __asm volatile("" ::: "memory"); haproxy-2.3.1/include/haproxy/shctx.h-85-} ############################################## haproxy-2.3.1/include/haproxy/shctx.h-107-{ haproxy-2.3.1/include/haproxy/shctx.h:108: __asm volatile("lock xchgl %0,%1" haproxy-2.3.1/include/haproxy/shctx.h-109- : "=r" (x), "+m" (*ptr) ############################################## haproxy-2.3.1/include/haproxy/shctx.h-118- haproxy-2.3.1/include/haproxy/shctx.h:119: __asm volatile("lock cmpxchgl %2,%1" haproxy-2.3.1/include/haproxy/shctx.h-120- : "=a" (ret), "+m" (*ptr) ############################################## haproxy-2.3.1/include/haproxy/shctx.h-128- unsigned char ret; haproxy-2.3.1/include/haproxy/shctx.h:129: __asm volatile("lock decl %0\n" haproxy-2.3.1/include/haproxy/shctx.h-130- "setne %1\n" ############################################## haproxy-2.3.1/include/haproxy/tools.h-598- haproxy-2.3.1/include/haproxy/tools.h:599:/* sets the address family to AF_UNSPEC so that is_addr() does not match */ haproxy-2.3.1/include/haproxy/tools.h:600:static inline void clear_addr(struct sockaddr_storage *addr) haproxy-2.3.1/include/haproxy/tools.h-601-{ ############################################## haproxy-2.3.1/include/haproxy/tools.h-607- */ haproxy-2.3.1/include/haproxy/tools.h:608:static inline int is_inet_addr(const struct sockaddr_storage *addr) haproxy-2.3.1/include/haproxy/tools.h-609-{ ############################################## haproxy-2.3.1/include/haproxy/tools.h-625- */ haproxy-2.3.1/include/haproxy/tools.h:626:static inline int is_addr(const struct sockaddr_storage *addr) haproxy-2.3.1/include/haproxy/tools.h-627-{ ############################################## haproxy-2.3.1/include/haproxy/tools.h-630- else haproxy-2.3.1/include/haproxy/tools.h:631: return is_inet_addr(addr); haproxy-2.3.1/include/haproxy/tools.h-632-} ############################################## haproxy-2.3.1/include/haproxy/tools.h-952- unsigned int a, d; haproxy-2.3.1/include/haproxy/tools.h:953: asm volatile("rdtsc" : "=a" (a), "=d" (d)); haproxy-2.3.1/include/haproxy/tools.h-954- return a + ((unsigned long long)d << 32); ############################################## haproxy-2.3.1/include/import/atomic-ops.h-6-#define pl_barrier() do { \ haproxy-2.3.1/include/import/atomic-ops.h:7: asm volatile("" ::: "memory"); \ haproxy-2.3.1/include/import/atomic-ops.h-8- } while (0) ############################################## haproxy-2.3.1/include/import/atomic-ops.h-17-#define pl_mb() do { \ haproxy-2.3.1/include/import/atomic-ops.h:18: asm volatile("mfence" ::: "memory"); \ haproxy-2.3.1/include/import/atomic-ops.h-19- } while (0) ############################################## haproxy-2.3.1/include/import/atomic-ops.h-23-#define pl_mb() do { \ haproxy-2.3.1/include/import/atomic-ops.h:24: asm volatile("lock addl $0,0 (%%rsp)" ::: "memory", "cc"); \ haproxy-2.3.1/include/import/atomic-ops.h-25- } while (0) ############################################## haproxy-2.3.1/include/import/atomic-ops.h-29-#define pl_mb() do { \ haproxy-2.3.1/include/import/atomic-ops.h:30: asm volatile("lock addl $0,0 (%%esp)" ::: "memory", "cc"); \ haproxy-2.3.1/include/import/atomic-ops.h-31- } while (0) ############################################## haproxy-2.3.1/include/import/atomic-ops.h-39-#define pl_cpu_relax() do { \ haproxy-2.3.1/include/import/atomic-ops.h:40: asm volatile("rep;nop\n"); \ haproxy-2.3.1/include/import/atomic-ops.h-41- } while (0) ############################################## haproxy-2.3.1/include/import/atomic-ops.h-48- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:49: asm volatile("lock incq %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-50- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-56- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:57: asm volatile("lock incl %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-58- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-64- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:65: asm volatile("lock incw %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-66- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-72- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:73: asm volatile("lock incb %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-74- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-93- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:94: asm volatile("lock decq %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-95- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-101- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:102: asm volatile("lock decl %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-103- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-109- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:110: asm volatile("lock decw %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-111- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-117- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:118: asm volatile("lock decb %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-119- "setne %1\n" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-135- if (sizeof(long) == 8 && sizeof(*(ptr)) == 8) { \ haproxy-2.3.1/include/import/atomic-ops.h:136: asm volatile("lock incq %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-137- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-140- } else if (sizeof(*(ptr)) == 4) { \ haproxy-2.3.1/include/import/atomic-ops.h:141: asm volatile("lock incl %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-142- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-145- } else if (sizeof(*(ptr)) == 2) { \ haproxy-2.3.1/include/import/atomic-ops.h:146: asm volatile("lock incw %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-147- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-150- } else if (sizeof(*(ptr)) == 1) { \ haproxy-2.3.1/include/import/atomic-ops.h:151: asm volatile("lock incb %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-152- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-165- if (sizeof(long) == 8 && sizeof(*(ptr)) == 8) { \ haproxy-2.3.1/include/import/atomic-ops.h:166: asm volatile("lock decq %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-167- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-170- } else if (sizeof(*(ptr)) == 4) { \ haproxy-2.3.1/include/import/atomic-ops.h:171: asm volatile("lock decl %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-172- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-175- } else if (sizeof(*(ptr)) == 2) { \ haproxy-2.3.1/include/import/atomic-ops.h:176: asm volatile("lock decw %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-177- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-180- } else if (sizeof(*(ptr)) == 1) { \ haproxy-2.3.1/include/import/atomic-ops.h:181: asm volatile("lock decb %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-182- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-197- if (sizeof(long) == 8 && sizeof(*(ptr)) == 8) { \ haproxy-2.3.1/include/import/atomic-ops.h:198: asm volatile("lock addq %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-199- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-202- } else if (sizeof(*(ptr)) == 4) { \ haproxy-2.3.1/include/import/atomic-ops.h:203: asm volatile("lock addl %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-204- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-207- } else if (sizeof(*(ptr)) == 2) { \ haproxy-2.3.1/include/import/atomic-ops.h:208: asm volatile("lock addw %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-209- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-212- } else if (sizeof(*(ptr)) == 1) { \ haproxy-2.3.1/include/import/atomic-ops.h:213: asm volatile("lock addb %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-214- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-229- if (sizeof(long) == 8 && sizeof(*(ptr)) == 8) { \ haproxy-2.3.1/include/import/atomic-ops.h:230: asm volatile("lock subq %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-231- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-234- } else if (sizeof(*(ptr)) == 4) { \ haproxy-2.3.1/include/import/atomic-ops.h:235: asm volatile("lock subl %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-236- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-239- } else if (sizeof(*(ptr)) == 2) { \ haproxy-2.3.1/include/import/atomic-ops.h:240: asm volatile("lock subw %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-241- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-244- } else if (sizeof(*(ptr)) == 1) { \ haproxy-2.3.1/include/import/atomic-ops.h:245: asm volatile("lock subb %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-246- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-261- if (sizeof(long) == 8 && sizeof(*(ptr)) == 8) { \ haproxy-2.3.1/include/import/atomic-ops.h:262: asm volatile("lock andq %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-263- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-266- } else if (sizeof(*(ptr)) == 4) { \ haproxy-2.3.1/include/import/atomic-ops.h:267: asm volatile("lock andl %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-268- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-271- } else if (sizeof(*(ptr)) == 2) { \ haproxy-2.3.1/include/import/atomic-ops.h:272: asm volatile("lock andw %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-273- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-276- } else if (sizeof(*(ptr)) == 1) { \ haproxy-2.3.1/include/import/atomic-ops.h:277: asm volatile("lock andb %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-278- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-293- if (sizeof(long) == 8 && sizeof(*(ptr)) == 8) { \ haproxy-2.3.1/include/import/atomic-ops.h:294: asm volatile("lock orq %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-295- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-298- } else if (sizeof(*(ptr)) == 4) { \ haproxy-2.3.1/include/import/atomic-ops.h:299: asm volatile("lock orl %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-300- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-303- } else if (sizeof(*(ptr)) == 2) { \ haproxy-2.3.1/include/import/atomic-ops.h:304: asm volatile("lock orw %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-305- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-308- } else if (sizeof(*(ptr)) == 1) { \ haproxy-2.3.1/include/import/atomic-ops.h:309: asm volatile("lock orb %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-310- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-325- if (sizeof(long) == 8 && sizeof(*(ptr)) == 8) { \ haproxy-2.3.1/include/import/atomic-ops.h:326: asm volatile("lock xorq %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-327- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-330- } else if (sizeof(*(ptr)) == 4) { \ haproxy-2.3.1/include/import/atomic-ops.h:331: asm volatile("lock xorl %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-332- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-335- } else if (sizeof(*(ptr)) == 2) { \ haproxy-2.3.1/include/import/atomic-ops.h:336: asm volatile("lock xorw %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-337- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-340- } else if (sizeof(*(ptr)) == 1) { \ haproxy-2.3.1/include/import/atomic-ops.h:341: asm volatile("lock xorb %1, %0\n" \ haproxy-2.3.1/include/import/atomic-ops.h-342- : "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-359- unsigned long ret; \ haproxy-2.3.1/include/import/atomic-ops.h:360: asm volatile("lock btsq %2, %0\n\t" \ haproxy-2.3.1/include/import/atomic-ops.h-361- "sbb %1, %1\n\t" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-367- unsigned int ret; \ haproxy-2.3.1/include/import/atomic-ops.h:368: asm volatile("lock btsl %2, %0\n\t" \ haproxy-2.3.1/include/import/atomic-ops.h-369- "sbb %1, %1\n\t" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-375- unsigned short ret; \ haproxy-2.3.1/include/import/atomic-ops.h:376: asm volatile("lock btsw %2, %0\n\t" \ haproxy-2.3.1/include/import/atomic-ops.h-377- "sbb %1, %1\n\t" \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-391-/* Note: for an unclear reason, gcc's __sync_fetch_and_add() implementation haproxy-2.3.1/include/import/atomic-ops.h:392: * produces less optimal than hand-crafted asm code so let's implement here the haproxy-2.3.1/include/import/atomic-ops.h-393- * operations we need for the most common archs. ############################################## haproxy-2.3.1/include/import/atomic-ops.h-401- unsigned long ret = (unsigned long)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:402: asm volatile("lock xaddq %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-403- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-408- unsigned int ret = (unsigned int)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:409: asm volatile("lock xaddl %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-410- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-415- unsigned short ret = (unsigned short)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:416: asm volatile("lock xaddw %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-417- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-422- unsigned char ret = (unsigned char)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:423: asm volatile("lock xaddb %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-424- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-442- unsigned long ret = (unsigned long)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:443: asm volatile("xchgq %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-444- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-449- unsigned int ret = (unsigned int)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:450: asm volatile("xchgl %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-451- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-456- unsigned short ret = (unsigned short)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:457: asm volatile("xchgw %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-458- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-463- unsigned char ret = (unsigned char)(x); \ haproxy-2.3.1/include/import/atomic-ops.h:464: asm volatile("xchgb %0, %1\n" \ haproxy-2.3.1/include/import/atomic-ops.h-465- : "=r" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-484- unsigned long ret; \ haproxy-2.3.1/include/import/atomic-ops.h:485: asm volatile("lock cmpxchgq %2,%1" \ haproxy-2.3.1/include/import/atomic-ops.h-486- : "=a" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-492- unsigned int ret; \ haproxy-2.3.1/include/import/atomic-ops.h:493: asm volatile("lock cmpxchgl %2,%1" \ haproxy-2.3.1/include/import/atomic-ops.h-494- : "=a" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-500- unsigned short ret; \ haproxy-2.3.1/include/import/atomic-ops.h:501: asm volatile("lock cmpxchgw %2,%1" \ haproxy-2.3.1/include/import/atomic-ops.h-502- : "=a" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-508- unsigned char ret; \ haproxy-2.3.1/include/import/atomic-ops.h:509: asm volatile("lock cmpxchgb %2,%1" \ haproxy-2.3.1/include/import/atomic-ops.h-510- : "=a" (ret), "+m" (*(ptr)) \ ############################################## haproxy-2.3.1/include/import/atomic-ops.h-527-#define pl_cpu_relax() do { \ haproxy-2.3.1/include/import/atomic-ops.h:528: asm volatile(""); \ haproxy-2.3.1/include/import/atomic-ops.h-529- } while (0) ############################################## haproxy-2.3.1/reg-tests/checks/tcp-checks-socks4.vtc-52- ## port(2) : ${s1_port} haproxy-2.3.1/reg-tests/checks/tcp-checks-socks4.vtc:53: ## addr(4) : ${s1_addr} haproxy-2.3.1/reg-tests/checks/tcp-checks-socks4.vtc-54- ## user-id : "HAProxy\0" ############################################## haproxy-2.3.1/src/backend.c-795- haproxy-2.3.1/src/backend.c:796: if (conn && conn->dst && is_addr(conn->dst)) { haproxy-2.3.1/src/backend.c-797- /* in proxy mode, we need a valid destination address */ ############################################## haproxy-2.3.1/src/backend.c-858- haproxy-2.3.1/src/backend.c:859: if (!is_addr(s->target_addr) && cli_conn) { haproxy-2.3.1/src/backend.c-860- /* if the server has no address, we use the same address ############################################## haproxy-2.3.1/src/calltrace.c-251- */ haproxy-2.3.1/src/calltrace.c:252: asm volatile("mov %%rbx, %0" : "=r"(ret)); haproxy-2.3.1/src/calltrace.c-253-#endif ############################################## haproxy-2.3.1/src/check.c-1242- */ haproxy-2.3.1/src/check.c:1243: if (!srv->check.port && !is_addr(&srv->check.addr)) { haproxy-2.3.1/src/check.c-1244- if (!srv->check.use_ssl && srv->use_ssl != -1) { ############################################## haproxy-2.3.1/src/check.c-1278- if ((srv_check_healthcheck_port(&srv->check) != 0) || haproxy-2.3.1/src/check.c:1279: (!is_inet_addr(&srv->check.addr) && (is_addr(&srv->check.addr) || !is_inet_addr(&srv->addr)))) haproxy-2.3.1/src/check.c-1280- goto init; ############################################## haproxy-2.3.1/src/check.c-2643-/* Parse the "addr" server keyword */ haproxy-2.3.1/src/check.c:2644:static int srv_parse_addr(char **args, int *cur_arg, struct proxy *curpx, struct server *srv, haproxy-2.3.1/src/check.c-2645- char **errmsg) ############################################## haproxy-2.3.1/src/check.c-2676-/* Parse the "agent-addr" server keyword */ haproxy-2.3.1/src/check.c:2677:static int srv_parse_agent_addr(char **args, int *cur_arg, struct proxy *curpx, struct server *srv, haproxy-2.3.1/src/check.c-2678- char **errmsg) ############################################## haproxy-2.3.1/src/connection.c-1063- req_line.port = get_net_port(conn->dst); haproxy-2.3.1/src/connection.c:1064: req_line.ip = is_inet_addr(conn->dst); haproxy-2.3.1/src/connection.c-1065- memcpy(req_line.user_id, "HAProxy\0", 8); ############################################## haproxy-2.3.1/src/dns.c-685- case DNS_RTYPE_A: haproxy-2.3.1/src/dns.c:686: update_server_addr(srv, &(((struct sockaddr_in*)&item->ar_item->address)->sin_addr), AF_INET, "DNS additional record"); haproxy-2.3.1/src/dns.c-687- break; haproxy-2.3.1/src/dns.c-688- case DNS_RTYPE_AAAA: haproxy-2.3.1/src/dns.c:689: update_server_addr(srv, &(((struct sockaddr_in6*)&item->ar_item->address)->sin6_addr), AF_INET6, "DNS additional record"); haproxy-2.3.1/src/dns.c-690- break; ############################################## haproxy-2.3.1/src/haproxy.c-2012- /* Apply servers' configured address */ haproxy-2.3.1/src/haproxy.c:2013: err_code |= srv_init_addr(); haproxy-2.3.1/src/haproxy.c-2014- if (err_code & (ERR_ABORT|ERR_FATAL)) { ############################################## haproxy-2.3.1/src/hlua_fcn.c-933- haproxy-2.3.1/src/hlua_fcn.c:934:int hlua_server_get_addr(lua_State *L) haproxy-2.3.1/src/hlua_fcn.c-935-{ ############################################## haproxy-2.3.1/src/hlua_fcn.c-1037- haproxy-2.3.1/src/hlua_fcn.c:1038:int hlua_server_set_addr(lua_State *L) haproxy-2.3.1/src/hlua_fcn.c-1039-{ ############################################## haproxy-2.3.1/src/hlua_fcn.c-1476- haproxy-2.3.1/src/hlua_fcn.c:1477:int hlua_parse_addr(lua_State *L) haproxy-2.3.1/src/hlua_fcn.c-1478-{ ############################################## haproxy-2.3.1/src/hlua_fcn.c-1504- haproxy-2.3.1/src/hlua_fcn.c:1505:int hlua_match_addr(lua_State *L) haproxy-2.3.1/src/hlua_fcn.c-1506-{ ############################################## haproxy-2.3.1/src/htx.c-139- tail = htx->tail + 1; haproxy-2.3.1/src/htx.c:140: if (htx_pos_to_addr(htx, tail) >= htx->tail_addr) haproxy-2.3.1/src/htx.c-141- ; ############################################## haproxy-2.3.1/src/htx.c-144- tail = htx->tail + 1; haproxy-2.3.1/src/htx.c:145: BUG_ON(htx_pos_to_addr(htx, tail) < htx->tail_addr); haproxy-2.3.1/src/htx.c-146- } ############################################## haproxy-2.3.1/src/htx.c-159- headroom = (htx->end_addr - htx->head_addr); haproxy-2.3.1/src/htx.c:160: tailroom = (!htx->head_addr ? htx_pos_to_addr(htx, tail) - htx->tail_addr : 0); haproxy-2.3.1/src/htx.c-161- BUG_ON((int32_t)headroom < 0); ############################################## haproxy-2.3.1/src/htx.c-223- headroom = (htx->end_addr - htx->head_addr); haproxy-2.3.1/src/htx.c:224: tailroom = (htx_pos_to_addr(htx, htx->tail) - htx->tail_addr); haproxy-2.3.1/src/htx.c-225- BUG_ON((int32_t)headroom < 0); ############################################## haproxy-2.3.1/src/htx.c-513- headroom = (htx->end_addr - htx->head_addr); haproxy-2.3.1/src/htx.c:514: tailroom = (htx_pos_to_addr(htx, htx->tail) - htx->tail_addr); haproxy-2.3.1/src/htx.c-515- BUG_ON((int32_t)headroom < 0); ############################################## haproxy-2.3.1/src/htx.c-973- goto add_new_block; haproxy-2.3.1/src/htx.c:974: room = (htx_pos_to_addr(htx, htx->tail) - htx->tail_addr); haproxy-2.3.1/src/htx.c-975- } ############################################## haproxy-2.3.1/src/proto_tcp.c-182- if (foreign_ok) { haproxy-2.3.1/src/proto_tcp.c:183: if (is_inet_addr(&bind_addr)) { haproxy-2.3.1/src/proto_tcp.c-184- ret = bind(fd, (struct sockaddr *)&bind_addr, get_addr_len(&bind_addr)); ############################################## haproxy-2.3.1/src/proto_tcp.c-189- else { haproxy-2.3.1/src/proto_tcp.c:190: if (is_inet_addr(local)) { haproxy-2.3.1/src/proto_tcp.c-191- ret = bind(fd, (struct sockaddr *)local, get_addr_len(local)); ############################################## haproxy-2.3.1/src/proto_tcp.c-369- haproxy-2.3.1/src/proto_tcp.c:370: if (conn->src && is_inet_addr(conn->src)) { haproxy-2.3.1/src/proto_tcp.c-371- switch (src->opts & CO_SRC_TPROXY_MASK) { ############################################## haproxy-2.3.1/src/sample.c-579- haproxy-2.3.1/src/sample.c:580:static int c_str2addr(struct sample *smp) haproxy-2.3.1/src/sample.c-581-{ ############################################## haproxy-2.3.1/src/server.c-50-static void srv_update_state(struct server *srv, int version, char **params); haproxy-2.3.1/src/server.c:51:static int srv_apply_lastaddr(struct server *srv, int *err_code); haproxy-2.3.1/src/server.c-52-static int srv_set_fqdn(struct server *srv, const char *fqdn, int dns_locked); ############################################## haproxy-2.3.1/src/server.c-1344- if (inet_pton(AF_INET6, addr_str, ip)) { haproxy-2.3.1/src/server.c:1345: update_server_addr(sv, ip, AF_INET6, updater); haproxy-2.3.1/src/server.c-1346- return NULL; ############################################## haproxy-2.3.1/src/server.c-1348- if (inet_pton(AF_INET, addr_str, ip)) { haproxy-2.3.1/src/server.c:1349: update_server_addr(sv, ip, AF_INET, updater); haproxy-2.3.1/src/server.c-1350- return NULL; ############################################## haproxy-2.3.1/src/server.c-2088- if (!strcmp(p, "libc")) { haproxy-2.3.1/src/server.c:2089: done = srv_append_initaddr(&newsrv->init_addr_methods, SRV_IADDR_LIBC); haproxy-2.3.1/src/server.c-2090- } haproxy-2.3.1/src/server.c-2091- else if (!strcmp(p, "last")) { haproxy-2.3.1/src/server.c:2092: done = srv_append_initaddr(&newsrv->init_addr_methods, SRV_IADDR_LAST); haproxy-2.3.1/src/server.c-2093- } haproxy-2.3.1/src/server.c-2094- else if (!strcmp(p, "none")) { haproxy-2.3.1/src/server.c:2095: done = srv_append_initaddr(&newsrv->init_addr_methods, SRV_IADDR_NONE); haproxy-2.3.1/src/server.c-2096- } haproxy-2.3.1/src/server.c-2097- else if (str2ip2(p, &sa, 0)) { haproxy-2.3.1/src/server.c:2098: if (is_addr(&newsrv->init_addr)) { haproxy-2.3.1/src/server.c-2099- ha_alert("parsing [%s:%d]: '%s' : initial address already specified, cannot add '%s'.\n", ############################################## haproxy-2.3.1/src/server.c-2104- newsrv->init_addr = sa; haproxy-2.3.1/src/server.c:2105: done = srv_append_initaddr(&newsrv->init_addr_methods, SRV_IADDR_IP); haproxy-2.3.1/src/server.c-2106- } ############################################## haproxy-2.3.1/src/server.c-3432- */ haproxy-2.3.1/src/server.c:3433:int update_server_addr(struct server *s, void *ip, int ip_sin_family, const char *updater) haproxy-2.3.1/src/server.c-3434-{ ############################################## haproxy-2.3.1/src/server.c-3880- chunk_printf(chk, "DNS cache"); haproxy-2.3.1/src/server.c:3881: update_server_addr(s, firstip, firstip_sin_family, (char *) chk->area); haproxy-2.3.1/src/server.c-3882- ############################################## haproxy-2.3.1/src/server.c-4062- */ haproxy-2.3.1/src/server.c:4063:static int srv_apply_lastaddr(struct server *srv, int *err_code) haproxy-2.3.1/src/server.c-4064-{ ############################################## haproxy-2.3.1/src/server.c-4073-/* returns 0 if no error, otherwise a combination of ERR_* flags */ haproxy-2.3.1/src/server.c:4074:static int srv_iterate_initaddr(struct server *srv) haproxy-2.3.1/src/server.c-4075-{ ############################################## haproxy-2.3.1/src/server.c-4087- /* otherwise default to "last,libc" */ haproxy-2.3.1/src/server.c:4088: srv_append_initaddr(&methods, SRV_IADDR_LAST); haproxy-2.3.1/src/server.c:4089: srv_append_initaddr(&methods, SRV_IADDR_LIBC); haproxy-2.3.1/src/server.c-4090- if (srv->resolvers_id) { haproxy-2.3.1/src/server.c-4091- /* dns resolution is configured, add "none" to not fail on startup */ haproxy-2.3.1/src/server.c:4092: srv_append_initaddr(&methods, SRV_IADDR_NONE); haproxy-2.3.1/src/server.c-4093- } ############################################## haproxy-2.3.1/src/server.c-4100- if (global.tune.options & GTUNE_RESOLVE_DONTFAIL) haproxy-2.3.1/src/server.c:4101: srv_append_initaddr(&methods, SRV_IADDR_NONE); haproxy-2.3.1/src/server.c-4102- ############################################## haproxy-2.3.1/src/server.c-4104- err_code = 0; haproxy-2.3.1/src/server.c:4105: switch (srv_get_next_initaddr(&methods)) { haproxy-2.3.1/src/server.c-4106- case SRV_IADDR_LAST: ############################################## haproxy-2.3.1/src/server.c-4108- continue; haproxy-2.3.1/src/server.c:4109: if (srv_apply_lastaddr(srv, &err_code) == 0) haproxy-2.3.1/src/server.c-4110- goto out; ############################################## haproxy-2.3.1/src/server.c-4166- */ haproxy-2.3.1/src/server.c:4167:int srv_init_addr(void) haproxy-2.3.1/src/server.c-4168-{ ############################################## haproxy-2.3.1/src/server.c-4181- if (srv->hostname || srv->srvrq) haproxy-2.3.1/src/server.c:4182: return_code |= srv_iterate_initaddr(srv); haproxy-2.3.1/src/server.c-4183- ############################################## haproxy-2.3.1/src/sha1.c-105- * Ben Herrenschmidt reports that on PPC, the C version comes close haproxy-2.3.1/src/sha1.c:106: * to the optimized asm with this (ie on PPC you don't want that haproxy-2.3.1/src/sha1.c-107- * 'volatile', since there are lots of registers). ############################################## haproxy-2.3.1/src/tcpcheck.c-1036- /* connect to the connect rule addr if specified, otherwise the check haproxy-2.3.1/src/tcpcheck.c:1037: * addr if specified on the server. otherwise, use the server addr (it haproxy-2.3.1/src/tcpcheck.c-1038- * MUST exist at this step). haproxy-2.3.1/src/tcpcheck.c-1039- */ haproxy-2.3.1/src/tcpcheck.c:1040: *conn->dst = (is_addr(&connect->addr) haproxy-2.3.1/src/tcpcheck.c-1041- ? connect->addr haproxy-2.3.1/src/tcpcheck.c:1042: : (is_addr(&check->addr) ? check->addr : s->addr)); haproxy-2.3.1/src/tcpcheck.c-1043- proto = protocol_by_family(conn->dst->ss_family); ############################################## haproxy-2.3.1/src/tcpcheck.c-1056- } haproxy-2.3.1/src/tcpcheck.c:1057: if (!port && is_inet_addr(&connect->addr)) haproxy-2.3.1/src/tcpcheck.c-1058- port = get_host_port(&connect->addr); ############################################## haproxy-2.3.1/src/tcpcheck.c-1060- port = check->port; haproxy-2.3.1/src/tcpcheck.c:1061: if (!port && is_inet_addr(&check->addr)) haproxy-2.3.1/src/tcpcheck.c-1062- port = get_host_port(&check->addr); ############################################## haproxy-2.3.1/src/tools.c-1678- haproxy-2.3.1/src/tools.c:1679: if (!is_inet_addr(orig)) haproxy-2.3.1/src/tools.c-1680- return 1; ############################################## haproxy-2.3.1/src/tools.c-4540-#if (defined(__ELF__) && !defined(__linux__)) || defined(USE_DL) haproxy-2.3.1/src/tools.c:4541:/* calls dladdr() or dladdr1() on <addr> and <dli>. If dladdr1 is available, haproxy-2.3.1/src/tools.c-4542- * also returns the symbol size in <size>, otherwise returns 0 there. ############################################## haproxy-2.3.1/src/tools.c-4553-#else haproxy-2.3.1/src/tools.c:4554: ret = dladdr(addr, dli); haproxy-2.3.1/src/tools.c-4555- *size = 0; ############################################## haproxy-2.3.1/src/tools.c-4627- */ haproxy-2.3.1/src/tools.c:4628: if (!dladdr(main, &dli_main)) haproxy-2.3.1/src/tools.c-4629- dli_main.dli_fbase = NULL; ############################################## haproxy-2.3.1/tests/reset.c-31- bzero(&saddr, sizeof(saddr)); haproxy-2.3.1/tests/reset.c:32: saddr.sin_addr.s_addr = inet_addr(addr); haproxy-2.3.1/tests/reset.c-33- saddr.sin_port = htons(port);