Hans Dedecker
|
4789adf1e5
proto-shell: Model config parameter "no-proto-task" as a proto flag
|
8 gadi atpakaļ |
Hans Dedecker
|
e7dbda3d64
proto-shell: Support teardown on layer 3 link loss
|
8 gadi atpakaļ |
Hans Dedecker
|
92d2aea918
netifd: Interface last error support
|
9 gadi atpakaļ |
Felix Fietkau
|
75e73ab371
interface: enable force_link by default for proto=static
|
10 gadi atpakaļ |
Helmut Schaa
|
3d317e90f1
netifd: Reload proto on topology change
|
10 gadi atpakaļ |
Felix Fietkau
|
8aabd47c6f
proto-shell: defer init until after command line option processing
|
10 gadi atpakaļ |
Felix Fietkau
|
d095bf24cf
config: use the new uci_blob library code
|
11 gadi atpakaļ |
Felix Fietkau
|
9cabaeb8a5
add an ubus method for dumping available protocol handlers
|
12 gadi atpakaļ |
Felix Fietkau
|
f7ac9bf93c
split applying static proto setting from handler settings
|
12 gadi atpakaļ |
Felix Fietkau
|
bfe5db1ea8
add copyright headers
|
12 gadi atpakaļ |
Felix Fietkau
|
05c0ded29c
make proto_parse_ip_addr_string() static
|
12 gadi atpakaļ |
Felix Fietkau
|
a3606a74c6
proto: add an option for specifying external addresses using proto_apply_ip_settings()
|
12 gadi atpakaļ |
Felix Fietkau
|
285039a878
move static address setup to proto.c in preparation for unifying it with the proto-shell code doing similar things
|
12 gadi atpakaļ |
Felix Fietkau
|
24ccfe7d35
proto-shell: handle the "available" config flag
|
13 gadi atpakaļ |
Felix Fietkau
|
c000b546d9
proto-shell: allow passing netmask in ip address format
|
13 gadi atpakaļ |
Felix Fietkau
|
3bd56db589
move ip address parsing code to proto.c
|
13 gadi atpakaļ |
Felix Fietkau
|
aa44620711
make proto_apply_static_settings static, make helper functions take a struct interface instead of the proto state
|
13 gadi atpakaļ |
Felix Fietkau
|
13cb667dc2
add a protocol event for link loss
|
13 gadi atpakaļ |
Felix Fietkau
|
f782148ef2
add an interface for notifying protocol handlers of state changes via ubus
|
13 gadi atpakaļ |
Felix Fietkau
|
bbfa8c18c8
move protocol flags to the handler, add a pointer to the handler in the proto state, add PROTO_FLAG_NODEV
|
13 gadi atpakaļ |
Felix Fietkau
|
b8d44d56f6
make functionality for applying static settings available
|
13 gadi atpakaļ |
Felix Fietkau
|
0c823ed77d
remove the uci dependency from protocol handlers
|
13 gadi atpakaļ |
Felix Fietkau
|
d06540fec1
remove an unnecessary typedef
|
13 gadi atpakaļ |
Felix Fietkau
|
dca8c7133b
trigger proto attach from config.c
|
13 gadi atpakaļ |
Felix Fietkau
|
6b7accf510
export a function to look up a protocol handler
|
13 gadi atpakaļ |
Felix Fietkau
|
39dbd09f58
add a section pointer to the proto attach callback
|
13 gadi atpakaļ |
Felix Fietkau
|
71427e54fa
add some infrastructure code for proto handlers
|
13 gadi atpakaļ |
Felix Fietkau
|
56b7cadaeb
move immediate protocol state transitions to a wrapper function
|
13 gadi atpakaļ |
Felix Fietkau
|
d520248663
add rudimentary protocol handling
|
13 gadi atpakaļ |