mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-04 08:48:00 +00:00
The set of files proto_udp.{c,h} were misleadingly named, as they do not provide anything related to the UDP protocol but to datagram handling instead, since currently all UDP processing is hard-coded where it's used (dns, logs). They are to UDP what connection.{c,h} are to proto_tcp. This was causing confusion about how to insert UDP socket management code, so let's rename them right now to dgram.{c,h} which more accurately matches what's inside since every function and type is already prefixed with "dgram_".
30 lines
1013 B
C
30 lines
1013 B
C
/*
|
|
* include/haproxy/proto_dgram.h
|
|
* This file provides functions related to DGRAM processing.
|
|
*
|
|
* Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation, version 2.1
|
|
* exclusively.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef _HAPROXY_PROTO_DGRAM_H
|
|
#define _HAPROXY_PROTO_DGRAM_H
|
|
|
|
#include <haproxy/dgram-t.h>
|
|
|
|
void dgram_fd_handler(int);
|
|
|
|
#endif // _HAPROXY_PROTO_DGRAM_H
|