-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cps: move kni_process_arp() and kni_process_nd()
File cps/main.c is the only user of functions kni_process_arp() and kni_process_nd(). Moreover, the only relationship between these functions and KNI is the fact that they process packets read from KNI interfaces. This commit 1. moves kni_process_arp() and kni_process_nd() from cps/kni.c to cps/main.c; 2. makes those functions static; and 3. renames those functions to process_arp() and process_nd().
- Loading branch information
1 parent
53e42db
commit 1ccd70d
Showing
3 changed files
with
217 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.