Lines Matching refs:e

37 static int start_lldp_rx(sd_lldp_rx **lldp_rx, sd_event *e, sd_lldp_rx_callback_t cb, void *cb_data…  in start_lldp_rx()  argument
52 r = sd_lldp_rx_attach_event(*lldp_rx, e, 0); in start_lldp_rx()
80 static void test_receive_basic_packet(sd_event *e) { in test_receive_basic_packet() argument
108 assert_se(start_lldp_rx(&lldp_rx, e, lldp_rx_handler, NULL) == 0); in test_receive_basic_packet()
111 sd_event_run(e, 0); in test_receive_basic_packet()
143 static void test_receive_incomplete_packet(sd_event *e) { in test_receive_incomplete_packet() argument
160 assert_se(start_lldp_rx(&lldp_rx, e, lldp_rx_handler, NULL) == 0); in test_receive_incomplete_packet()
163 sd_event_run(e, 0); in test_receive_incomplete_packet()
170 static void test_receive_oui_packet(sd_event *e) { in test_receive_oui_packet() argument
201 assert_se(start_lldp_rx(&lldp_rx, e, lldp_rx_handler, NULL) == 0); in test_receive_oui_packet()
204 sd_event_run(e, 0); in test_receive_oui_packet()
236 static void test_multiple_neighbors_sorted(sd_event *e) { in test_multiple_neighbors_sorted() argument
323 assert_se(start_lldp_rx(&lldp_rx, e, lldp_rx_handler, NULL) == 0); in test_multiple_neighbors_sorted()
326 sd_event_run(e, 0); in test_multiple_neighbors_sorted()
328 sd_event_run(e, 0); in test_multiple_neighbors_sorted()
330 sd_event_run(e, 0); in test_multiple_neighbors_sorted()
332 sd_event_run(e, 0); in test_multiple_neighbors_sorted()
334 sd_event_run(e, 0); in test_multiple_neighbors_sorted()
336 sd_event_run(e, 0); in test_multiple_neighbors_sorted()
366 _cleanup_(sd_event_unrefp) sd_event *e = NULL; in main()
371 assert_se(sd_event_new(&e) == 0); in main()
372 test_receive_basic_packet(e); in main()
373 test_receive_incomplete_packet(e); in main()
374 test_receive_oui_packet(e); in main()
375 test_multiple_neighbors_sorted(e); in main()