summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-15 20:36:58 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-08-16 15:30:38 +0200
commitb164b570b4087ed6ac1ecd46cfd7a81ea38cd849 (patch)
tree4897ee855416d8cf10c7a05bfd6241190b8fbefb /src/network/networkd-network.h
parentnetwork: SamplePoint= should be specified only when BitRate= is specified (diff)
downloadsystemd-b164b570b4087ed6ac1ecd46cfd7a81ea38cd849.tar.xz
systemd-b164b570b4087ed6ac1ecd46cfd7a81ea38cd849.zip
network: can: allow to specify bit-timing with TimeQuantaNSec= and friends
Closes #19424 and #20435.
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r--src/network/networkd-network.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index 488d49e3ac..4410683b4a 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -265,8 +265,18 @@ struct Network {
/* CAN support */
uint32_t can_bitrate;
unsigned can_sample_point;
+ nsec_t can_time_quanta_ns;
+ uint32_t can_propagation_segment;
+ uint32_t can_phase_buffer_segment_1;
+ uint32_t can_phase_buffer_segment_2;
+ uint32_t can_sync_jump_width;
uint32_t can_data_bitrate;
unsigned can_data_sample_point;
+ nsec_t can_data_time_quanta_ns;
+ uint32_t can_data_propagation_segment;
+ uint32_t can_data_phase_buffer_segment_1;
+ uint32_t can_data_phase_buffer_segment_2;
+ uint32_t can_data_sync_jump_width;
usec_t can_restart_us;
uint32_t can_control_mode_mask;
uint32_t can_control_mode_flags;