Sha256: 39352449ebfec8db6a7e540ddd93f77384834fae4f8ba153e977d1f77460e8c4

Contents?: true

Size: 730 Bytes

Versions: 40

Compression:

Stored size: 730 Bytes

Contents

#ifndef haproxy_protocol_h
#define haproxy_protocol_h


#include <sys/types.h>


enum enum_haproxy_protocol_ip_type {
  haproxy_protocol_ip_type_ipv4 = 1,
  haproxy_protocol_ip_type_ipv6
};


typedef struct struct_haproxy_protocol {
  unsigned short int                        valid;
  unsigned short int                        total_len;
  enum enum_haproxy_protocol_ip_type        ip_type;
  size_t                                    ip_s;
  size_t                                    ip_len;
  size_t                                    port_s;
  size_t                                    port_len;
} struct_haproxy_protocol;


struct_haproxy_protocol struct_haproxy_protocol_parser_execute(const char *str, size_t len);

#endif

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
oversip_p-1.0.2 ext/utils/haproxy_protocol.h
oversip_p-1.0.0 ext/utils/haproxy_protocol.h
oversip-2.0.4 ext/utils/haproxy_protocol.h
oversip-2.0.3 ext/utils/haproxy_protocol.h
oversip-2.0.2 ext/utils/haproxy_protocol.h
oversip-2.0.1 ext/utils/haproxy_protocol.h
oversip-2.0.0 ext/utils/haproxy_protocol.h
oversip-1.4.1 ext/utils/haproxy_protocol.h
oversip-1.4.0 ext/utils/haproxy_protocol.h
oversip-1.3.8 ext/utils/haproxy_protocol.h
oversip-1.3.7 ext/utils/haproxy_protocol.h
oversip-1.3.6 ext/utils/haproxy_protocol.h
oversip-1.3.5 ext/utils/haproxy_protocol.h
oversip-1.3.3 ext/utils/haproxy_protocol.h
oversip-1.3.2 ext/utils/haproxy_protocol.h
oversip-1.3.1 ext/utils/haproxy_protocol.h
oversip-1.3.0 ext/utils/haproxy_protocol.h
oversip-1.3.0.dev1 ext/utils/haproxy_protocol.h
oversip-1.2.1 ext/utils/haproxy_protocol.h
oversip-1.2.0 ext/utils/haproxy_protocol.h