print-bootp.c (18471) | print-bootp.c (20287) |
---|---|
1/* 2 * Copyright (c) 1988-1990 The Regents of the University of California. 3 * 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 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 bootp packets. 22 * 23 * This file was copied from tcpdump-2.1.1 and modified. 24 * There is an e-mail list for tcpdump: <tcpdump@ee.lbl.gov> 25 * | 1/* 2 * Copyright (c) 1988-1990 The Regents of the University of California. 3 * 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 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 bootp packets. 22 * 23 * This file was copied from tcpdump-2.1.1 and modified. 24 * There is an e-mail list for tcpdump: <tcpdump@ee.lbl.gov> 25 * |
26 * $Id$ | 26 * $Id: print-bootp.c,v 1.2 1996/09/22 21:52:58 wosch Exp $ |
27 */ 28 29#include <stdio.h> 30 31#include <sys/param.h> 32#include <sys/types.h> 33#include <sys/socket.h> 34 | 27 */ 28 29#include <stdio.h> 30 31#include <sys/param.h> 32#include <sys/types.h> 33#include <sys/socket.h> 34 |
35#ifdef _AIX32 | |
36#include <sys/time.h> /* for struct timeval in net/if.h */ | 35#include <sys/time.h> /* for struct timeval in net/if.h */ |
37#endif | |
38#include <net/if.h> 39#include <netinet/in.h> 40 41#include <string.h> 42#include <ctype.h> 43 44#include "bootp.h" 45#include "bootptest.h" --- 449 unchanged lines hidden --- | 36#include <net/if.h> 37#include <netinet/in.h> 38 39#include <string.h> 40#include <ctype.h> 41 42#include "bootp.h" 43#include "bootptest.h" --- 449 unchanged lines hidden --- |