eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

hwsim-rules-api.txt (2416B)


      1 RuleManager hierarchy
      2 =====================
      3 
      4 Service		net.connman.hwsim
      5 Interface	net.connman.hwsim.RuleManager [Experimental]
      6 Object path	/
      7 
      8 Methods		object AddRule()
      9 			Create a new blank rule entry. This rule will
     10 			match all frames but apply no changes to the frames
     11 			until the properties are written some non-default
     12 			values.  Rules may affect frames being sent over
     13 			the wireless medium.  Some properties of a rule
     14 			determine what frames match it, other properties
     15 			determine the effect on matching frames.  When
     16 			a frame goes through the simulated medium all
     17 			matching rules are applied according to their
     18 			priority property.  See below for specifics on
     19 			those properties.
     20 
     21 Service		net.connman.hwsim
     22 Interface	net.connman.hwsim.Rule [Experimental]
     23 Object path	/{rule0,rule1,...}
     24 
     25 Methods		void Remove()
     26 			Remove this rule.
     27 
     28 Properties	string Source
     29 			Source device's hardware address in the
     30 			XX:XX:XX:XX:XX:XX format or "any".  The Source
     31 			and Destination addresses refer to the hardware
     32 			addresses of the source and the destination
     33 			radios as given by the
     34 			net.connman.hwsim.Radio.Addresses property
     35 			on the radio object (see hwsim-radio-api.txt).
     36 			While those addresses initially match the network
     37 			interface mac addresses, and that present in the
     38 			ethernet headers of each frame, they are
     39 			independent.
     40 
     41 		string Destination
     42 			Destination device's hardware address in the
     43 			XX:XX:XX:XX:XX:XX format, or one of: "any",
     44 			"multicast".
     45 
     46 		boolean Bidirectional
     47 			If false, rule matches frames from Source to
     48 			Destination.  If true, also matches frames from
     49 			Destination to Source.
     50 
     51 		uint32 Frequency
     52 			If non-zero, rule matches specified center
     53 			frequency only.
     54 
     55 		int16 Priority
     56 			Rule priority / preference / metric.  The rule
     57 			will be processed after any rule with a lower
     58 			Priority value and may override properties
     59 			already modified.
     60 
     61 		int16 SignalStrength
     62 			Signal strength (RSSI) value to set on matching
     63 			frames to be seen by the receiver, or zero.  If
     64 			zero, no change is applied.  Signal strength is
     65 			expressed in 100 * dBm.  The value is in the range
     66 			of -1 (strongest signal) to -10000 (weakest
     67 			signal).
     68 
     69 		bool Drop
     70 			If true, nothing is passed to the receiver.
     71 
     72 		uint32 Delay
     73 			Set the millisecond delay for any matching packets. This
     74 			value cannot be less than 1 as a 1ms delay is required
     75 			for test reliability.