MissValeska
d6986b3f4d
Adds errno and err reporting to inet_sendto.
vor 10 Jahren
MissValeska
7953b9af92
I just made a change and realised, If the the EMSGSIZE case is ever called upon, We won't know if that is actually an error or not. It has a procedure to resolve it, And if we see a big error message, It might scare us even though it is probably fixed. We, Also, Don't know if the error message is for the same packet, or another. I will have to look into fixing this.
vor 10 Jahren
MissValeska
06de3f1f9e
This should fix the packet artifically fragmented errors, Hopefully.
vor 10 Jahren
MissValeska
e6bea6b2c0
I fixed a compilation error, Dunno why a number in a #define wouldn't be in quotation marks, Also, Why is config.h in .gitignore?
vor 10 Jahren
MissValeska
5469434241
Merge branch 'kallisti5-master'
The Merge should now be complete! Please revert if anything was removed accidentally or that you would like to be replaced. Especially revert if any problems/regressions are noticed! - Valeska
vor 10 Jahren
MissValeska
0fdc2ad732
working
vor 10 Jahren
MissValeska
01fd7798ca
merging
vor 10 Jahren
MissValeska
e52842f8d8
Modified the console time function to always produce a non-negative and correct value.
vor 10 Jahren
Valeska
719232b6f9
A comment to explain how inet_send works with the EMSGSIZE case.
I almost made a very complicated and unneeded change instead of just leaving it as it is because I didn't think of this. So I want this to be here so everyone can understand how this works.
vor 10 Jahren
Alexander von Gluck IV
eb6648d7ec
Revert "gmap: Limit new IPv4 nodes to a class-b private network"
This reverts commit 1dc21e5bc5 .
* May bike-shed the ipv4 address to a class A.
vor 10 Jahren
Alexander von Gluck IV
1dc21e5bc5
gmap: Limit new IPv4 nodes to a class-b private network
* 172 is generally used for auto-config... so it fits
well with the ad-hoc mesh nature of Netsukuku
* IPv6 could be limited to a uni-cast local address
as well.
vor 10 Jahren
Alexander von Gluck IV
ba6c7a6bf9
headers: Fix missing header comments
vor 10 Jahren
Alexander von Gluck IV
3c840072e0
qspn-empiric: If we return non-void we have to return *something*
vor 10 Jahren
Alexander von Gluck IV
e264723db2
all: Automatic style cleanup, KnR. No functional change.
* Style varied wildly between files and within files.
* find . -name "*.c" -exec indent {} -ut -ts4 -kr -psl \;
* find . -name "*.h" -exec indent {} -ut -ts4 -kr -psl \;
vor 10 Jahren
Alexander von Gluck IV
5d78d45402
build: Cleanup, add qspn to default build
vor 10 Jahren
Alexander von Gluck IV
6dacd92b5c
build: drop remaining autotools cruft
vor 10 Jahren
Alexander von Gluck IV
c5352bb134
ntk-console-server: Show current IP address. This needs improved.
vor 10 Jahren
Alexander von Gluck IV
39bf5ab020
ntk-console-server: Show basic internet connectivity
vor 10 Jahren
Alexander von Gluck IV
8264979309
ntk-console-server: Show basic current interfaces
vor 10 Jahren
Alexander von Gluck IV
cea41ed409
ntk-console: Begin returning valid results in ntk-console-server
vor 10 Jahren
Alexander von Gluck IV
2694b1cda4
ntk-console-server: Remove debugging info
vor 10 Jahren
Alexander von Gluck IV
9439a67b34
Scons: Update outdated language
vor 10 Jahren
Alexander von Gluck IV
98e77ded15
ntk-console: Fix retransmit on console
vor 10 Jahren
Alexander von Gluck IV
eb12395dcb
ntk-console: Cleanup commands, accept command packets
* console commands now read as standardized struct packets
* responses are still character arrays
vor 10 Jahren
Alexander von Gluck IV
84e377eff5
ntk-console: Additional cleanup, no functional change
vor 10 Jahren
Alexander von Gluck IV
e23eaafd7b
inet: Remove unused unused variables
vor 10 Jahren
Alexander von Gluck IV
fd551da7b4
ntk: Don't return in function that doesn't use returns
vor 10 Jahren
Alexander von Gluck IV
cf9063f92b
ntk: Clean up console spawning
* Fix a few incorrect header dependencies
vor 10 Jahren
Alexander von Gluck IV
c92713f4d5
misc: Fix missed improper inline
vor 10 Jahren
Alexander von Gluck IV
c6eb6b7a40
ntk-console: Add missing string.h
vor 10 Jahren
Alexander von Gluck IV
be6e9d3511
ntk: Fix incorrect inline statements
* That isn't how you use those.
vor 10 Jahren
Alexander von Gluck IV
bc054faf0c
Console: Add common console header to keep API in sync
vor 10 Jahren
Alexander von Gluck IV
2627ba6350
Build: Place ntk-console as part of core build
vor 10 Jahren
Alexander von Gluck IV
d262a621ac
Build: Drop messy, poorly written autotools
* Move back to a SCons build system
* Place scons script at base of project
vor 10 Jahren
Alexander von Gluck IV
0a5463d759
Ntk-console: Clean up file descriptors.
* Fork incomming console connections to support
multiple connections at once.
* Rework ntpd console connection acceptance.
vor 10 Jahren
Alexander von Gluck IV
bc3f496788
Ntk-console: Stop using fixed buffer width.
* Detect end of string in console and act on that.
* Open console connection on startup
* Terminate console connection on exit
vor 10 Jahren
Alexander von Gluck IV
3a842c2d4c
Ntk-console: Clean up command line parsing
* Make console application function
* No more segfaults
* Apply KnR style
vor 10 Jahren
MissValeska
5d49293e08
Pointer fixed.
vor 10 Jahren
MissValeska
ef639756da
Pointer fixed.
vor 10 Jahren
MissValeska
86699a7a11
Changed variable type.
vor 10 Jahren
MissValeska
9fbb56d12c
Fixed some more warnings.
vor 10 Jahren
MissValeska
6b234354cd
Improved install script and fixed some warnings.
vor 10 Jahren
MissValeska
186a64f4ac
Changed request to char *
vor 10 Jahren
MissValeska
4b7dbb6ede
Removed fix
vor 10 Jahren
MissValeska
ddb12a1f37
fixed char * compilation error
vor 10 Jahren
MissValeska
cb8258ce6e
Merge branch 'master' of https://github.com/Netsukuku/netsukuku
really dunno why this is necessary, netbeans
vor 10 Jahren
MissValeska
6101dfe6df
Removed unneccesary variable, Okay sorry, I know I am not giving that much information, But this is really just compilation fixes which I am using git for so I can send them to my testing machine.
vor 10 Jahren
MissValeska
2c216e4b17
Function addition
vor 10 Jahren
MissValeska
67a11b69a9
Function argument correction
vor 10 Jahren
MissValeska
18634081fa
Variable name correction
vor 10 Jahren