Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastian Schrader
Kea
Commits
e5220a6c
Commit
e5220a6c
authored
Jan 22, 2016
by
Francis Dupont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[4266] Done for DHCPv6 and v4
parent
66500852
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
684 additions
and
669 deletions
+684
-669
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.cc
+325
-322
src/bin/dhcp4/dhcp4_srv.h
src/bin/dhcp4/dhcp4_srv.h
+11
-6
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.cc
+337
-335
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/dhcp6_srv.h
+11
-6
No files found.
src/bin/dhcp4/dhcp4_srv.cc
View file @
e5220a6c
This diff is collapsed.
Click to expand it.
src/bin/dhcp4/dhcp4_srv.h
View file @
e5220a6c
// Copyright (C) 2011-201
5
Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2011-201
6
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
@@ -208,14 +208,19 @@ public:
/// @brief Main server processing loop.
///
/// Main server processing loop. Receives incoming packets, verifies
/// their correctness, generates appropriate answer (if needed) and
/// transmits responses.
/// Main server processing loop. Call the processing one routine
/// until shut down.
///
/// @return true, if being shut down gracefully, fail if experienced
/// critical error.
/// @return true, if being shut down gracefully, never fail.
bool
run
();
/// @brief Main server processing one.
///
/// Main server processing one. Receives one incoming packet, verifies
/// its correctness, generates appropriate answer (if needed) and
/// transmits response.
void
run_one
();
/// @brief Instructs the server to shut down.
void
shutdown
();
...
...
src/bin/dhcp6/dhcp6_srv.cc
View file @
e5220a6c
This diff is collapsed.
Click to expand it.
src/bin/dhcp6/dhcp6_srv.h
View file @
e5220a6c
// Copyright (C) 2011-201
5
Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2011-201
6
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
@@ -89,14 +89,19 @@ public:
/// @brief Main server processing loop.
///
/// Main server processing loop. Receives incoming packets, verifies
/// their correctness, generates appropriate answer (if needed) and
/// transmits responses.
/// Main server processing loop. Call the processing one routine
/// until shut down.
///
/// @return true, if being shut down gracefully, fail if experienced
/// critical error.
/// @return true, if being shut down gracefully, never fail.
bool
run
();
/// @brief Main server processing one.
///
/// Main server processing one. Receives one incoming packet, verifies
/// its correctness, generates appropriate answer (if needed) and
/// transmits response.
void
run_one
();
/// @brief Instructs the server to shut down.
void
shutdown
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment