Deleted Added
full compact
alias_irc.c (67980) alias_irc.c (77701)
1/*-
2 * Copyright (c) 2001 Charles Mott <cmott@scientech.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/netinet/libalias/alias_irc.c 77701 2001-06-04 15:09:51Z brian $
27 */
28
1/* Alias_irc.c intercepts packages contain IRC CTCP commands, and
2 changes DCC commands to export a port on the aliasing host instead
3 of an aliased host.
4
5 For this routine to work, the DCC command must fit entirely into a
6 single TCP packet. This will usually happen, but is not
7 guaranteed.
8

--- 5 unchanged lines hidden (view full) ---

14 on its distribution.
15
16 Initial version: Eivind Eklund <perhaps@yes.no> (ee) 97-01-29
17
18 Version 2.1: May, 1997 (cjm)
19 Very minor changes to conform with
20 local/global/function naming conventions
21 withing the packet alising module.
29/* Alias_irc.c intercepts packages contain IRC CTCP commands, and
30 changes DCC commands to export a port on the aliasing host instead
31 of an aliased host.
32
33 For this routine to work, the DCC command must fit entirely into a
34 single TCP packet. This will usually happen, but is not
35 guaranteed.
36

--- 5 unchanged lines hidden (view full) ---

42 on its distribution.
43
44 Initial version: Eivind Eklund <perhaps@yes.no> (ee) 97-01-29
45
46 Version 2.1: May, 1997 (cjm)
47 Very minor changes to conform with
48 local/global/function naming conventions
49 withing the packet alising module.
22
23 $FreeBSD: head/sys/netinet/libalias/alias_irc.c 67980 2000-10-30 17:24:12Z ru $
24*/
25
26/* Includes */
27#include <ctype.h>
28#include <stdio.h>
29#include <string.h>
30#include <sys/types.h>
31#include <netinet/in_systm.h>

--- 286 unchanged lines hidden ---
50*/
51
52/* Includes */
53#include <ctype.h>
54#include <stdio.h>
55#include <string.h>
56#include <sys/types.h>
57#include <netinet/in_systm.h>

--- 286 unchanged lines hidden ---