Felix Fietkau
|
d095bf24cf
config: use the new uci_blob library code
|
11 years ago |
Felix Fietkau
|
9cabaeb8a5
add an ubus method for dumping available protocol handlers
|
12 years ago |
Felix Fietkau
|
f7ac9bf93c
split applying static proto setting from handler settings
|
12 years ago |
Felix Fietkau
|
bfe5db1ea8
add copyright headers
|
12 years ago |
Felix Fietkau
|
05c0ded29c
make proto_parse_ip_addr_string() static
|
12 years ago |
Felix Fietkau
|
a3606a74c6
proto: add an option for specifying external addresses using proto_apply_ip_settings()
|
12 years ago |
Felix Fietkau
|
285039a878
move static address setup to proto.c in preparation for unifying it with the proto-shell code doing similar things
|
12 years ago |
Felix Fietkau
|
24ccfe7d35
proto-shell: handle the "available" config flag
|
13 years ago |
Felix Fietkau
|
c000b546d9
proto-shell: allow passing netmask in ip address format
|
13 years ago |
Felix Fietkau
|
3bd56db589
move ip address parsing code to proto.c
|
13 years ago |
Felix Fietkau
|
aa44620711
make proto_apply_static_settings static, make helper functions take a struct interface instead of the proto state
|
13 years ago |
Felix Fietkau
|
13cb667dc2
add a protocol event for link loss
|
13 years ago |
Felix Fietkau
|
f782148ef2
add an interface for notifying protocol handlers of state changes via ubus
|
13 years ago |
Felix Fietkau
|
bbfa8c18c8
move protocol flags to the handler, add a pointer to the handler in the proto state, add PROTO_FLAG_NODEV
|
13 years ago |
Felix Fietkau
|
b8d44d56f6
make functionality for applying static settings available
|
13 years ago |
Felix Fietkau
|
0c823ed77d
remove the uci dependency from protocol handlers
|
13 years ago |
Felix Fietkau
|
d06540fec1
remove an unnecessary typedef
|
13 years ago |
Felix Fietkau
|
dca8c7133b
trigger proto attach from config.c
|
13 years ago |
Felix Fietkau
|
6b7accf510
export a function to look up a protocol handler
|
13 years ago |
Felix Fietkau
|
39dbd09f58
add a section pointer to the proto attach callback
|
13 years ago |
Felix Fietkau
|
71427e54fa
add some infrastructure code for proto handlers
|
13 years ago |
Felix Fietkau
|
56b7cadaeb
move immediate protocol state transitions to a wrapper function
|
13 years ago |
Felix Fietkau
|
d520248663
add rudimentary protocol handling
|
13 years ago |