| /NetX-Duo-v6.2.1/test/regression/tsn_test/ |
| D | netx_mrp_state_machine_test.c | 181 NX_MRP_ATTRIBUTE* attribute; in thread_0_entry() local 212 … status = nx_mvrp_attribute_find(&(nx_srp.nx_mrp), &(nx_srp.nx_mvrp.participant), &attribute, 100); in thread_0_entry() 219 attribute ->applicant.state = NX_MRP_APPLICANT_STATE_VO; in thread_0_entry() 220 …pplicant_event_process(&(nx_srp.nx_mrp), &(nx_srp.nx_mvrp.participant), attribute, NX_MRP_EVENT_BE… in thread_0_entry() 221 if (status || (attribute ->applicant.state != NX_MRP_APPLICANT_STATE_VO)) in thread_0_entry() 224 attribute ->applicant.state = NX_MRP_APPLICANT_STATE_VP; in thread_0_entry() 225 …pplicant_event_process(&(nx_srp.nx_mrp), &(nx_srp.nx_mvrp.participant), attribute, NX_MRP_EVENT_BE… in thread_0_entry() 226 if (status || (attribute ->applicant.state != NX_MRP_APPLICANT_STATE_VO)) in thread_0_entry() 229 attribute ->applicant.state = NX_MRP_APPLICANT_STATE_VN; in thread_0_entry() 230 …pplicant_event_process(&(nx_srp.nx_mrp), &(nx_srp.nx_mvrp.participant), attribute, NX_MRP_EVENT_BE… in thread_0_entry() [all …]
|
| /NetX-Duo-v6.2.1/tsn/src/ |
| D | nx_mrp.c | 95 …process(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR mrp_event) in nx_mrp_applicant_event_process() argument 98 UCHAR origin_state = attribute -> applicant.state; in nx_mrp_applicant_event_process() 101 if (attribute == NX_NULL || mrp == NX_NULL) in nx_mrp_applicant_event_process() 106 attribute -> applicant.action = NX_MRP_ACTION_NULL; in nx_mrp_applicant_event_process() 111 attribute -> applicant.state = NX_MRP_APPLICANT_STATE_VO; in nx_mrp_applicant_event_process() 115 if (attribute -> applicant.state != NX_MRP_APPLICANT_STATE_AN) in nx_mrp_applicant_event_process() 117 attribute -> applicant.state = NX_MRP_APPLICANT_STATE_VN; in nx_mrp_applicant_event_process() 123 switch (attribute -> applicant.state) in nx_mrp_applicant_event_process() 126 attribute -> applicant.state = NX_MRP_APPLICANT_STATE_VP; in nx_mrp_applicant_event_process() 130 attribute -> applicant.state = NX_MRP_APPLICANT_STATE_AA; in nx_mrp_applicant_event_process() [all …]
|
| D | nx_mvrp.c | 67 …process(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… in nx_mvrp_indication_process() argument 76 status = mvrp -> mvrp_event_callback(participant, attribute, indication_type, NX_NULL); in nx_mvrp_indication_process() 83 vlan_id = ((NX_MVRP_ATTRIBUTE *)attribute) -> vlan_id; in nx_mvrp_indication_process() 132 NX_MRP_ATTRIBUTE *attribute = NX_NULL; in nx_mvrp_mrpdu_unpack() local 212 status = nx_mvrp_attribute_get(mrp, participant, &attribute, vlan_id); in nx_mvrp_mrpdu_unpack() 220 nx_mrp_event_process(mrp, participant, attribute, NX_MRP_EVENT_RLA); in nx_mvrp_mrpdu_unpack() 224 nx_mrp_event_process(mrp, participant, attribute, first_event); in nx_mvrp_mrpdu_unpack() 237 status = nx_mvrp_attribute_get(mrp, participant, &attribute, vlan_id); in nx_mvrp_mrpdu_unpack() 245 nx_mrp_event_process(mrp, participant, attribute, NX_MRP_EVENT_RLA); in nx_mvrp_mrpdu_unpack() 249 nx_mrp_event_process(mrp, participant, attribute, second_event); in nx_mvrp_mrpdu_unpack() [all …]
|
| D | nx_msrp.c | 412 NX_MRP_ATTRIBUTE *attribute = NX_NULL; in nx_msrp_register_stream_request() local 437 status = nx_msrp_attribute_find(mrp, participant, &attribute, attribute_type, attribute_value); in nx_msrp_register_stream_request() 439 if (attribute != NX_NULL) in nx_msrp_register_stream_request() 442 attribute -> attribute_type = NX_MSRP_TALKER_ADVERTISE_VECTOR; in nx_msrp_register_stream_request() 444 memcpy(&(((NX_MSRP_ATTRIBUTE *)attribute) -> msrp_attribute_union.talker_advertise), in nx_msrp_register_stream_request() 447 ((NX_MSRP_ATTRIBUTE *)attribute) -> indication_flag = 0; in nx_msrp_register_stream_request() 449 status = nx_mrp_event_process(mrp, participant, attribute, mrp_event); in nx_msrp_register_stream_request() 504 NX_MRP_ATTRIBUTE *attribute = NX_NULL; in nx_msrp_register_attach_request() local 511 status = nx_msrp_attribute_find(mrp, participant, &attribute, attribute_type, stream_id); in nx_msrp_register_attach_request() 513 if (attribute != NX_NULL) in nx_msrp_register_attach_request() [all …]
|
| /NetX-Duo-v6.2.1/tsn/inc/ |
| D | nx_msrp.h | 148 typedef UINT (*NX_MRP_EVENT_CALLBACK)(NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute,… 161 …process(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 173 …ication(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UINT indication… 175 …ication(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 177 …er_attach_indication(NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 179 …er_attach_indication(NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 181 …ication(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 183 …ication(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 185 UINT nx_msrp_mrpdu_pack_attribute(NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, USH…
|
| D | nx_mvrp.h | 77 typedef UINT (*NX_MVRP_EVENT_CALLBACK)(NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute… 94 … *mrp, struct NX_MRP_PARTICIPANT_STRUCT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 101 …x_mvrp_attribute_insert(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute);
|
| D | nx_mrp.h | 206 … *mrp, struct NX_MRP_PARTICIPANT_STRUCT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR indicatio… 246 …process(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR mrp_event… 247 …process(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute, UCHAR mrp_event… 261 UINT nx_mrp_event_process(NX_MRP *mrp, NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute… 262 UINT nx_mrp_attribute_event_get(NX_MRP_ATTRIBUTE *attribute, UCHAR *event_ptr);
|
| D | nx_srp.h | 32 typedef UINT (*NX_SRP_EVENT_CALLBACK)(NX_MRP_PARTICIPANT *participant, NX_MRP_ATTRIBUTE *attribute,…
|
| /NetX-Duo-v6.2.1/ |
| D | .gitattributes | 4 # Custom attribute to mark sources as using our C code style. 7 # Custom attribute to mark sources as generated.
|