Home | History | Annotate | Download | only in can

Lines Matching defs:s2

411 	int s2, rv2;
432 s2 = can_socket_with_own();
434 can_bind(s2, ifname);
441 if (rump_sys_write(s2, &cf_send, sizeof(cf_send)) < 0) {
445 if (can_read(s2, &cf_receive2, &rv2) < 0) {
473 int s2, rv2;
497 s2 = can_socket_with_own();
499 ifindex = can_bind(s2, ifname);
501 if (rump_sys_write(s2, &cf_send, sizeof(cf_send)) < 0) {
505 if (can_read(s2, &cf_receive2, &rv2) < 0) {
538 int s2, rv2;
562 s2 = can_socket_with_own();
564 ifindex2 = can_bind(s2, ifname2);
566 if (rump_sys_write(s2, &cf_send, sizeof(cf_send)) < 0) {
570 if (can_read(s2, &cf_receive2, &rv2) < 0) {
605 int s2, rv2;
645 s2 = can_socket_with_own();
657 FD_SET(s2, &rfds);
661 rv1 = rump_sys_select(MAX(s1,s2) + 1, &rfds, NULL, NULL, &tmout);
672 ATF_CHECK_MSG(FD_ISSET(s1, &rfds) || FD_ISSET(s2, &rfds),
673 "select returns but s1 nor s2 is in set");
696 if (FD_ISSET(s2, &rfds)) {
697 if (( rv2 = rump_sys_recvfrom(s2, &cf_receive2,
716 atf_tc_fail_nonfatal("we got message on s2");