16 Aug, 2017
1 commit
-
We are now using an env_ prefix for environment functions. Rename these
other functions as well, for consistency:getenv_vlan()
getenv_bootm_size()
getenv_bootm_low()
getenv_bootm_mapsize()
env_get_default()Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
26 Mar, 2017
1 commit
-
The network mask must be stored in network order when in a
'struct in_addr'.This fix removes the "gatewayip needed but not set" message on the
console when using a link-local IP setup.Signed-off-by: Alexandre Messier
Signed-off-by: Sylvain Lemieux
Acked-by: Joe Hershberger
19 Apr, 2015
4 commits
-
Finish eliminating CamelCase from net.c and other failures
Signed-off-by: Joe Hershberger
Acked-by: Simon Glass -
A few new rules in checkpatch.pl since linklocal.c was added.
Signed-off-by: Joe Hershberger
Acked-by: Simon Glass -
Use "_ethaddr" at the end of variables and drop CamelCase.
Make constant values actually 'const'.Signed-off-by: Joe Hershberger
Acked-by: Simon Glass -
This patch is simply clean-up to make the IPv4 type that is used match
what Linux uses. It also attempts to move all variables that are IP
addresses use good naming instead of CamelCase. No functional change.Signed-off-by: Joe Hershberger
Acked-by: Simon Glass
25 Jun, 2013
1 commit
-
Make the link-local code conform more completely with the RFC.
This will prevent ARP queries for the target (such as while it is
rebooting) from causing the device to choose a different link-local
address, thinking that its address is in use by another machine.Signed-off-by: Joe Hershberger
16 Dec, 2012
1 commit
-
The ip is stored in network order, so we can't test it in host order.
Signed-off-by: Joe Hershberger
Reviewed-by: Kim Phillips
20 Jul, 2012
1 commit
-
Fix comment within comment build error.
Signed-off-by: Benoît Thébaudeau
Cc: Joe Hershberger
10 Jul, 2012
1 commit
-
Signed-off-by: Wolfgang Denk
07 Jul, 2012
1 commit
-
Replace rand() with the functions from lib/. The link-local network code
stores its own seed, derived from the MAC address. Thus making it
independent from calls to srand() in other modules.Signed-off-by: Michael Walle
Acked-by: Joe Hershberger
24 May, 2012
2 commits
-
Add several levels of DEBUG prints so that you can limit the noise to
the severety of your problem.DEBUG_LL_STATE = Link local state machine changes
DEBUG_DEV_PKT = Packets or info directed to the device
DEBUG_NET_PKT = Packets on info on the network at large
DEBUG_INT_STATE = Internal network state changesSigned-off-by: Joe Hershberger
-
Code based on networking/zcip.c in busybox
commit 8531d76a15890c2c535908ce888b2e2aed35b172Signed-off-by: Joe Hershberger