~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to slirp/bootp.h

  • Committer: Bazaar Package Importer
  • Author(s): Riku Voipio, Josh Triplett, Riku Voipio
  • Date: 2009-07-29 13:28:05 UTC
  • mfrom: (1.4.1 upstream)
  • mto: (12.1.1 sid) (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20090729132805-cau7rfexh7dawyb8
Tags: 0.10.50+git20090729-1
[ Josh Triplett ]
* Remove myself from Uploaders.

[ Riku Voipio ]
* new upstream RC version
* nuke all linux-user patches (applied upstream)
  06_exit_segfault
  12_signal_powerpc_support
  21_net_soopts
  30_syscall_ipc
  32_syscall_sysctl
  35_syscall_sockaddr
  48_signal_terminate
  55_unmux_socketcall
* nuke all other applied-upstream patches
  01_nostrip (better version upstream)
  07_i386_exec_name (can be reintroduced in debian/rules)
  50_linuxbios_isa_bios_ram (shouldn't be needed anymore)
  51_linuxbios_piix_ram_size (applied)
  56_dhcp (crap)
  60_ppc_ld (reintroduce if needed)
  64_ppc_asm_constraints (ditto)
  66_tls_ld.patch (ditto)
  81_compile_dtb.patch (applied upstream)
  82_qemu-img_decimal (ditto)
* move to git
* simplify build rules
* Correct my email address

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
#define RFC2132_MSG_TYPE        53
64
64
#define RFC2132_SRV_ID          54
65
65
#define RFC2132_PARAM_LIST      55
 
66
#define RFC2132_MESSAGE         56
66
67
#define RFC2132_MAX_SIZE        57
67
68
#define RFC2132_RENEWAL_TIME    58
68
69
#define RFC2132_REBIND_TIME     59
71
72
#define DHCPOFFER               2
72
73
#define DHCPREQUEST             3
73
74
#define DHCPACK                 5
 
75
#define DHCPNAK                 6
74
76
 
75
77
#define RFC1533_VENDOR_MAJOR    0
76
78
#define RFC1533_VENDOR_MINOR    0
110
112
    uint8_t bp_vend[DHCP_OPT_LEN];
111
113
};
112
114
 
 
115
typedef struct {
 
116
    uint16_t allocated;
 
117
    uint8_t macaddr[6];
 
118
} BOOTPClient;
 
119
 
 
120
#define NB_BOOTP_CLIENTS 16
 
121
 
113
122
void bootp_input(struct mbuf *m);