busybox/libbb
Denys Vlasenko 59f46676a9 Move create_icmp[6]_socket to its only user, and simplify it
function                                             old     new   delta
run_applet_and_exit                                  711     714      +3
sendping_tail                                        239     236      -3
common_ping_main                                    1798    1770     -28
create_icmp_socket                                    65       -     -65
create_icmp6_socket                                   65       -     -65
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 1/2 up/down: 3/-161)           Total: -158 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-06-28 00:30:46 +02:00
..
appletlib.c make --help return exitcode 0. Closes 5612 2013-02-28 12:34:18 +01:00
ask_confirmation.c
bb_askpass.c sulogin: allow system maintenance login if root password is empty 2013-05-21 17:01:55 +02:00
bb_bswap_64.c
bb_do_delay.c
bb_pwd.c
bb_qsort.c
bb_strtod.c
bb_strtonum.c
change_identity.c
chomp.c
compare_string_array.c
concat_path_file.c
concat_subpath_file.c
Config.src sha3: make size/speed optimization decision configurable 2013-01-15 01:12:26 +01:00
copy_file.c
copyfd.c
correct_password.c refactor correct_password.c to avoid one if 2012-09-04 12:26:20 +02:00
crc32.c
default_error_retval.c
device_open.c
die_if_bad_username.c
dump.c hexdump: don't unconditionally limit the usable address range 2013-03-27 15:15:33 +01:00
endofname.c move endofname() to libbb 2013-02-26 00:36:53 +01:00
execable.c
fclose_nonstdin.c
fflush_stdout_and_exit.c
fgets_str.c
find_mount_point.c
find_pid_by_name.c
find_root_device.c
full_write.c
get_console.c
get_cpu_count.c
get_last_path_component.c
get_line_from_file.c
get_shell_name.c mark get_shell_name FAST_FUNC 2012-10-03 09:42:21 +02:00
get_volsize.c
getopt32.c
getpty.c
hash_md5_sha.c md5/sha512: a better fix for strict aliasing warnings 2013-06-27 01:03:19 +02:00
hash_md5prime.c
herror_msg.c
human_readable.c
inet_cksum.c
inet_common.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
info_msg.c
inode_hash.c
isdirectory.c
Kbuild.src Move create_icmp[6]_socket to its only user, and simplify it 2013-06-28 00:30:46 +02:00
kernel_version.c get_linux_version_code: don't fail on Linux version strints like "3.0-foo" 2012-05-05 17:47:23 +02:00
last_char_is.c
lineedit_ptr_hack.c
lineedit.c ash,hush: history builtin 2013-04-07 18:47:24 +02:00
llist.c
login.c libbb: introduce and use strftime_[YYYYMMDD]HHMMSS() 2013-03-29 12:30:33 +01:00
loop.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
make_directory.c unzip: ignore chmod errors 2012-05-28 01:29:15 +02:00
makedev.c
match_fstype.c
messages.c
missing_syscalls.c libbb: add missing_syscalls.c: for now, only Android syscalls 2012-06-10 14:40:30 +02:00
mode_string.c
mtab.c
obscure.c
parse_config.c
parse_mode.c
percent_decode.c
perror_msg.c
perror_nomsg_and_die.c
perror_nomsg.c
pidfile.c
platform.c vasprintf: return -1 on strdup failure 2013-02-10 23:03:38 +01:00
print_flags.c
printable_string.c
printable.c
process_escape_sequence.c
procps.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
progress.c
ptr_to_globals.c
pw_encrypt_des.c
pw_encrypt_md5.c
pw_encrypt_sha.c
pw_encrypt.c
read_key.c Add comments in keyboard escape sequences table 2012-06-11 14:40:17 +02:00
read_printf.c preparatory cleanups for seamless uncompression improvements 2012-03-06 16:23:50 +01:00
read.c
README
recursive_action.c
remove_file.c ln: support -T and -v 2012-05-06 13:18:35 +02:00
rtc.c
run_shell.c
safe_gethostname.c sendmail: use host rather than NIS domain name for HELO 2012-04-28 17:04:19 +02:00
safe_poll.c
safe_strncpy.c
safe_write.c
selinux_common.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
setup_environment.c su: do not change to home dir unless -l 2012-06-12 13:21:02 +02:00
signals.c libbb: correctness/size tweaks in signal-related helpers 2012-09-27 13:20:34 +02:00
simplify_path.c
single_argv.c
skip_whitespace.c
speed_table.c
str_tolower.c
strrstr.c
systemd_support.c
time.c libbb: introduce and use strftime_[YYYYMMDD]HHMMSS() 2013-03-29 12:30:33 +01:00
trim.c
u_signal_names.c
udp_io.c
unicode.c
update_passwd.c
utmp.c
uuencode.c
vdprintf.c
verror_msg.c
vfork_daemon_rexec.c
warn_ignoring_args.c
wfopen_input.c
wfopen.c
write.c
xatonum_template.c whitespace fixes. no code changes 2013-01-15 13:58:01 +01:00
xatonum.c
xconnect.c
xfunc_die.c
xfuncs_printf.c su: do not change to home dir unless -l 2012-06-12 13:21:02 +02:00
xfuncs.c
xgetcwd.c
xgethostbyname.c
xreadlink.c readlink: uClibc supports automatic allocation too now 2013-03-12 11:14:24 -04:00
xrealloc_vector.c
xregcomp.c

Please see the LICENSE file for copyright information (GPLv2)

libbb is BusyBox's utility library.  All of this stuff used to be stuffed into
a single file named utility.c.  When I split utility.c to create libbb, some of
the very oldest stuff ended up without their original copyright and licensing
information (which is now lost in the mists of time).  If you see something
that you wrote that is mis-attributed, do let me know so we can fix that up.

	Erik Andersen
	<andersen@codepoet.org>