Felix Fietkau
|
75e73ab371
interface: enable force_link by default for proto=static
|
10 lat temu |
Felix Fietkau
|
e47461aedf
proto-static: ensure that the l3 device is properly set
|
10 lat temu |
Helmut Schaa
|
3d317e90f1
netifd: Reload proto on topology change
|
10 lat temu |
Steven Barth
|
48ffedb4a2
Rewrite IPv6 prefix assignment
|
11 lat temu |
Felix Fietkau
|
f7ac9bf93c
split applying static proto setting from handler settings
|
12 lat temu |
Felix Fietkau
|
bfe5db1ea8
add copyright headers
|
12 lat temu |
Felix Fietkau
|
a3606a74c6
proto: add an option for specifying external addresses using proto_apply_ip_settings()
|
12 lat temu |
Felix Fietkau
|
285039a878
move static address setup to proto.c in preparation for unifying it with the proto-shell code doing similar things
|
12 lat temu |
Felix Fietkau
|
937a95ad71
make a few more functions static
|
13 lat temu |
Felix Fietkau
|
a0dedf26ed
add support for keeping multiple ip addr/route/dns lists
|
13 lat temu |
Felix Fietkau
|
c000b546d9
proto-shell: allow passing netmask in ip address format
|
13 lat temu |
Felix Fietkau
|
5e5cd11724
add functions for adding dns servers to the proto list, hook them up in proto-static.c
|
13 lat temu |
Felix Fietkau
|
3bd56db589
move ip address parsing code to proto.c
|
13 lat temu |
Felix Fietkau
|
aa44620711
make proto_apply_static_settings static, make helper functions take a struct interface instead of the proto state
|
13 lat temu |
Felix Fietkau
|
bbfa8c18c8
move protocol flags to the handler, add a pointer to the handler in the proto state, add PROTO_FLAG_NODEV
|
13 lat temu |
Felix Fietkau
|
82bd699058
handle static proto setup failure
|
13 lat temu |
Felix Fietkau
|
69b2dcb92b
add code for versioned lists and use it to manage addresses and routes
|
13 lat temu |
Felix Fietkau
|
b8d44d56f6
make functionality for applying static settings available
|
13 lat temu |
Felix Fietkau
|
818abd9f2f
move ip related functions and data structures to a separate header file
|
13 lat temu |
Felix Fietkau
|
0c823ed77d
remove the uci dependency from protocol handlers
|
13 lat temu |
Felix Fietkau
|
dca8c7133b
trigger proto attach from config.c
|
13 lat temu |
Felix Fietkau
|
f6fb6bee2c
add routes/gateway support
|
13 lat temu |
Felix Fietkau
|
273550337f
move interface address handling to the device module, clean up arguments to system_{add,del}_addr
|
13 lat temu |
Felix Fietkau
|
17aab88b83
move address handling to common code
|
13 lat temu |
Felix Fietkau
|
702c681db0
remove the DNS option from proto-static, it will be handled by generic code
|
13 lat temu |
Felix Fietkau
|
389ea22385
make creating a static proto state more flexible, add support for parsing gateways
|
13 lat temu |
Felix Fietkau
|
3e22e5b6bd
add code to set ip addresses when an interface with the static proto is brought up
|
13 lat temu |
Felix Fietkau
|
abe9ac8a97
cleanup entry counting loop
|
13 lat temu |
Felix Fietkau
|
20adacee20
add some code for parsing static ipaddr/ip6addr/netmask
|
13 lat temu |
Felix Fietkau
|
37bdee9b72
add a dummy protocol handler for "static"
|
13 lat temu |