print-tftp.c (26180) | print-tftp.c (39297) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 | 2 * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997 |
3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 7 * retain the above copyright notice and this paragraph in its entirety, (2) 8 * distributions including binary code include the above copyright notice and 9 * this paragraph in its entirety in the documentation or other materials 10 * provided with the distribution, and (3) all advertising materials mentioning --- 7 unchanged lines hidden (view full) --- 18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20 * 21 * Format and print trivial file transfer protocol packets. 22 */ 23 24#ifndef lint 25static const char rcsid[] = | 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 7 * retain the above copyright notice and this paragraph in its entirety, (2) 8 * distributions including binary code include the above copyright notice and 9 * this paragraph in its entirety in the documentation or other materials 10 * provided with the distribution, and (3) all advertising materials mentioning --- 7 unchanged lines hidden (view full) --- 18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20 * 21 * Format and print trivial file transfer protocol packets. 22 */ 23 24#ifndef lint 25static const char rcsid[] = |
26 "@(#) $Header: print-tftp.c,v 1.28 96/09/26 23:36:50 leres Exp $ (LBL)"; | 26 "@(#) $Header: print-tftp.c,v 1.30 97/06/13 12:57:12 leres Exp $ (LBL)"; |
27#endif 28 29#include <sys/param.h> 30#include <sys/time.h> 31 32#include <netinet/in.h> 33 | 27#endif 28 29#include <sys/param.h> 30#include <sys/time.h> 31 32#include <netinet/in.h> 33 |
34#ifdef SEGSIZE 35#undef SEGSIZE /* SINIX sucks */ 36#endif |
|
34#include <arpa/tftp.h> 35 36#include <ctype.h> 37#include <stdio.h> 38#include <string.h> 39 40#include "interface.h" 41#include "addrtoname.h" --- 98 unchanged lines hidden --- | 37#include <arpa/tftp.h> 38 39#include <ctype.h> 40#include <stdio.h> 41#include <string.h> 42 43#include "interface.h" 44#include "addrtoname.h" --- 98 unchanged lines hidden --- |